- This topic has 15 replies, 4 voices, and was last updated 20 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
BanelcoMemberHi, I’m runing elcipse 3.0.0 Build id: 200406251208 with MyEclipse 3.8.2 Build id: 200409171200-3.8.2.
When I’m trying to open a js file I get this error: Unable to create part:, without exception.
Any idea about my error.
Regards.
Alejandro
GregMemberCan you post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread ? Thanks. Also, if you have a non-windows OS, what version of Mozilla do you have installed?
Riyad KallaMemberWhen I’m trying to open a js file I get this error: Unable to create part:, without exception.
The most important thing here is to open up your log file (workspace dir)\.metadata\.log and see if there are any exception messages after the “Cannot create part”.
BanelcoMemberThis is the exception:
!ENTRY org.eclipse.core.runtime 4 2 oct 26, 2004 10:44:49.431
!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:2374)
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:615)
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.PartStack.showPart(PartStack.java:1020)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:290)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:110)
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:697)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:686)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:782)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:585)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:573)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2201)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2134)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2126)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2113)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2108)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:137)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:110)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:164)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:150)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:289)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:490)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:429)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
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:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
BanelcoMemberOther info:
SO: W2K Build 2195 SP4
JDK: 1.4.2_04
BanelcoMemberI’ve to aditional plugins:
OxigenXML 5.0
JarClassFinder (com.ibm.wpst.hursley.jarclassfinder_2.0.1)Regards
Riyad KallaMemberAlejandro,
I checked with the devs on this and this was a bug in 3.8.0 that was fixed in 3.8.1… how did you install your 3.8.2 install? Was it an updrade ontop of an upgrade, or a fresh install?
BanelcoMemberI was a clean install, I’ve installed all again now with Eclipse 3.0.1 and I get the same error.
I think that is one of the plugins, but I don’t know who.
Riyad KallaMemberCan you do me a favor and remove oxygen and see if it works all the sudden? I wonder if this bug has snuck back in or it is a new version of it….
BanelcoMemberYes it works.
BanelcoMemberSo what can I do?
Riyad KallaMemberDon’t ever, ever use Oxygen again… no I’m kidding, let me kick this back to he devs and see if we can whip up a quickfix or something for this.
BanelcoMemberThanks
Riyad KallaMember
Bill WinspurMemberI also have this problem with the *.js editor. I upgraded to 3.8.1 on 03 Sep.
Bill
-
AuthorPosts