facebook

Error opening JavaScript editor

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #250076 Reply

    Don Nelson
    Member

    Hi all,

    I’m getting the following error when opening a javascript file – the file never opens and there is no error message:

    !ENTRY org.eclipse.ui 4 4 2006-04-08 14:28:40.23
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2006-04-08 14:28:40.33
    !MESSAGE com.genuitec.eclipse.integration.Integrator.jsMultiPageEditorPart(Lorg/eclipse/ui/IEditorSite;Lorg/eclipse/ui/IEditorInput;)Z
    !STACK 0
    java.lang.NoSuchMethodError: com.genuitec.eclipse.integration.Integrator.jsMultiPageEditorPart(Lorg/eclipse/ui/IEditorSite;Lorg/eclipse/ui/IEditorInput;)Z
    at com.ibm.sse.editor.javascript.JSMultiPageEditorPart.init(JSMultiPageEditorPart.java:129)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
    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.EditorReference.getEditor(EditorReference.java:223)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
    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:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    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:324)
    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)

    – System Setup ——————————-
    Operating System and version: XP SP2
    Eclipse version: 3.1.2
    Eclipse build id: M20060118-1600
    MyEclipse version: 4.1.1 Professional
    Eclipse JDK version: 1.4.2
    Application Server JDK version: 1.4.2
    Are there any exceptions in the Eclipse log file? Yes

    #250082 Reply

    Riyad Kalla
    Member

    This is caused by an installation problem. Have you upgraded MyEclipse or Eclipse recently by simply installing or unzipping new copies ontop of the existing ones? I would suggest (whenever you see API breakage messages like this) to perform clean installs of Eclipse SDK 3.1.2 to a NEW directory as well as MyEclipse 4.1.1 to a NEW directory. After that, add -clean to your command line args and open your existing workspace, you should be back in action (since all your config options are stored in your workspace).

    #250085 Reply

    Don Nelson
    Member

    Thanks Riyad – I’ll try that. Wondering if this might eventually be solved, or is this something we will live with? Good to know either way, because it affects my team.

    Thanks again,

    Don

    #250086 Reply

    Riyad Kalla
    Member

    I don’t follow “might eventually be solved”? If you are seeing exceptions like:

    java.lang.NoSuchMethodError: com.genuitec.eclipse.integration.Integrator.jsMultiPageEditorPart(Lorg/eclipse/ui/IEditorSite;Lorg/eclipse/ui/IEditorInput;)Z

    There really isn’t anything to solve. The installation has been corrupted or changed in such a way that MyEclipse cannot identify the proper base Eclipse platform class to load the JavaScript editor. This can be caused by a bad install or an upgrade that failed. This can be caused (most times) by people not understanding how Eclipse upgrading works and by simply unzipping new versions of MyEclipse or Eclipse ontop of their existing installs. This is equivalent to taking a Windows XP CD, and installing it directly ontop of your Windows 2K C:\Windows directory and not performing the “Upgrade” step, the result would be a completely corrupted system that would likely boot but give all sorts of random errors (like this one).

    #250371 Reply

    eaparnell
    Member

    I did a clean install from the beginning but am still getting this error. Do you have any additional help?

    #250374 Reply

    Riyad Kalla
    Member

    eaparnell,
    Please be more specific. What did your clean install entail? If you reused any of your old directories or workspaces or downloads that you had on your machine, then it’s likely you just recreated the same bad setup.

    NoSuchMethodErrors *are* install issues, so if you are still getting them, then the problem is still an install issue. Give me some more info on exactly what you did and I’ll try and point you in the right direction.

    #250375 Reply

    eaparnell
    Member

    I downloaded 3.1.2 of the Eclipse SDK and put it in a brand new directory. I then ran through the 4.1.1 GA install script and pointed it to the new eclipse directory. I do believe I may have re-used my old workspace and now I notice there is a /.metatdata/.plugins directory there (this is all on windows XP). Can I just somehow re-create a new workspace to solve this problem without having to re-install eclipse and myeclipse??

    #250385 Reply

    Riyad Kalla
    Member

    Can I just somehow re-create a new workspace to solve this problem without having to re-install eclipse and myeclipse??

    Sure, fire up your setup and go to File > Switch Workspace, then enter in ayour new workspace dir and hit OK to restart. Let me know if it works then.

    Also you mentioned you used a clean dir with Eclipse, but did you do the same with MyEclipse in it’s own new clean dir? (In the Eclipse world, due to plugin caches and other black magic, simply overwriting plugins with updated versions of themselves or even the same versions that are out of sync with the workspace cache can lead to annoying hickups like this)

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Error opening JavaScript editor

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