- This topic has 11 replies, 6 voices, and was last updated 19 years, 8 months ago by Riyad Kalla.
-
AuthorPosts
-
John O’GradyMemberThe setup:
Eclipse was installed fresh for MyEclipse.Eclipse Version:
Version: 3.1.0
Build id: 200412162000 (M4)MyEclipse Version: 3.8.3
Platform: Windows XP SP1
JDK: 1.5.0_01
I am noticing some quirks in MyEclipse features, the main of which is when I double-click on an html page in my project, I get an error window that says “Unable to create part:” – and that’s it. A pane opens for the html file, but all that’s on the pane is the message “An error has occurred when creating this editor” in red letters at the top of a greyed background.
Another bug I’ve noticed is that when viewing JSP pages, none of the MySQL functionality seems to be working – no code colouring, no code hints, no formatting…
I know I’m working with what probably amounts to an unsupported Eclipse build, but I’d either like confirmation of that or an explanation of why some of the MyEclipse features seem to be broken or off.
Other than that, I love all the stuff MyEclipse can do, and if it weren’t for that, I wouldn’t have switched from JBuilder (even with the price difference). We’re even thinking of standardizing on MyEclipse here at Comcast.net – but don’t quote me on that. 🙂
Thanks for any help you can give me with this…
Riyad KallaMemberEclipse Version:
Version: 3.1.0
Build id: 200412162000 (M4)Eclipse 3.1 is not supported at this time, the download for MyEclipse is for the “Eclipse 3.0.x Platform”. We are working on a 3.1 compatible version but there is no ETA for it yet. Sorry for the inconvenience.
John O’GradyMemberThanks for the reply. I guess I’ll see if I can find where the error is coming myself and wait for the next release…
Riyad KallaMemberI guess I’ll see if I can find where the error is coming myself and wait for the next release…
It shouldn’t be too much longer, we have been banging on the beta of it, but since it is our first 3.1 release and is on a beta platform there will likely still be issues once it is released so any feedback you can provide will be very helpful.
jerryzhangMemberI have the same problem opening files build.xml or README (no extension) in my project.
What does it mean “Unable to create part:”?
Riyad KallaMemberjerry,
It is a cryptic message itself, but the log file (workspace dir\.metadata\.log) usually has much more detail telling why the exception occured. It is almost always due to a bad install or trying to us an incompatible version of a plugin… it basically means the part (or “editor”) could not be created because of some exception.What I suggest is to shut down Eclipse, go erase the log file, start up Eclipse, make the error happen, go open the log file and paste the contents here, and we’ll see if we can help you.
baronMemberI have been experiencing the same problem across a number of clean eclipse 3.1M5a installations using MyEclipse 3.8.4. Here is the stack trace from my log file.
!SESSION 2005-02-26 11:11:10.796 ———————————————–
eclipse.buildId=I20050219-1500
java.version=1.5.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\users\baron\eclipse-workspaces\lapcat-dev -clean!ENTRY org.eclipse.ui.workbench 4 2 2005-02-26 11:11:10.812
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
!STACK 0
An error has occurred when initializing the input for the the editor’s source page.
at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:227)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:148)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.ui.internal.PartPane.doCreateChildControl(PartPane.java:144)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:349)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:218)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1043)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1009)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1200)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:384)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:281)
at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:794)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:780)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:903)
at org.eclipse.ui.internal.EditorManager.access$12(EditorManager.java:885)
at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:1109)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:1079)
at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:1071)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:1069)
at org.eclipse.ui.internal.EditorManager.restoreEditorState(EditorManager.java:1711)
at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1023)
at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2542)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1711)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1453)
at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:1409)
at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1312)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1246)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:171)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:711)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:918)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1554)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
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:268)
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)
Riyad KallaMemberf clean eclipse 3.1M5a
We don’t support this version of Eclipse, just 3.1M4 for the time being. Our next release should support 3.1M5+ in April.
mah01MemberHi,
I run:
Eclipse Platform
Version: 3.0.1
Build id: 200409161125I get the error message “Unable to create part:” when trying to open a JSP file that has previously been opened without problem. No other JSP files in the project causes this problem.
Below is the message in workspace dir\.metadata\.log.
!ENTRY org.eclipse.core.runtime 4 2 mar 16, 2005 10:52:32.72
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
An error has occurred when initializing the input for the the editor’s source page.
at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.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.EditorManager$9.run(EditorManager.java:958)
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.EditorManager.busyRestoreEditor(EditorManager.java:922)
at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:915)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:911)
at org.eclipse.ui.internal.EditorManager.restoreEditorState(EditorManager.java:1487)
at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:874)
at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2470)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1372)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1224)
at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1185)
at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1096)
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.Workbench.restoreState(Workbench.java:1029)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:167)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:652)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
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)
Riyad KallaMemberWhat version of MyEclipse? What was the name of the file you downloaded and installed?
oziresMemberI’ve solved the problem copying the swt dlls to eclipse folder.
Riyad KallaMemberozires, please post details for everyone to try and replicate your workaround… also we would be interested to know how you worked around this as well.
-
AuthorPosts