java.lang.NoSuchMethodError: jdk.nashorn.internal.runtime.ECMAException.getEcmaError()Ljava/lang/Object;

Stack Overflow | Adam Jensen | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Eclipse Neon (Java EE IDE) Javascript Editor Broken

    Stack Overflow | 8 months ago | Adam Jensen
    java.lang.NoSuchMethodError: jdk.nashorn.internal.runtime.ECMAException.getEcmaError()Ljava/lang/Object;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      jdk.nashorn.internal.runtime.ECMAException.getEcmaError()Ljava/lang/Object;

      at org.eclipse.wst.jsdt.internal.esprima.EsprimaParser.parse()
    2. org.eclipse.wst
      CompilationUnitDocumentProvider.createFileInfo
      1. org.eclipse.wst.jsdt.internal.esprima.EsprimaParser.parse(EsprimaParser.java:148)
      2. org.eclipse.wst.jsdt.core.dom.ASTParser.createAST(ASTParser.java:651)
      3. org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:168)
      4. org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:243)
      5. org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
      6. org.eclipse.wst.jsdt.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:39)
      7. org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
      8. org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
      9. org.eclipse.wst.jsdt.internal.core.CompilationUnit.becomeWorkingCopy(CompilationUnit.java:122)
      10. org.eclipse.wst.jsdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.createFileInfo(CompilationUnitDocumentProvider.java:975)
      10 frames
    3. Default Text Editor
      TextFileDocumentProvider.connect
      1. org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:478)
      1 frame
    4. org.eclipse.wst
      CompilationUnitDocumentProvider.connect
      1. org.eclipse.wst.jsdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.connect(CompilationUnitDocumentProvider.java:1190)
      1 frame
    5. Text Editor Framework
      AbstractDecoratedTextEditor.doSetInput
      1. org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4178)
      2. org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:229)
      3. org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1466)
      3 frames
    6. org.eclipse.wst
      CompilationUnitEditor.doSetInput
      1. org.eclipse.wst.jsdt.internal.ui.javaeditor.JavaEditor.internalDoSetInput(JavaEditor.java:2173)
      2. org.eclipse.wst.jsdt.internal.ui.javaeditor.JavaEditor.doSetInput(JavaEditor.java:2146)
      3. org.eclipse.wst.jsdt.internal.ui.javaeditor.CompilationUnitEditor.doSetInput(CompilationUnitEditor.java:1306)
      3 frames
    7. Text Editor Framework
      AbstractTextEditor$5.run
      1. org.eclipse.ui.texteditor.AbstractTextEditor$5.run(AbstractTextEditor.java:3154)
      1 frame
    8. JFace
      ModalContext.run
      1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
      2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
      2 frames
    9. Eclipse UI
      WorkbenchWindow$14.run
      1. org.eclipse.ui.internal.WorkbenchWindow$14.run(WorkbenchWindow.java:2184)
      1 frame
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    11. Eclipse UI
      WorkbenchWindow.run
      1. org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2180)
      1 frame
    12. Text Editor Framework
      AbstractTextEditor.init
      1. org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3172)
      2. org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3197)
      2 frames
    13. Eclipse UI
      EditorReference.initialize
      1. org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:362)
      1 frame
    14. org.eclipse.ui
      CompatibilityPart.create
      1. org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:319)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    16. org.eclipse.e4
      ContextInjectionFactory.make
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:931)
      4. org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:151)
      5. org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:375)
      6. org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:294)
      7. org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
      7 frames
    17. Eclipse Workbench
      ReflectionContributionFactory.create
      1. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)
      2. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:74)
      3. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:56)
      3 frames
    18. org.eclipse.e4
      ContributedPartRenderer.createWidget
      1. org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
      1 frame
    19. Eclipse Workbench SWT
      PartRenderingEngine$2.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:975)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:651)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:757)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:728)
      5. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:722)
      5 frames
    20. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    21. Eclipse Workbench SWT
      PartRenderingEngine.createGui
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:706)
      1 frame
    22. org.eclipse.e4
      UIEventHandler$1.run
      1. org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1317)
      2. org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:72)
      3. org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
      3 frames
    23. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
      1 frame
    24. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
      1 frame
    25. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4813)
      1 frame
    26. Eclipse Workbench SWT
      E4Application$1.syncExec
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
      1 frame
    27. org.eclipse.e4
      UIEventHandler.handleEvent
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
      1 frame
    28. org.eclipse.equinox
      EventHandlerTracker.dispatchEvent
      1. org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:201)
      2. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
      3. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      3 frames
    29. Eclipse OSGi
      ListenerQueue.dispatchEventSynchronous
      1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      2 frames
    30. org.eclipse.equinox
      EventComponent.sendEvent
      1. org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
      2. org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
      3. org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
      3 frames
    31. org.eclipse.e4
      EventBroker.send
      1. org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:94)
      1 frame
    32. Eclipse Workbench
      UIEventPublisher.notifyChanged
      1. org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:60)
      1 frame
    33. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      1 frame
    34. org.eclipse.e4
      ElementContainerImpl.setSelectedElement
      1. org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:173)
      1 frame
    35. Eclipse Workbench
      PartServiceImpl.showPart
      1. org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:617)
      2. org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:581)
      3. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:770)
      4. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401)
      5. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1214)
      5 frames
    36. Eclipse UI
      WorkbenchPage$10.run
      1. org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3261)
      2. org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3176)
      3. org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3158)
      3 frames
    37. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    38. Eclipse UI
      WorkbenchPage.openEditor
      1. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3153)
      2. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3117)
      2 frames
    39. Eclipse UI
      OpenWithMenu.lambda$0
      1. org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:324)
      2. org.eclipse.ui.actions.OpenWithMenu.lambda$0(OpenWithMenu.java:180)
      2 frames