java.lang.NullPointerException

eclipse-cs | udorn | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NPE in project preferences

    eclipse-cs | 8 years ago | udorn
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.eclipse.jface.dialogs.DialogPage.getShell()
    2. JFace
      DialogPage.getShell
      1. org.eclipse.jface.dialogs.DialogPage.getShell(DialogPage.java:293)
      1 frame
    3. com.atlassw.tools
      CheckstylePropertyPage.setElement
      1. com.atlassw.tools.eclipse.checkstyle.properties.CheckstylePropertyPage.setElement(CheckstylePropertyPage.java:182)
      1 frame
    4. Workbench
      PropertyPageNode.createPage
      1. org.eclipse.ui.internal.dialogs.RegistryPageContributor.createPage(RegistryPageContributor.java:137)
      2. org.eclipse.ui.internal.dialogs.PropertyPageNode.createPage(PropertyPageNode.java:56)
      2 frames
    5. JFace
      PreferenceDialog.createPage
      1. org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1306)
      1 frame
    6. Workbench
      FilteredPreferenceDialog.createPage
      1. org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:369)
      1 frame
    7. JFace
      PreferenceDialog.showPage
      1. org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1197)
      1 frame
    8. Workbench
      FilteredPreferenceDialog.showPage
      1. org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:570)
      1 frame
    9. JFace
      PreferenceDialog$10.run
      1. org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:702)
      1 frame
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    11. JFace
      StructuredViewer$3.run
      1. org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:698)
      2. org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
      2 frames
    12. Eclipse Core
      Platform.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      2. org.eclipse.core.runtime.Platform.run(Platform.java:880)
      2 frames
    13. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
      1 frame
    14. JFace
      OpenStrategy$3.run
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      2. org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840)
      3. org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1153)
      4. org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1178)
      5. org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:250)
      6. org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:244)
      7. org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:418)
      7 frames
    15. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
      4 frames
    16. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      2. org.eclipse.jface.window.Window.open(Window.java:801)
      2 frames
    17. Eclipse UI
      PropertyDialogAction.run
      1. org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
      1 frame
    18. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      4 frames
    19. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
      4 frames
    20. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
      4. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
      4 frames
    21. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
      1 frame
    22. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
      1 frame
    23. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    24. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
      1 frame
    25. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
      1 frame
    26. 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:386)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    27. 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
    28. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1236)
      3 frames