- This topic has 8 replies, 3 voices, and was last updated 18 years, 6 months ago by kuldipshah.
-
AuthorPosts
-
jzanoniMemberCan somebody tell me how to view a .js file using myeclipse, I keep getting the error “An error has occurred when creating the editor” even after installing eclipse 3.0.1 and the latest update 3.8.2 of myeclipse (this morning 27-9-2004). In the error-log I keep getting the following error lines. How can I fix this so I also can use the nice js feature described!!
!ENTRY org.eclipse.core.runtime 4 2 sep 27, 2004 10:20:34.338
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.UnsupportedOperationException
at org.eclipse.ui.texteditor.ChainedPreferenceStore.setDefault(ChainedPreferenceStore.java:348)
at org.eclipse.ui.texteditor.MarkerAnnotationPreferences.initializeDefaultValues(MarkerAnnotationPreferences.java:74)
at com.ibm.sse.editor.javascript.JSEditor.configureSourceViewerDecorationSupport(Unknown Source)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.getSourceViewerDecorationSupport(AbstractDecoratedTextEditor.java:910)
at com.ibm.sse.editor.javascript.JSEditor.createSourceViewer(Unknown Source)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2375)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:275)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:120)
at com.ibm.sse.editor.javascript.JSMultiPageEditorPart.addSourcePage(Unknown Source)
at com.ibm.sse.editor.javascript.JSMultiPageEditorPart.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:187)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:939)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at org.eclipse.ui.internal.EditorStack.setSelection(EditorStack.java:196)
at org.eclipse.ui.internal.EditorStack.setVisibleEditor(EditorStack.java:200)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:338)
at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:268)
at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:694)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:683)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:779)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:582)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:570)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2244)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2177)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2169)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2156)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2151)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2134)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:258)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:251)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:166)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Scott AndersonParticipantFirst, have you restarted Eclipse specfying the -clean option?
Second, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
jzanoniMemberHi Scott,
See below for the requested extra information. Furthermore I only just started to use eclipse as my default development environment, so until know I didn’t have the time to install al kinds of goody plugings and or other things which may ‘hurt’ the myeclipse environment. The only extra plugin I installed (until know and after I install myeclipse) is the oxygenxml editor (set) of SyncRO soft (try it, it is super!)
Any way, I hope we can find a solution for my javascript editor problemen, because for me it is one of the main reason for choosing myeclipse (even do it doesn’t seem to work yet, the description got me convinced, it is just the thing I need).
greetings
John Zanoni
Extra requested info:
What operating system and version are you running?
Microsoft Windows XP professional version 2002 Service Pack 2What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.0.1 Build id: 200409161125– Was Eclipse freshly installed for MyEclipse?
Version 3.0.0 was but since I got the same error with version 3.8.1 of myeclipse I upgraded to 3.0.1 when it can out. This how ever did not solve the problem.– If not, was it upgraded to its current version using the update manager?
no– Are any other external plugins installed?
Yes oxygenxml, but I installed this after myeclipse was installed and I already had the problem with the javascript files.– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
I found 8 plugins starting with org.eclipse.pde in the plugin folderWhat MyEclipse version are you using? (Help > About Eclipse Platform > Features)
Version: 3.8.2 Build id: 200409171200-3.8.2What JDK version are you using to run Eclipse? (java -version)
Java 1.5.0-RCWhat JDK version are you using to launch your application server?
The sameWhat steps did you take that resulted in the issue?
I try to edit a javascript fileWhat application server are you using?
tomcatAre there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
java.version=1.5.0-rc
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL!ENTRY org.eclipse.core.runtime 4 2 sep 27, 2004 20:41:12.875
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.UnsupportedOperationException
at org.eclipse.ui.texteditor.ChainedPreferenceStore.setDefault(ChainedPreferenceStore.java:348)
at org.eclipse.ui.texteditor.MarkerAnnotationPreferences.initializeDefaultValues(MarkerAnnotationPreferences.java:74)
at com.ibm.sse.editor.javascript.JSEditor.configureSourceViewerDecorationSupport(Unknown Source)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.getSourceViewerDecorationSupport(AbstractDecoratedTextEditor.java:910)
at com.ibm.sse.editor.javascript.JSEditor.createSourceViewer(Unknown Source)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2375)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:275)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:120)
at com.ibm.sse.editor.javascript.JSMultiPageEditorPart.addSourcePage(Unknown Source)
at com.ibm.sse.editor.javascript.JSMultiPageEditorPart.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:187)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:939)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at org.eclipse.ui.internal.EditorStack.setSelection(EditorStack.java:196)
at org.eclipse.ui.internal.EditorStack.setVisibleEditor(EditorStack.java:200)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:338)
at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:268)
at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:694)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:683)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:779)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:582)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:570)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2244)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2177)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2169)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2156)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2151)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2134)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:258)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:251)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:166)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Scott AndersonParticipantJohn,
Can you send us your javascript file (or any examples you have that cause the issue) for testing? I need to see if this is a bug, by testing on one of our installations, or simply an install / config issue. You can attach and send an example “problem child” to support@myeclipeide.com. If/when you do, please be sure to include the URL for this thread so we’ll know what it’s for. š
Scott AndersonParticipantJohn,
I did some research in the code and it looks like this could be triggered due to changes you made in your preference settings for quickdiff or annotation handling. Unfortunately, I can’t replicate the behavior on my install because I can’t run down exactly the preference causing the issue. Do you recall what settings you’ve changed from the defaults? Could you try creating a new workspace and opening an JS file in it? I think that will take care of the issue. Another workaround would be to delete the editor preference settings in the <workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings directory. Anything with *editor* in it would be suspect.
jzanoniMemberHoi Scott,
Thank you for the fast response. I tryed the ”new workspace” solution, sadly whitout a successful result (still have to try the, āremove all settingsā option, do I like my settings as the are know and basically I can not see why this should cause the problem, still I will try it any way). For now, the (error)log after creating a new workspace, importing a simple javascript file (nothing fancy, some simple functions with some comment). Again I got the same error “An error has occurred when creating this editor”, I think the myeclipse javascript editor doesn’t like me :-(, the other editors of myeclipse seems to be working fine do.
greetings,
John
!ENTRY com.genuitec.eclipse.wizards 1 1 sep 27, 2004 22:14:57.156
!MESSAGE Installed snippet library: C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets\javascript_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 1 sep 27, 2004 22:14:57.343
!MESSAGE Installed snippet library: C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets\jsf_f_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 1 sep 27, 2004 22:14:57.453
!MESSAGE Installed snippet library: C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets\jsf_h_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 1 sep 27, 2004 22:14:57.531
!MESSAGE Installed snippet library: C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets\struts_bean_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 1 sep 27, 2004 22:14:57.625
!MESSAGE Installed snippet library: C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets\struts_html_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 1 sep 27, 2004 22:14:57.687
!MESSAGE Installed snippet library: C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets\struts_logic_snippets.xml!ENTRY com.genuitec.eclipse.wizards 1 1 sep 27, 2004 22:14:57.750
!MESSAGE Installed snippet library: C:\Program Files\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets\struts_tiles_snippets.xml!ENTRY org.eclipse.core.runtime 4 2 sep 27, 2004 22:17:36.875
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.UnsupportedOperationException
at org.eclipse.ui.texteditor.ChainedPreferenceStore.setDefault(ChainedPreferenceStore.java:348)
at org.eclipse.ui.texteditor.MarkerAnnotationPreferences.initializeDefaultValues(MarkerAnnotationPreferences.java:74)
at com.ibm.sse.editor.javascript.JSEditor.configureSourceViewerDecorationSupport(Unknown Source)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.getSourceViewerDecorationSupport(AbstractDecoratedTextEditor.java:910)
at com.ibm.sse.editor.javascript.JSEditor.createSourceViewer(Unknown Source)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2375)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:275)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:120)
at com.ibm.sse.editor.javascript.JSMultiPageEditorPart.addSourcePage(Unknown Source)
at com.ibm.sse.editor.javascript.JSMultiPageEditorPart.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:187)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:939)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at org.eclipse.ui.internal.EditorStack.setSelection(EditorStack.java:196)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1020)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:290)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:121)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:59)
at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:266)
at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:694)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:683)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:779)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:582)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:570)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2244)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2177)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2169)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2156)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2151)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:96)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:94)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:111)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:293)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:624)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:388)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:429)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:427)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:635)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:731)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:211)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:206)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:238)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Scott AndersonParticipantJohn,
There’s always the “big hammer” of a new, parallel, Eclipse / MyEclipse installation. That will resolve the problem, but I’d sure like to find out the root cause in your configuration. However, it’s more important to me to get this working for you since we can easily work around the issue in the code in the next release.
jzanoniMemberHoi Scott,
I tried the other possible fix, removing the *editor* files from <workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings. I stopped eclipse, removed the files and started eclipse with the -clean option (to be sure). Then I created a new file and typed the following:
function test(){
return true;
}function test2(){
}
Saved the file, closed the file, opened the file again (using: <context menu>Open With->My eclipse Javascript editor) and there it was again, the dialog with the message “unable to create part” followed by the text “An error has occurred when creating this editor”.
I am running out of options I think.
greetings,
john
kuldipshahMemberIs this bug or configuration issue?
-
AuthorPosts