org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)

GitHub | reprogrammer | 6 years 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

    Test rename.T10 throws an exception

    GitHub | 6 years ago | reprogrammer
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.eclipse.jdt.internal.corext.refactoring.codingspectator.RefactoringGlobalStore.setProjectName()
    2. org.eclipse.jdt
      RefactoringGlobalStore.setStructuredSelection
      1. org.eclipse.jdt.internal.corext.refactoring.codingspectator.RefactoringGlobalStore.setProjectName(RefactoringGlobalStore.java:85)
      2. org.eclipse.jdt.internal.corext.refactoring.codingspectator.RefactoringGlobalStore.setStructuredSelection(RefactoringGlobalStore.java:100)
      2 frames
    3. Java Development Tools UI
      SelectionDispatchAction.run
      1. org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:123)
      2. org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
      3. org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
      3 frames
    4. JFace
      Action.runWithEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      1 frame
    5. Eclipse UI
      RetargetAction.runWithEvent
      1. org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:230)
      1 frame
    6. Eclipse UI
      WWinPluginAction.runWithEvent
      1. org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:234)
      1 frame
    7. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      2. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      3. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      3 frames
    8. RWT
      Widget.notifyListeners
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
      5. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
      5 frames
    9. org.eclipse.swtbot
      UIThreadRunnable$1.run
      1. org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot$2.run(AbstractSWTBot.java:159)
      2. org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable$5.doRun(UIThreadRunnable.java:221)
      3. org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable$1.run(UIThreadRunnable.java:89)
      3 frames
    10. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
      4 frames
    11. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      4 frames
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    13. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    15. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      1 frame
    16. org.eclipse.swtbot
      UITestApplication.start
      1. org.eclipse.swtbot.eclipse.core.UITestApplication.start(UITestApplication.java:54)
      1 frame
    17. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    18. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    20. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1384)
      4 frames