[opencms-dev] Anybody got the Eclipse Plugin "OpenCmsVFS" working?

Dusty_it i.dastolfo at smart.it
Tue Oct 3 14:55:04 CEST 2006


I tried today your Eclipse plugin.
I found that not only the save function is disabled unless you use the text
editor, but on certain files the editor doesn't open at all (trying to open
2 different jsp files with jsp editor gives works for one and not for the
other).

When the editor fails to open eclipse gives this error stack:
java.lang.IllegalArgumentException: no corresponding model info found
	at
org.eclipse.wst.sse.ui.internal.StorageModelProvider.createDocument(StorageModelProvider.java:334)
	at
org.eclipse.ui.editors.text.StorageDocumentProvider.createElementInfo(StorageDocumentProvider.java:260)
	at
org.eclipse.wst.sse.ui.internal.StorageModelProvider.createElementInfo(StorageModelProvider.java:438)
	at
org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:398)
	at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:3063)
	at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
	at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1512)
	at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:178)
	at
org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput(StructuredTextEditor.java:2131)
	at
org.eclipse.ui.texteditor.AbstractTextEditor$17.run(AbstractTextEditor.java:2396)
	at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
	at
org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:763)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:760)
	at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2283)
	at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2414)
	at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2441)
	at
org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredTextEditor.java:2583)
	at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
	at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
	at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
	at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
	at
org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
	at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2588)
	at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
	at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
	at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2470)
	at
org.laughingpanda.opencmsvfs.actions.OpenAction.openEditor(OpenAction.java:96)
	at org.laughingpanda.opencmsvfs.actions.OpenAction.run(OpenAction.java:47)
	at
org.laughingpanda.opencmsvfs.views.OpenCmsVFSView$3.doubleClick(OpenCmsVFSView.java:170)
	at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:796)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:843)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
	at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:794)
	at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1216)
	at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1158)
	at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:223)
	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:220)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:281)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	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.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)


I hope that this issues will be solved soon, otherwise this plugin is
useless (using the text editor instead of the jsp editor it's a pain...
syntax highlighting, code completion...)


Sami Honkonen wrote:
> 
> On Thu, 2006-09-21 at 09:49 +0200, Ralf Eisbrenner wrote:
>> After searching the archives, I wonder whether there is anybody who got
>>  Sami Honkonens plugin working with any editor besides the "text
>>  editor". I got it working with the text editor and with all editors
>>  that don't allow syntax highlighting (like the sql editor), but the
>>  rest of the editors just won't save a changed file.
> 
> I found the reason why the saving doesn't work in editors other than
> Text Editor. It's a bug in Eclipse. You can see the details here:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=119211
> 
> Hopefully someone will be able to provide a workaround for the time
> being since as you can see the bug was submitted to Bugzilla in the end
> of 2005 and still no fix. I guess it isn't very high on their priority
> list. Feel free to create a Bugzilla account and vote for the issue to
> get it a bit higher.
> 
> People having problems with the Preferences dialog should checkout the
> latest version from SVN since this bug should now be fixed. I'm hoping
> to fix the issues with saving and add the new file creation feature
> before making a new release.
> 
> Though I suppose I could create a script that creates a snapshot of the
> plugin once a day. Would this be helpful or is it just as easy for you
> to checkout the latest version from SVN?
> 
> -- 
> Sami Honkonen
> Reaktor Innovations Oy
> sami.honkonen at ri.fi
> +358 40 535 3463
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 
> 

-- 
View this message in context: http://www.nabble.com/Anybody-got-the-Eclipse-Plugin-%22OpenCmsVFS%22-working--tf2310303.html#a6619511
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list