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

SpringSource Issue Tracker | Tomasz Zarna | 4 years ago
  1. 0

    3.2.0.M1 1. Window > Show View > Roo Shell 2. While in Roo Shell, hit Roo Add-on Manager 3. The manager's dialog opens but an NPE is thrown at the same time => {code} org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4361) at org.eclipse.swt.SWT.error(SWT.java:4276) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.tasks.SynchUITask.execute(SynchUITask.java:77) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.tasks.TaskManager.runSynch(TaskManager.java:29) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.PluginManagerDialog.resynchPluginsList(PluginManagerDialog.java:820) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.PluginManagerDialog.createCommandArea(PluginManagerDialog.java:313) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.CommandDialog.createDialogArea(CommandDialog.java:75) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:155) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.window.Window.open(Window.java:790) at org.springframework.ide.eclipse.roo.ui.internal.actions.RooAddOnManagerActionDelegate.run(RooAddOnManagerActionDelegate.java:67) at org.springframework.ide.eclipse.roo.ui.internal.actions.RooAddOnManagerAction.run(RooAddOnManagerAction.java:43) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.hash(Unknown Source) at java.util.concurrent.ConcurrentHashMap.containsKey(Unknown Source) at org.springframework.ide.eclipse.roo.ui.internal.RooShellView.openShell(RooShellView.java:133) at org.springframework.ide.eclipse.roo.ui.internal.wizard.RooAddOnManagerDialog$1.run(RooAddOnManagerDialog.java:61) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 45 more {code}

    SpringSource Issue Tracker | 4 years ago | Tomasz Zarna
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
  2. 0

    3.2.0.M1 1. Window > Show View > Roo Shell 2. While in Roo Shell, hit Roo Add-on Manager 3. The manager's dialog opens but an NPE is thrown at the same time => {code} org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4361) at org.eclipse.swt.SWT.error(SWT.java:4276) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.tasks.SynchUITask.execute(SynchUITask.java:77) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.tasks.TaskManager.runSynch(TaskManager.java:29) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.PluginManagerDialog.resynchPluginsList(PluginManagerDialog.java:820) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.PluginManagerDialog.createCommandArea(PluginManagerDialog.java:313) at org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.CommandDialog.createDialogArea(CommandDialog.java:75) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:155) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.window.Window.open(Window.java:790) at org.springframework.ide.eclipse.roo.ui.internal.actions.RooAddOnManagerActionDelegate.run(RooAddOnManagerActionDelegate.java:67) at org.springframework.ide.eclipse.roo.ui.internal.actions.RooAddOnManagerAction.run(RooAddOnManagerAction.java:43) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.hash(Unknown Source) at java.util.concurrent.ConcurrentHashMap.containsKey(Unknown Source) at org.springframework.ide.eclipse.roo.ui.internal.RooShellView.openShell(RooShellView.java:133) at org.springframework.ide.eclipse.roo.ui.internal.wizard.RooAddOnManagerDialog$1.run(RooAddOnManagerDialog.java:61) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 45 more {code}

    SpringSource Issue Tracker | 4 years ago | Tomasz Zarna
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Facebook SDK, AsyncTask error

    Stack Overflow | 2 years ago | DMT82
    java.lang.NullPointerException
  5. 0

    android fb sdk error

    Stack Overflow | 3 years ago | bipin
    java.lang.RuntimeException: An error occured while executing doInBackground()

  1. jk 3 times, last 4 months ago
12 unregistered visitors
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.NullPointerException

    No message provided

    at java.util.concurrent.ConcurrentHashMap.hash()
  2. Java RT
    ConcurrentHashMap.containsKey
    1. java.util.concurrent.ConcurrentHashMap.hash(Unknown Source)
    2. java.util.concurrent.ConcurrentHashMap.containsKey(Unknown Source)
    2 frames
  3. org.springframework.ide
    RooAddOnManagerDialog$1.run
    1. org.springframework.ide.eclipse.roo.ui.internal.RooShellView.openShell(RooShellView.java:133)
    2. org.springframework.ide.eclipse.roo.ui.internal.wizard.RooAddOnManagerDialog$1.run(RooAddOnManagerDialog.java:61)
    2 frames
  4. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    4 frames
  5. JFace
    ProgressMonitorDialog.run
    1. org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
    2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
    3. org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    3 frames
  6. org.springsource.ide
    CommandDialog.createDialogArea
    1. org.springsource.ide.eclipse.commons.frameworks.ui.internal.tasks.SynchUITask.execute(SynchUITask.java:77)
    2. org.springsource.ide.eclipse.commons.frameworks.ui.internal.tasks.TaskManager.runSynch(TaskManager.java:29)
    3. org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.PluginManagerDialog.resynchPluginsList(PluginManagerDialog.java:820)
    4. org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.PluginManagerDialog.createCommandArea(PluginManagerDialog.java:313)
    5. org.springsource.ide.eclipse.commons.frameworks.ui.internal.plugins.CommandDialog.createDialogArea(CommandDialog.java:75)
    5 frames
  7. JFace
    Window.open
    1. org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:155)
    2. org.eclipse.jface.window.Window.create(Window.java:431)
    3. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    4. org.eclipse.jface.window.Window.open(Window.java:790)
    4 frames
  8. org.springframework.ide
    RooAddOnManagerAction.run
    1. org.springframework.ide.eclipse.roo.ui.internal.actions.RooAddOnManagerActionDelegate.run(RooAddOnManagerActionDelegate.java:67)
    2. org.springframework.ide.eclipse.roo.ui.internal.actions.RooAddOnManagerAction.run(RooAddOnManagerAction.java:43)
    2 frames
  9. JFace
    ActionContributionItem$6.handleEvent
    1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    4. org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
    4 frames
  10. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    4 frames
  11. Eclipse UI
    Workbench$7.run
    1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    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:668)
    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:124)
    1 frame
  16. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  17. 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:353)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    4 frames
  18. 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
  19. Equinox
    Main.main
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    4. org.eclipse.equinox.launcher.Main.main(Main.java:1414)
    4 frames