java.lang.NullPointerException

Spring JIRA | Barry Kaplan | 9 years ago
  1. 0

    Open the dialog, click the Add... button. I get the following plugin error: {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$ConfigFileFilter.selectFile(ConfigFilesTab.java:459) at org.springframework.ide.eclipse.ui.viewers.FileSuffixFilter.select(FileSuffixFilter.java:59) at org.springframework.ide.eclipse.ui.viewers.JavaFileSuffixFilter.select(JavaFileSuffixFilter.java:96) at org.springframework.ide.eclipse.ui.viewers.JavaFileSuffixFilter.select(JavaFileSuffixFilter.java:66) at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51) at org.springframework.ide.eclipse.ui.dialogs.FilteredElementTreeSelectionDialog.evaluateIfTreeEmpty(FilteredElementTreeSelectionDialog.java:344) at org.springframework.ide.eclipse.ui.dialogs.FilteredElementTreeSelectionDialog.open(FilteredElementTreeSelectionDialog.java:202) at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleAddButtonPressed(ConfigFilesTab.java:372) at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleButtonPressed(ConfigFilesTab.java:331) at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.access$0(ConfigFilesTab.java:329) at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$1.widgetSelected(ConfigFilesTab.java:118) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2381) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2345) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2211) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:473) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:468) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:561) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:501) at org.eclipse.equinox.launcher.Main.run(Main.java:1239) {code}

    Spring JIRA | 9 years ago | Barry Kaplan
    java.lang.NullPointerException
  2. 0

    Open the dialog, click the Add... button. I get the following plugin error: {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$ConfigFileFilter.selectFile(ConfigFilesTab.java:459) at org.springframework.ide.eclipse.ui.viewers.FileSuffixFilter.select(FileSuffixFilter.java:59) at org.springframework.ide.eclipse.ui.viewers.JavaFileSuffixFilter.select(JavaFileSuffixFilter.java:96) at org.springframework.ide.eclipse.ui.viewers.JavaFileSuffixFilter.select(JavaFileSuffixFilter.java:66) at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51) at org.springframework.ide.eclipse.ui.dialogs.FilteredElementTreeSelectionDialog.evaluateIfTreeEmpty(FilteredElementTreeSelectionDialog.java:344) at org.springframework.ide.eclipse.ui.dialogs.FilteredElementTreeSelectionDialog.open(FilteredElementTreeSelectionDialog.java:202) at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleAddButtonPressed(ConfigFilesTab.java:372) at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleButtonPressed(ConfigFilesTab.java:331) at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.access$0(ConfigFilesTab.java:329) at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$1.widgetSelected(ConfigFilesTab.java:118) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2381) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2345) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2211) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:473) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:468) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:561) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:501) at org.eclipse.equinox.launcher.Main.run(Main.java:1239) {code}

    Spring JIRA | 9 years ago | Barry Kaplan
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$ConfigFileFilter.selectFile()
    2. org.springframework.ide
      JavaFileSuffixFilter.select
      1. org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$ConfigFileFilter.selectFile(ConfigFilesTab.java:459)
      2. org.springframework.ide.eclipse.ui.viewers.FileSuffixFilter.select(FileSuffixFilter.java:59)
      3. org.springframework.ide.eclipse.ui.viewers.JavaFileSuffixFilter.select(JavaFileSuffixFilter.java:96)
      4. org.springframework.ide.eclipse.ui.viewers.JavaFileSuffixFilter.select(JavaFileSuffixFilter.java:66)
      4 frames
    3. JFace
      ViewerFilter.filter
      1. org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51)
      1 frame
    4. org.springframework.ide
      ConfigFilesTab$1.widgetSelected
      1. org.springframework.ide.eclipse.ui.dialogs.FilteredElementTreeSelectionDialog.evaluateIfTreeEmpty(FilteredElementTreeSelectionDialog.java:344)
      2. org.springframework.ide.eclipse.ui.dialogs.FilteredElementTreeSelectionDialog.open(FilteredElementTreeSelectionDialog.java:202)
      3. org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleAddButtonPressed(ConfigFilesTab.java:372)
      4. org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleButtonPressed(ConfigFilesTab.java:331)
      5. org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.access$0(ConfigFilesTab.java:329)
      6. org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$1.widgetSelected(ConfigFilesTab.java:118)
      6 frames
    5. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
      5 frames
    6. 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
    7. Eclipse UI
      PropertyDialogAction.run
      1. org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156)
      1 frame
    8. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410)
      4 frames
    9. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
      4 frames
    10. Eclipse UI
      Workbench$4.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2381)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2345)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2211)
      4. org.eclipse.ui.internal.Workbench$4.run(Workbench.java:473)
      4 frames
    11. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
      1 frame
    12. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:468)
      1 frame
    13. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    14. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
      1 frame
    15. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
      1 frame
    16. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
      4 frames
    17. 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
    18. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:561)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:501)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1239)
      3 frames