Vincent Massol wrote:

On Nov 22, 2007, at 3:51 PM, goldring, richard wrote:

Thanks. I'll try the newer version of Eclipse.

you can also use the RCP application of course.

-Vincent

I was writing a message when this thread sprouts. I do hope this won't be considered thread hijacking!

Following the message received in users and devs lists at xwiki.org last November the 19th I've downloaded and installed XEclipse 1.0. This utility looks simply great! Thanks to the develpers.

The ability to work off-line (grab sites into local machine) and to receive warning about possible conflicts when syncing with server are key features for a wide adoption of XWiki for some research groups I'm working with.

At the moment, we are mainly using MacBook computers running Mac OS X 10.5.1 with Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237) and Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)


I am able to launch XEclipse as a standalone RCP application and connect to the server. The first time I connect, I get a number of folders with no name except for the Panels space. If I close XEclipse and relaunch it, only the Panels folder is shown. Any attempt to edit a document through the following error:

java.lang.ClassCastException: java.lang.String
   at org.codehaus.swizzle.confluence.MapObject.getInt(MapObject.java:53)
   at org.codehaus.swizzle.confluence.Page.getVersion(Page.java:71)
   at org.xwiki.eclipse.model.impl.XWikiPage.getVersion(XWikiPage.java:120)
at org.xwiki.eclipse.editors.XWikiPageEditor.updateEditor(XWikiPageEditor.java:113) at org.xwiki.eclipse.editors.XWikiPageEditor.createPartControl(XWikiPageEditor.java:103) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
   at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
   at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
   at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
   at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
   at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2737) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651) at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2557) at org.xwiki.eclipse.views.XWikiExplorerView$1.doubleClick(XWikiExplorerView.java:195) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
   at org.eclipse.core.runtime.Platform.run(Platform.java:857)
   at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797) at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1387) at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1173) at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237)
   at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
   at org.eclipse.swt.widgets.Control.sendTrackEvents(Control.java:2734)
   at org.eclipse.swt.widgets.Control.kEventControlTrack(Control.java:1953)
   at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:367)
   at org.eclipse.swt.widgets.Display.controlProc(Display.java:835)
at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Native Method)
   at org.eclipse.swt.widgets.Tree.kEventMouseDown(Tree.java:2363)
   at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1262)
   at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2819)
at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2938)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.xwiki.eclipse.rcp.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Here a screen with the error...

http://mire.environmentalchange.net/~webmaster/images/XEclipseEditorError.png

Something similar when talking about the list of spaces happens when I use the Eclipse plug-in in Eclipse Europa Version: 3.3.1.1 - Build id: M20071023-1652.

I've also tried XEclipse in a Parallels Windows XP box with the same results.

Please, does this make sense for you? Is it any known problem? Is there any workaround?

Thanks!!!

--
Ricardo Rodríguez
Your XEN ICT Team

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to