java.lang.RuntimeException: java.lang.NullPointerException

pydev | fmalzer | 6 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. 0

    NPE:Error checking for valid tokens (imports)

    pydev | 6 years ago | fmalzer
    java.lang.RuntimeException: java.lang.NullPointerException
  2. 0

    broken code completion

    pydev | 8 years ago | samhayne
    java.lang.RuntimeException: Info still not set

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.NullPointerException

      at org.python.pydev.editor.codecompletion.revisited.javaintegration.JavaModuleInProject.getJavaCompletionProposals()
    2. org.python.pydev
      AbstractASTManager.findOnImportedMods
      1. org.python.pydev.editor.codecompletion.revisited.javaintegration.JavaModuleInProject.getJavaCompletionProposals(JavaModuleInProject.java:150)
      2. org.python.pydev.editor.codecompletion.revisited.javaintegration.JavaModuleInProject.getJavaCompletionProposals(JavaModuleInProject.java:101)
      3. org.python.pydev.editor.codecompletion.revisited.javaintegration.AbstractJavaClassModule.createTokens(AbstractJavaClassModule.java:115)
      4. org.python.pydev.editor.codecompletion.revisited.javaintegration.JavaModuleInProject.<init>(JavaModuleInProject.java:56)
      5. org.python.pydev.editor.codecompletion.revisited.javaintegration.JavaProjectModulesManager.getModuleInDirectManager(JavaProjectModulesManager.java:310)
      6. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModuleAndRelatedModulesManager(ProjectModulesManager.java:290)
      7. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModule(ProjectModulesManager.java:257)
      8. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModule(ProjectModulesManager.java:243)
      9. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getModule(AbstractASTManager.java:421)
      10. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.findModuleFromPath(AbstractASTManager.java:1405)
      11. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.findOnImportedMods(AbstractASTManager.java:1287)
      12. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.findOnImportedMods(AbstractASTManager.java:1186)
      12 frames
    3. com.python.pydev
      AbstractScopeAnalyzerVisitor.visitImportFrom
      1. com.python.pydev.analysis.visitors.ImportChecker.visitImportToken(ImportChecker.java:158)
      2. com.python.pydev.analysis.visitors.ImportChecker.visitImportToken(ImportChecker.java:139)
      3. com.python.pydev.analysis.visitors.Scope.addImportTokens(Scope.java:174)
      4. com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.visitImportFrom(AbstractScopeAnalyzerVisitor.java:476)
      4 frames
    4. org.python.pydev
      Module.traverse
      1. org.python.pydev.parser.jython.ast.ImportFrom.accept(ImportFrom.java:70)
      2. org.python.pydev.parser.jython.ast.Module.traverse(Module.java:66)
      2 frames
    5. com.python.pydev
      OccurrencesVisitor.traverse
      1. com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.traverse(AbstractScopeAnalyzerVisitor.java:187)
      2. com.python.pydev.analysis.visitors.OccurrencesVisitor.traverse(OccurrencesVisitor.java:233)
      2 frames
    6. org.python.pydev
      Module.accept
      1. org.python.pydev.parser.jython.ast.VisitorBase.visitModule(VisitorBase.java:8)
      2. org.python.pydev.parser.jython.ast.Module.accept(Module.java:59)
      2 frames
    7. com.python.pydev
      OccurrencesAnalyzer.analyzeDocument
      1. com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:56)
      1 frame