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

NetCat 12.0 Java hint Test Case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.0
    • None
    • cnd - Editor
    • Windows 10
      jdk-11.0.4

    Description

      For some reason some hits appeared, others did not, when they were not displayed I noticed the following notification after using Alt+Enter shortcut.

       

      java.lang.NullPointerExceptionjava.lang.NullPointerException at jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2095) at jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHashIfNeeded(Check.java:2085) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4577) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4503) at jdk.compiler/com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:951) at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:66) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:774) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:724) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4683) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4574) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4503) at jdk.compiler/com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:951) at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:66) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:774) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:724) at jdk.compiler/com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2397) at jdk.compiler/com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2288) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1689) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655) at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:695) at org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:654) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:434) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:348) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:328) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324) at org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsInSpan(HintsInvoker.java:348) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:224) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask$HintPositionRefresherHelper.getErrorDescriptionsAt(HintsTask.java:205) at org.netbeans.modules.java.hints.spiimpl.JavaHintsPositionRefresher$RefreshTask.run(JavaHintsPositionRefresher.java:128) at org.netbeans.modules.java.hints.spiimpl.JavaHintsPositionRefresher$RefreshTask.run(JavaHintsPositionRefresher.java:98) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) 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:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.modules.java.hints.spiimpl.JavaHintsPositionRefresher$1.run(JavaHintsPositionRefresher.java:85) at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146) 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

        Activity

          People

            Unassigned Unassigned
            vladpaln Vlad Palnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: