java.lang.RuntimeException: Cannot resolve execution environment for the project runtime.n4 of type RUNTIME_LIBRARY

GitHub | NumberFourAG | 10 months ago
  1. 0

    RTE when trying to run a module from a runtime library

    GitHub | 10 months ago | NumberFourAG
    java.lang.RuntimeException: Cannot resolve execution environment for the project runtime.n4 of type RUNTIME_LIBRARY
  2. 0
    I did this as root, and works dpkg --add-architecture i386 apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
  3. 0
    You might have a JRockit JVM with the management agent started on the same port.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    If the decompile process didn't work properly, try the Android APK Decompiler.
  6. 0
    SMS Emulator caused this error. abortBroadcast only works with broadcasts sent through Context.sendOrderedBroadcast.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Cannot resolve execution environment for the project runtime.n4 of type RUNTIME_LIBRARY

      at eu.numberfour.ide.runner.RuntimeEnvironmentsHelper.findProjectEnvironments()
    2. eu.numberfour.ide
      SupportingRunnerPropertyTester.test
      1. eu.numberfour.ide.runner.RuntimeEnvironmentsHelper.findProjectEnvironments(RuntimeEnvironmentsHelper.java:55)
      2. eu.numberfour.ide.runner.ui.SupportingRunnerPropertyTester.resolveRequiredEnvironments(SupportingRunnerPropertyTester.java:168)
      3. eu.numberfour.ide.runner.ui.SupportingRunnerPropertyTester.resolveRequiredEnvironments(SupportingRunnerPropertyTester.java:140)
      4. eu.numberfour.ide.runner.ui.SupportingRunnerPropertyTester.dipatchResolveRequiredEnvironments(SupportingRunnerPropertyTester.java:124)
      5. eu.numberfour.ide.runner.ui.SupportingRunnerPropertyTester.test(SupportingRunnerPropertyTester.java:82)
      5 frames
    3. Expression Language
      EnablementExpression.evaluate
      1. org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      2. org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
      3. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      4. org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
      5. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      6. org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)
      7. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      8. org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
      9. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      10. org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53)
      10 frames
    4. org.eclipse.debug
      ContextualLaunchAction$1.menuShown
      1. org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:281)
      2. org.eclipse.debug.ui.actions.ContextualLaunchAction.isApplicable(ContextualLaunchAction.java:287)
      3. org.eclipse.debug.ui.actions.ContextualLaunchAction.fillMenu(ContextualLaunchAction.java:218)
      4. org.eclipse.debug.ui.actions.ContextualLaunchAction$1.menuShown(ContextualLaunchAction.java:141)
      4 frames
    5. RWT
      Widget.notifyListeners
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:255)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      7 frames
    6. JFace
      ActionContributionItem$8.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem.copyMenu(ActionContributionItem.java:1276)
      2. org.eclipse.jface.action.ActionContributionItem.handleShowProxy(ActionContributionItem.java:1256)
      3. org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:1245)
      4. org.eclipse.jface.action.ActionContributionItem$8.handleEvent(ActionContributionItem.java:1218)
      4 frames
    7. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1471)
      6. org.eclipse.swt.widgets.Menu.menuWillOpen(Menu.java:806)
      7. org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
      7 frames
    8. org.eclipse.swt
      NSMenu.popUpContextMenu
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSMenu.popUpContextMenu(NSMenu.java:77)
      2 frames
    9. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Menu._setVisible(Menu.java:278)
      2. org.eclipse.swt.widgets.Display.runPopups(Display.java:4119)
      3. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3662)
      3 frames
    10. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      1 frame
    11. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    12. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      1 frame
    13. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      1 frame
    14. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      1 frame
    15. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    16. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      1 frame
    17. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    18. eu.numberfour.ide
      N4Application.start
      1. eu.numberfour.ide.product.N4Application.start(N4Application.java:137)
      1 frame
    19. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    20. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    22. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      4 frames