Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1913

Exception while debugging Java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • debugger - Java
    • None

    Description

      Just launched the debugger

      java.lang.NullPointerException
          at org.netbeans.lib.nbjavac.services.NBJavadocMemberEnter.visitVarDef(NBJavadocMemberEnter.java:97)
          at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)
          at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
          at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1184)
          at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)
          at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673)
          at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:749)
          at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:773)
          at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1350)
          at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:73)
          at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
          at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673)
          at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:749)
          at com.sun.tools.javac.comp.Attr.attribStatToTree(Attr.java:431)
          at com.sun.tools.javac.api.JavacTrees.attribStatToTree(JavacTrees.java:1017)
          at com.sun.tools.javac.api.JavacTrees.getAttrContext(JavacTrees.java:976)
          at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:835)
          at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:172)
          at org.netbeans.api.java.source.TreeUtilities.scopeFor(TreeUtilities.java:761)
          at org.netbeans.modules.debugger.jpda.projects.EditorContextSupport$12.run(EditorContextSupport.java:1333)
          at org.netbeans.modules.debugger.jpda.projects.EditorContextSupport$12.run(EditorContextSupport.java:1231)
          at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
          at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
          at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
          at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
          at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
          at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
          at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
          at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
          at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
          at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
          at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
          at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
          at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
          at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
          at org.netbeans.modules.debugger.jpda.projects.EditorContextSupport$14.run(EditorContextSupport.java:1479)
          at org.netbeans.modules.debugger.jpda.projects.EditorContextSupport$14.run(EditorContextSupport.java:1471)
          at org.netbeans.modules.debugger.jpda.projects.EditorContextSupport$ScanRunnable.run(EditorContextSupport.java:1461)
          at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
          at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
          at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

      Attachments

        1. idelog.txt
          590 kB
          Enrico Scantamburlo

        Activity

          People

            Unassigned Unassigned
            scanti81 Enrico Scantamburlo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: