facebook

MyEclipse HTML Editor no longer works after upgrade to 3.8.5

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #238799 Reply

    Rob Tanner
    Member

    Hi,

    Using the Eclipse software update feature, I upgraded to MyEclipse 3.8.5 in order to renew the license. Now, when I try to edit an html file using the MyEclipse HTML editor, first a alert box come up with the following text “Unable to create part:” — the text includes the trailing colon and nothing else.

    After clicking the OK button, I get the text “An error has occurred when creating this editor” where the html document should be.

    Any idea what do I need to do to fix this?

    Thanks,

    Rob Tanner
    Linfield College

    #238800 Reply

    Scott Anderson
    Participant

    Rob,

    The issue is likely that the Eclipse plugin cache got stale as it sometimes
    does not cleanly rebuild after updates. To rectify the problem you’ll need
    to restart Eclipse with the -clean flag one time: eclipse.exe -clean

    That should resolve the problem.

    #238801 Reply

    Rob Tanner
    Member

    Scott,

    Nope, it made no difference at all. And in case there was position sensitivity on the command line, I tried it twice, the first time positioning the -clean flag after the -data parameter and the second time before it. Also, you example is a PC executable (eclipse.exe). I’m on RedHat Linux. Does that make any difference?

    Thanks,

    Rob Tanner
    Linfield College

    #238863 Reply

    Riyad Kalla
    Member

    Rob,
    The command lien argument of -clean is still the same on other platforms.

    Also try a new workspace for sanity sake: File > Swithc Workspace > ~/tempworkspace, hit OK. Now try and create a new web project and edit an HTMl file, did it work? If it did there is likely a problem with the workspace, and you can use File > Import to pull your projects into this new workspace. We’ve seen workspace corruption in the past and it’s just a bear to try and fix, so we suggest just creating a new one and reimporting your settings is the easiest way to go.

    #238889 Reply

    Rob Tanner
    Member

    Scott,

    I seem to be batting zero. I created a new workspace and pointed eclise to the new workspace using the -data option. I then created a new J2EE web project (at which point I had to re-enter the MyEclipse license key). Within the project, I created a new html file, and I got the same error as before. 🙁

    One other thing I noticed. Like I said in the original post, I used the Eclipse update feature in Eclipse to upgrade MyEclipse from 3.8.4 to 3.8.5. But when I look in the About dialogue box, MyEcplise Help Documentat in and MyEclipse Web Development Tooling are still at v3.8.4. Only the Core Tooling, Application Tooling and Workbench features are v3.8.5. Is that what I should see?

    What’s my next step.

    Thanks,

    Rob Tanner
    Linfield College

    #238896 Reply

    Riyad Kalla
    Member

    Ugg I just noticed that we never got the stack trace from you fro that existing exception (can’t create editor). Open up your <Workspace dir>\.metadata\.log file and look for an exception near the bottom that starts the same way, and then copy paste it here.

    MyEcplise Help Documentat in and MyEclipse Web Development Tooling are still at v3.8.4. Only the Core Tooling, Application Tooling and Workbench features are v3.8.5. Is that what I should see?

    Yes that’s ok, it was only a minor licensing change in 3.8.5

    I seem to be batting zero. I created a new workspace and pointed eclise to the new workspace using the -data option. I then created a new J2EE web project (at which point I had to re-enter the MyEclipse license key). Within the project, I created a new html file, and I got the same error as before. 🙁

    The bad news is that if a new workspace didn’t fix it, then it’s an install issue. But let’s not rip any hair out just yet. I’d like you to download Eclipse SDK 3.1.1 from the Eclipse.org site, and unzip it to a new location. Then I’d like you to run it, creating a new workspace. Then I’d like you to download the MyEclipse 4.0.1 isntaller and install it against that version of Eclipse, and then run MyEclipse and create a new web project and try and edit the HTML file. Did that work?

    #238967 Reply

    Rob Tanner
    Member

    Scott,

    Oh good. Now it’s even worse. I don’t get any error displayed when trying to open up an html file, it just opens to an empty tab (i.e., just gray under the tab) and also gives me some problems opening java files. After I’ve created the file and saved it, I can’t open it in the java editor until I’ve first opened it in a text editor. Then I can get it opened in the java editor (very wierd). There is, however, a 1700 line .log file that might provide clues I don’t see a mechanism to upload the file. Do you have an email address I can send it to?

    Thanks.

    Rob Tanner
    Linfield College

    #238969 Reply

    Riyad Kalla
    Member

    Rob,
    Please do the following:
    1) Shut down MyEclipse
    2) Erase the .log file
    3) Start up MyEclipse
    4) Tell me the Eclipse Build ID from Help > About, and the MyEclipse Build ID from Window > Preferences > MyEclipse screen.
    5) Now try and open a problem file
    6) Go open the new .log file that was created and copy-paste it’s contents here for me to see.

    #238987 Reply

    Rob Tanner
    Member

    Eclipse Version/Build: Version: 3.1.1 / Build id: M20050929-0840
    MyEclipse Version/Build: Version 4.0.1 GA / Build id: 20050930-4.0.1-GA

    And now for the contents of .log:

    !SESSION 2005-10-07 13:30:41.810 ———————————————–
    eclipse.buildId=M20050929-0840
    java.version=1.5.0_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86 -data /home/rtanner/Java/NewWorkspace

    !ENTRY org.eclipse.ui 4 4 2005-10-07 13:32:09.501
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2005-10-07 13:32:09.504
    !MESSAGE no swt-pi-gtk-3062 in java.library.path
    !STACK 0
    java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
    at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
    at org.eclipse.swt.dnd.Transfer.registerType(Transfer.java:129)
    at org.eclipse.swt.dnd.FileTransfer.<clinit>(FileTransfer.java:38)
    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 com.ibm.sse.editor.extension.TransferBuilder.createExecutableExtension(TransferBuilder.java:334)
    at com.ibm.sse.editor.extension.TransferBuilder.createExtension(TransferBuilder.java:285)
    at com.ibm.sse.editor.extension.TransferBuilder.createTransfer(TransferBuilder.java:206)
    at com.ibm.sse.editor.extension.TransferBuilder.createTransfers(TransferBuilder.java:180)
    at com.ibm.sse.editor.extension.TransferBuilder.getDropTargetTransfers(TransferBuilder.java:72)
    at com.ibm.sse.editor.extension.ExtendedEditorDropTargetAdapter.getTransfers(ExtendedEditorDropTargetAdapter.java:73)
    at com.ibm.sse.editor.StructuredTextEditor.initializeDrop(StructuredTextEditor.java:1880)
    at com.ibm.sse.editor.StructuredTextEditor.initSourceViewer(StructuredTextEditor.java:1926)
    at com.ibm.sse.editor.StructuredTextEditor.createSourceViewer(StructuredTextEditor.java:956)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2513)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:314)
    at com.ibm.sse.editor.StructuredTextEditor.createPartControl(StructuredTextEditor.java:880)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:155)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:132)
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createSourcePage(HTMLMultiPageEditorPart.java:299)
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:231)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:758)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2360)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:279)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:271)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:178)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    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:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    !ENTRY org.eclipse.ui 4 4 2005-10-07 13:32:12.246
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2005-10-07 13:32:12.251
    !MESSAGE java.lang.NoClassDefFoundError
    !STACK 0
    java.lang.NoClassDefFoundError
    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 com.ibm.sse.editor.extension.TransferBuilder.createExecutableExtension(TransferBuilder.java:334)
    at com.ibm.sse.editor.extension.TransferBuilder.createExtension(TransferBuilder.java:285)
    at com.ibm.sse.editor.extension.TransferBuilder.createTransfer(TransferBuilder.java:206)
    at com.ibm.sse.editor.extension.TransferBuilder.createTransfers(TransferBuilder.java:180)
    at com.ibm.sse.editor.extension.TransferBuilder.getDropTargetTransfers(TransferBuilder.java:72)
    at com.ibm.sse.editor.extension.ExtendedEditorDropTargetAdapter.getTransfers(ExtendedEditorDropTargetAdapter.java:73)
    at com.ibm.sse.editor.StructuredTextEditor.initializeDrop(StructuredTextEditor.java:1880)
    at com.ibm.sse.editor.StructuredTextEditor.initSourceViewer(StructuredTextEditor.java:1926)
    at com.ibm.sse.editor.StructuredTextEditor.createSourceViewer(StructuredTextEditor.java:956)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2513)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:314)
    at com.ibm.sse.editor.StructuredTextEditor.createPartControl(StructuredTextEditor.java:880)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:155)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:132)
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createSourcePage(HTMLMultiPageEditorPart.java:299)
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:231)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:239)
    at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:88)
    at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:137)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:133)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    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:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    #239020 Reply

    Scott Anderson
    Participant

    Can you right-click on the html file in the Package Explorer view and select Open With… and tell us what item is selected as the default? Also what other options are there on the list?

    #239026 Reply

    Greg
    Member

    It looks like your jvm can’t locate the swt-pi-gtk-3062.so. This means that your jvm parameter “java.library.path” must be missing this directory. Do you know if you have change the java.library.path setting? Are you specifying any extra -D parameters? How are you starting eclipse? Do you have any thing in your environmental variables that might be inteferring? Check your CLASSPATH env:

    # echo $CLASSPATH

    .

    Also, bring up MyEclipse and go to Help > About Eclipse SDK and then click on Configuration Details and post your value for the java.library.path.

    #239147 Reply

    Rob Tanner
    Member

    For Scott: I created a new html file since I had played with the existing using several editor options. When creating it as new, the attempt is to open it in the designer. The other options are: MyEclipse classic, MyEclipse web browser, Tapestry Template editor, text editor and web browser.

    For Greg: My CLASSPATH points only to where the Xerces and javacc jar files are. This is unchanged since wee before the upgrade. Also, within the eclipse install I can’t find the swt-pi-gtk-3062.so on my system or on an AMD64 system (RedHat ES4) where MyEclipse 4 does work. The closest (by name) that I came is libswt-pi-gtk-3139.so. So, my question for you is: Where is it suppossed to be?

    From the Configuration Details:
    java.library.path=/usr/java/jdk1.5.0_03/jre/lib/i386/client:/usr/java/jdk1.5.0_03/jre/lib/i386:/usr/java/jdk1.5.0_03/jre/../lib/i386:/usr/lib/mozilla-1.7.8

    #239242 Reply

    Riyad Kalla
    Member

    Rob,
    A group of us have been racking our brains on this as to why it’s not working and what we were able to narrow it down to was similarly strange behavior we saw in the 2.x series when folks were using incompatible versions of GTK. You can do one of the following things to check if this is the case, neither of them are “small”:

    1) Update the version of GTK on yoru machine to the latest stable release.
    2) Download and run the Motif version of Eclipse, install MyEclipse against it and see if ti works.

    If you try #2 and i tworks, then the problem are your GTK libs installed. We saw an issue like this in Fedora Core 2 a while back that was fixed when the users upgraded their installs of GTK.

    #239247 Reply

    Greg
    Member

    Rob,

    This seems to be some installation issue. A few posts back you listed the errors in your error log. In that log it said that you were using Eclipse 3.1. The problem was that eclipse couldn’t find swt-pt-gtk-3062.so. However, this file is used in Eclipse 3.0, not Eclipse 3.1. So there seems to be some installation/configuration error. Was this error log correct or what it left over from previous workspace?

    #239262 Reply

    Rob Tanner
    Member

    Greg,

    I have both 3.0 and 3.1 installed (3.0 so I can do my work until the MyEclipse problem on 3.1 is resolved). Just to make sure nothing got screwy when I installed 3.1, I deleted it as well as MyEclipse 4 and reinstalled from scratch. The problem has not changed; it still complains about being unable to find libswt-pt-gtk-3062.so. The interesting thing is that that specific library does not exist in the Eclipse 3.0 hierarchy either. In the 3.0 hierarchy, the library in question is libswt-gtk-3064.so.

    Here’s another oddity. There are no file system level *.so files in the 3.1 hierarchy — instead they are embedded in various *.jar files in the eclipse/plugins directory. But when I check a system that is working properly with Eclipse 3.1 and MyEclipse 4, I notice several directories in eclipse/configuration. These directories do contain. Specifically:

    eclipse/configuration/org.eclipse.osgi/bundles/33/1/.cp/libswt-pi-gtk-3139.so
    eclipse/configuration/org.eclipse.osgi/bundles/33/1/.cp/libswt-gtk-3139.so
    eclipse/configuration/org.eclipse.osgi/bundles/33/1/.cp/libswt-gnome-gtk-3139.so
    eclipse/configuration/org.eclipse.osgi/bundles/10/1/.cp/os/linux/x86/libcore_3_1_0.so
    eclipse/configuration/org.eclipse.osgi/bundles/83/1/.cp/os/linux/x86/libupdate.so

    In both cases (my workstation and the one that works), Eclipse was installed simply by untarring the file, so I’m confused as to how those library files got there, and whether or not it’s germane to the MyEclipse problem.

Viewing 15 posts - 1 through 15 (of 16 total)
Reply To: MyEclipse HTML Editor no longer works after upgrade to 3.8.5

You must be logged in to post in the forum log in