java.lang.NullPointerException

pydev | patsmith | 1 decade 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.python.pydev.editor.PyEdit.getPythonNature()
  2. org.python.pydev
    PyEdit.doSetInput
    1. org.python.pydev.editor.PyEdit.getPythonNature(PyEdit.java:996)
    2. org.python.pydev.parser.PyParser.<init>(PyParser.java:158)
    3. org.python.pydev.editor.PyEdit.checkAndCreateParserIfNeeded(PyEdit.java:443)
    4. org.python.pydev.editor.PyEdit.doSetInput(PyEdit.java:465)
    4 frames
  3. Text Editor Framework
    AbstractTextEditor$17.run
    1. org.eclipse.ui.texteditor.AbstractTextEditor$17.run(AbstractTextEditor.java:2396)
    1 frame
  4. JFace
    ApplicationWindow$1.run
    1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
    2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
    3. org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:763)
    3 frames
  5. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    1 frame
  6. JFace
    ApplicationWindow.run
    1. org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:760)
    1 frame
  7. Eclipse UI
    WorkbenchWindow.run
    1. org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2283)
    1 frame
  8. Text Editor Framework
    AbstractTextEditor.init
    1. org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2414)
    2. org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2441)
    2 frames
  9. org.python.pydev
    PyEdit.init
    1. org.python.pydev.editor.PyEdit.init(PyEdit.java:329)
    1 frame
  10. Eclipse UI
    PartPane.setVisible
    1. org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
    2. org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
    3. org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
    4. org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
    5. org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
    5 frames
  11. Workbench
    TabbedStackPresentation.selectPart
    1. org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
    2. org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
    3. org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    4. org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
    4 frames
  12. Eclipse UI
    WorkbenchPage$9.run
    1. org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
    2. org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
    3. org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
    4. org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
    5. org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
    6. org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
    7. org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
    8. org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
    9. org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    10. org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    11. org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:819)
    12. org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:718)
    13. org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:679)
    14. org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2586)
    15. org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
    16. org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
    17. org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
    17 frames
  13. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    1 frame
  14. Eclipse UI
    WorkbenchPage.openEditor
    1. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
    2. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2478)
    2 frames
  15. Eclipse UI
    IDE.openEditor
    1. org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
    2. org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
    2 frames
  16. Java Development Tools UI
    PackageExplorerPart$4.open
    1. org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275)
    2. org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
    3. org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
    4. org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190)
    5. org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174)
    6. org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267)
    7. org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243)
    8. org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306)
    9. org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:651)
    9 frames
  17. JFace
    StructuredViewer$2.run
    1. org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
    1 frame
  18. Eclipse Core
    Platform.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    2. org.eclipse.core.runtime.Platform.run(Platform.java:843)
    2 frames
  19. Eclipse UI
    JFaceUtil$1.run
    1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
    1 frame
  20. JFace
    OpenStrategy$1.handleEvent
    1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
    2. org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
    3. org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
    4. org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
    5. org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
    6. org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
    7. org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
    7 frames
  21. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    4 frames
  22. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    3 frames
  23. Eclipse UI
    IDEApplication.run
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    2 frames
  24. Eclipse Core
    PlatformActivator$1.run
    1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    1 frame
  25. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    4 frames
  26. 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
  27. Equinox
    Main.main
    1. org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    2. org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    3. org.eclipse.core.launcher.Main.run(Main.java:977)
    4. org.eclipse.core.launcher.Main.main(Main.java:952)
    4 frames