java.lang.NullPointerException

pydev | aditsu | 8 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. jf-ast 8 times, last 4 days ago
  2. Dunmer 1 times, last 3 weeks ago
  3. linxiaolong 6 times, last 2 months ago
  4. ajinkya_w 1 times, last 6 months ago
  5. emmanuelstroem 1 times, last 9 months ago
9 more registered users
20 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.io.File.<init>()
  2. Java RT
    File.<init>
    1. java.io.File.<init>(File.java:222)
    1 frame
  3. org.python.pydev
    PyDebugModelPresentation.getText
    1. org.python.pydev.debug.model.PyBreakpoint.getPythonNature(PyBreakpoint.java:101)
    2. org.python.pydev.debug.model.PyBreakpoint.getFunctionName(PyBreakpoint.java:184)
    3. org.python.pydev.debug.model.PyDebugModelPresentation.getText(PyDebugModelPresentation.java:106)
    3 frames
  4. org.eclipse.debug
    BreakpointsComparator.compare
    1. org.eclipse.debug.internal.ui.LazyModelPresentation.getText(LazyModelPresentation.java:185)
    2. org.eclipse.debug.internal.ui.DelegatingModelPresentation.getText(DelegatingModelPresentation.java:158)
    3. org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsLabelProvider.getText(BreakpointsLabelProvider.java:86)
    4. org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsComparator.compare(BreakpointsComparator.java:95)
    4 frames
  5. JFace
    ViewerComparator$1.compare
    1. org.eclipse.jface.viewers.ViewerComparator$1.compare(ViewerComparator.java:187)
    1 frame
  6. Java RT
    Arrays.sort
    1. java.util.Arrays.mergeSort(Arrays.java:1270)
    2. java.util.Arrays.mergeSort(Arrays.java:1281)
    3. java.util.Arrays.mergeSort(Arrays.java:1282)
    4. java.util.Arrays.sort(Arrays.java:1210)
    4 frames
  7. JFace
    StructuredViewer.refresh
    1. org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:185)
    2. org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:625)
    3. org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2567)
    4. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1856)
    5. org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:711)
    6. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1831)
    7. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1787)
    8. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1773)
    9. org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1430)
    10. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1365)
    11. org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:397)
    12. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1328)
    13. org.eclipse.jface.viewers.CheckboxTreeViewer.preservingSelection(CheckboxTreeViewer.java:372)
    14. org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1428)
    15. org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537)
    16. org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1387)
    16 frames
  8. org.eclipse.debug
    BreakpointsViewer.refresh
    1. org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsViewer.refresh(BreakpointsViewer.java:341)
    1 frame
  9. JFace
    ColumnViewer.setLabelProvider
    1. org.eclipse.jface.viewers.ContentViewer.setLabelProvider(ContentViewer.java:282)
    2. org.eclipse.jface.viewers.StructuredViewer.setLabelProvider(StructuredViewer.java:2089)
    3. org.eclipse.jface.viewers.ColumnViewer.setLabelProvider(ColumnViewer.java:365)
    3 frames
  10. org.eclipse.debug
    AbstractDebugView.createDefaultPage
    1. org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsView.createViewer(BreakpointsView.java:153)
    2. org.eclipse.debug.ui.AbstractDebugView$ViewerPage.createControl(AbstractDebugView.java:270)
    3. org.eclipse.debug.ui.AbstractDebugView.createDefaultPage(AbstractDebugView.java:358)
    3 frames
  11. Eclipse UI
    PageBookView.createPartControl
    1. org.eclipse.ui.part.PageBookView.createPartControl(PageBookView.java:473)
    1 frame
  12. org.eclipse.debug
    BreakpointsView.createPartControl
    1. org.eclipse.debug.ui.AbstractDebugView.createPartControl(AbstractDebugView.java:319)
    2. org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsView.createPartControl(BreakpointsView.java:129)
    2 frames
  13. Eclipse UI
    StartupThreading$StartupRunnable.run
    1. org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
    2. org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
    3. org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
    4. org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4169)
    5. org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3234)
    6. org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    6 frames
  14. 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:3378)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
    4 frames
  15. Workbench
    WorkbenchAdvisor.openWindows
    1. org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    1 frame
  16. Eclipse UI
    StartupThreading$StartupRunnable.run
    1. org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
    2. org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    2 frames
  17. 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:3378)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
    4 frames
  18. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
    2. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    3. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    3 frames
  19. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    1 frame
  20. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    1 frame
  21. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    1 frame
  22. Eclipse IDE
    IDEApplication.start
    1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    1 frame
  23. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    1 frame
  24. 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:382)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    4 frames
  25. 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
  26. Equinox
    Main.main
    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)
    4. org.eclipse.equinox.launcher.Main.main(Main.java:1212)
    4 frames