facebook

[Closed]unable to open javascript file – NoSuchMethodError

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #252041 Reply

    Brian
    Member

    In the MyEclipse perspective, when I try to open a javascript file (e.g. mario.js from the example), I get “An error has occurred. See Error Log for more details.” Is there anything I can do about this?

    =====================
    CONFIGURATION SUMMARY
    =====================

    *** Date: Mon May 15 11:06:08 EDT 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.4.2_04

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060309-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    a98_38
    -vm
    C:\bea\jdk142_04\bin\javaw.exe

    =========
    ERROR LOG
    =========
    !ENTRY org.eclipse.jface 4 2 2006-05-15 10:59:12.696
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
    !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:773)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:572)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
    at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1108)
    at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1066)
    at org.eclipse.ui.internal.WorkbenchPage.partAdded(WorkbenchPage.java:1415)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:205)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:753)
    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:2323)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:251)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:131)
    at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:296)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:869)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
    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:3080)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
    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)

    ==========
    OTHER INFO
    ==========
    In addition to the information above, these questions should also be answered:

    – Was Eclipse freshly installed for MyEclipse?
    No. It’s been a while, but I believe I installed MyEclipse over my existing Eclipse 3.1.

    – If not, was it upgraded to its current version using the update manager?
    I believe I just executed the MyEclipse installer, don’t know if that means I used the update manager or not.

    – Are any other external plugins installed?
    Yes, webMethods Glue Ui Plug-in 1.0.0

    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    org.eclipse.pde.build_3.1.0
    org.eclipse.pde.doc.user_3.1.0
    org.eclipse.pde.junit.runtime_3.1.0
    org.eclipse.pde.source_3.1.0

    – What application server are you using?
    Apache Tomcat 5.0.28 and BEA’s WebLogic 8.1 SP1

    #252062

    Scott Anderson
    Participant

    Brian,

    This really looks like an installation issue related to an incompatible Eclipse version. If it isn’t, it *might* be solved with a clean restart (eclipse.exe -clean). If that doesn’t do it the quickest check would be to try downloading Eclipse 3.1.2 and installing a freshly downloaded copy of MyEclipse 4.1.1 on it. Once that’s working you can then install Glue and simply point the new MyEclipse install at your existing workspace to get back to work.

    #252101

    schnall
    Member

    I encounter exactly the same problem

    Eclipse 3.1.1 Myeclipse 4.1.1 GA
    Windows XP
    Java 1.4.2

    Upgrading to 3.1.2 didn’t solve the problem

    #253040

    Brian
    Member

    eclipse.exe -clean did not resolve the problem. So, I uninstalled MyEclipse (both 4.1.1 and 4.0.3 showed up in Control Panel), and removed my Eclipse install. Then, I reinstalled Eclipse 3.1 and MyEclipse 4.1.1. This fixed the problem. Thanks for the help.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed]unable to open javascript file – NoSuchMethodError

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