- This topic has 8 replies, 3 voices, and was last updated 17 years, 12 months ago by
Loyal Water.
-
AuthorPosts
-
valkeusMemberHello!
I get error showing below when trying to open .jspf-file. I just updated to version 5.5.1, which didn’t go very smoothly, but got it finally working by using IDE+plugin bundle installer. This error has happened occasionally with previous version too, but back then it helped just to try opening again or at least after restarting IDE. Now it seems that I really can’t get it open at all. I’ll paste the installation details after the exception stack trace.
Thanks in advance,
//S of Valkeus———————————-
eclipse.buildId=M20070212-1330
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_FI
Command-line arguments: -os win32 -ws win32 -arch x86Error
Thu Jun 07 12:05:22 EEST 2007
Unable to create editor ID com.genuitec.eclipse.webdesigner3.editors.jsp: DOMCoordinator#createDesignNodeFromSource: Node type DOCUMENT_TYPE_NODEnot supported.java.lang.RuntimeException: DOMCoordinator#createDesignNodeFromSource: Node type DOCUMENT_TYPE_NODEnot supported.
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.createDesignNodeFromSource(DOMCoordinator.java:548)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.buildDesignDOMChildren(DOMCoordinator.java:422)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.synchronizeDOMsFromUnrootedSource(DOMCoordinator.java:387)
at com.genuitec.eclipse.webdesigner3.DOMCoordinator.synchronizeDOMsFromSource(DOMCoordinator.java:192)
at com.genuitec.eclipse.webdesigner3.design.DesignEditSystem.synchronize(DesignEditSystem.java:166)
at com.genuitec.eclipse.webdesigner3.AbstractEditSystem.setSynchronized(AbstractEditSystem.java:24)
at com.genuitec.eclipse.webdesigner3.WebDesigner3.setSynchronized(WebDesigner3.java:115)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.checkSynchronization(WebDesignerMultiPageEditor.java:917)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.access$6(WebDesignerMultiPageEditor.java:913)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor$12.run(WebDesignerMultiPageEditor.java:890)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.designPageChange(WebDesignerMultiPageEditor.java:888)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.pageChange(WebDesignerMultiPageEditor.java:862)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:690)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:280)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
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.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1474)
at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1008)
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.EditorManager.restoreState(EditorManager.java:1003)
at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2843)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1936)
at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2873)
at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2821)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1697)
at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1437)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1695)
at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1666)
at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1545)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1489)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1101)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)———————————————————–
*** Date:
Thursday, June 7, 2007 12:14:24 PM EEST** System properties:
OS=Windows2000
OS version=5.0
Java version=1.6.0_01*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.1 GA
Build id: 20070521-5.5.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.2
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20070212-1330Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20070212-1330Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20070208-1315Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
D:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
970_54
-vm
C:\WINNT\system32\javaw.exe
Loyal WaterMemberHave you tried starting MyEclipse using the -clean command ?
https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/
valkeusMemberYeah, had to do that after upgrade installation. Should I add -clean flag to my shortcuts?
Well, I tried that again anyhow. It still doesn’t open the file, but error is different, “Unable to create this part due to an internal error. Reason for the failure: Attempt to use unitialized XPCOM object (0x80004003)”, error log entry pasted below.
Regs,
//S of Valkeus—————————————————
eclipse.buildId=M20070212-1330
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fi_FI
Command-line arguments: -os win32 -ws win32 -arch x86 -cleanError
Thu Jun 07 16:29:23 EEST 2007
Unable to create editor ID com.genuitec.eclipse.webdesigner3.editors.jsp: Attempt to use unitialized XPCOM object (0x80004003)org.mozilla.xpcom.XPCOMException: Attempt to use unitialized XPCOM object (0x80004003)
at org.mozilla.xpcom.Mozilla.getComponentManager(Mozilla.java:737)
at com.genuitec.eclipse.webdesigner3.util.XPCOMUtil.getSupportedFonts(XPCOMUtil.java:266)
at com.genuitec.eclipse.webdesigner3.toolbar.FontFaceComboContributionItem.getInitStrings(FontFaceComboContributionItem.java:33)
at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.createControl(Webdesigner3ComboContributionItem.java:89)
at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.fill(Webdesigner3ComboContributionItem.java:167)
at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:317)
at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:101)
at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:194)
at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:919)
at com.genuitec.eclipse.webdesigner3.toolbar.EmbeddedToolfolderManager.createToolbars(EmbeddedToolfolderManager.java:416)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createVisualEditor(WebDesignerMultiPageEditor.java:683)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:556)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:329)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
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:2595)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:653)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
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.fireOpen(StructuredViewer.java:815)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Riyad KallaMember//S of Valkeus,
There a few ideas I have, so let’s try the easiest things first. I’m going to list a bunch of things to try, please let me know the status of each one after you tried it:1) If you create a brand new .jspf file using File > New > File, and creating a simple empty file, does that work? (Trying to figure out if there is something weird about your JSPF content)
2) If you create a new workspace (File > Switch Workspace > C:\tempworkspace, hit OK to restart) and create a new project in that workspace, then a new simple JSPF file again… does that work?
3) We don’t test with Java 6 yet, if you install JDK 1.5.0_11 or later, and specify it to run MyEclipse with (using the -vm argument on your command line) does the designer now work? You can confirm the VM running MyEclipse by checking MyEclipse > Installation Summary > Installation Details.
valkeusMemberGood morning!
I have now tried your suggestions, here are the resuls:
1) Negative. I created some.jspf using the simple New > File and that doesn’t open. Actually it doesn’t open .jsp-files either.
2) Negative. I did switch workspace and then created new project using Web Project -template. Template created index.jsp under the WebRoot folder, but it couldn’t open neither that index.jsp nor some.jspf I created to that project myself using the simple New > File -option nor did it open the MyJsp.jsp file I created using New > JSP (Advanced templates) > Default JSP template.
3) Negative. Runs with 1.5.0_11 but doesn’t open that file I created in option 1 nor another file I create in the same manner.
Most of time now the noticed error messages has been about that “unitialized XPCOM object (0x80004003)” rather than the first “DOCUMENT_TYPE_NODE not supported”. Hope that helps!
//S of Valkeus
Riyad KallaMemberOk thanks for trying those, we are now looking an installation problem of some kind, because opening simple empty files should work.
The next step is to (please follow *exactly*):
1) Download MyEclipse 5.5.1 All-in-One installer from our Downloads section (~190mb).
2) Run it, and install to a brand new location on your computer, not an existing directory.
3) After the install runs, open your existing workspace, and try and work with a JSPF or JSP file… what happens?Also please post the Installation Details for me with the new install.
valkeusMemberHi!
Ok, I installed again to a new folder using that full stack installer. I found it strange that it didn’t ask where Eclipse resides as your installers have asked before, but it didn’t say that it would install over it either. What does that installer actually do?
Installation details are pasted below. Now most of the .jsp- and .jspf-files seem to open correctly, but I regret that .jspf-file still does not open. Error is the same one I originally posted, “java.lang.RuntimeException: DOMCoordinator#createDesignNodeFromSource: Node type DOCUMENT_TYPE_NODEnot supported.”
//S of Valkeus
———————————————————————-
*** Date:
8. kesäkuuta 2007 16:57:33 EEST** System properties:
OS=Windows2000
OS version=5.0
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.1 GA
Build id: 20070521-5.5.1-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse startup command=-data
D:\Tomcat 5.5\webapps
-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\MyEclipse 5.5.1 GA other\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
93c_54
-vm
C:\Program Files\MyEclipse 5.5.1 GA other\jre\bin\javaw.exe
valkeusMemberHello again,
I happened to get an idea to choose the file open with not some default editor, but used right click > Open With > “MyEclipse JSP Editor”. The default editor was “MyEclipse Visual JSP Designer”. Now that worked, it did open the file. So the error must have something to do with that Designer.
//S od Valkeus
Loyal WaterMemberCan you mail me the .jspf file that was giving you the error so than I can ty this out at my end.
Thanks.
-
AuthorPosts