Ross Lamont created NETBEANS-660:
------------------------------------

             Summary: Code completion and annotation failures when multiple 
code errors on page
                 Key: NETBEANS-660
                 URL: https://issues.apache.org/jira/browse/NETBEANS-660
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 9.0
         Environment: Mac OS X 10.13.4,

Netbeans Build 401 NetCAT
            Reporter: Ross Lamont


Occurred when attempting to write code in a method where another method is also 
erroneous (with unclosed blocks), eg:

 
{code:java}
private void executeAppendActions(List<MergeRecord> actionList, 
AssemblyContextBase context) {
    int counter =0
}
private void assessAppendActions(BuildIndex from, List<MergeRecord> actionList, 
AssemblyContextBase context) {
    if (this.getSize()==1 && this.get)
}
{code}
 

Was correcting first method.

Incidentally, there are a lot of things which log and rethrow by the looks, 
probably a bit of a code smell there.

Problem clears itself when both 2nd block is cleaned up.

---------------------------

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 org.netbeans.modules.java.hints.bugs.InfiniteRecursion.run

java.lang.AssertionError: 
com.componentcorp.parsing.index.BuildIndexImpl.MergeRecord

at com.sun.tools.javac.util.Assert.error(Assert.java:162)

at com.sun.tools.javac.util.Assert.check(Assert.java:104)

at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:539)

at com.sun.tools.javadoc.main.JavadocEnter.visitClassDef(JavadocEnter.java:98)

at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitClassDef(NBJavadocEnter.java:77)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)

at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:722)

at com.sun.tools.javadoc.main.JavadocEnter.visitClassDef(JavadocEnter.java:98)

at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitClassDef(NBJavadocEnter.java:77)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)

at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:722)

at com.sun.tools.javadoc.main.JavadocEnter.visitClassDef(JavadocEnter.java:98)

at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitClassDef(NBJavadocEnter.java:77)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)

at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:429)

at com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:88)

at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:86)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:531)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)

at com.sun.tools.javac.comp.Enter.complete(Enter.java:812)

at org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:66)

at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1135)

at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:392)

at 
org.netbeans.modules.java.source.nbjavac.parsing.TreeLoader.loadTreeFor(TreeLoader.java:190)

at 
com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel(JavacElements.java:806)

at 
com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel(JavacElements.java:832)

at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:414)

at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:404)

at org.netbeans.lib.nbjavac.services.NBJavacTrees.getPath(NBJavacTrees.java:69)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.resolveElementValue(ArithmeticUtilities.java:442)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.resolve(ArithmeticUtilities.java:490)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitMemberSelect(ArithmeticUtilities.java:390)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitMemberSelect(ArithmeticUtilities.java:197)

at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2124)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.scan(ArithmeticUtilities.java:241)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitBinary(ArithmeticUtilities.java:527)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitBinary(ArithmeticUtilities.java:197)

at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:2005)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.scan(ArithmeticUtilities.java:241)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.scan(ArithmeticUtilities.java:197)

at com.sun.source.util.TreeScanner.visitParenthesized(TreeScanner.java:572)

at com.sun.tools.javac.tree.JCTree$JCParens.accept(JCTree.java:1861)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.scan(ArithmeticUtilities.java:234)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities.compute(ArithmeticUtilities.java:178)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.visitConditional(InfiniteRecursion.java:463)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.visitIf(InfiniteRecursion.java:454)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.visitIf(InfiniteRecursion.java:227)

at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1439)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.scan(InfiniteRecursion.java:285)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.scan(InfiniteRecursion.java:227)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.scan(InfiniteRecursion.java:298)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.scan(InfiniteRecursion.java:227)

at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)

at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion.run(InfiniteRecursion.java:152)

Caused: java.lang.reflect.InvocationTargetException

at jdk.internal.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.AssertionError: 
com.componentcorp.parsing.index.BuildIndexImpl.MergeRecord

at com.sun.tools.javac.util.Assert.error(Assert.java:162)

at com.sun.tools.javac.util.Assert.check(Assert.java:104)

at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:539)

at com.sun.tools.javadoc.main.JavadocEnter.visitClassDef(JavadocEnter.java:98)

at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitClassDef(NBJavadocEnter.java:77)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)

at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:722)

at com.sun.tools.javadoc.main.JavadocEnter.visitClassDef(JavadocEnter.java:98)

at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitClassDef(NBJavadocEnter.java:77)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)

at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:722)

at com.sun.tools.javadoc.main.JavadocEnter.visitClassDef(JavadocEnter.java:98)

at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitClassDef(NBJavadocEnter.java:77)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)

at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:429)

at com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:88)

at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:86)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:531)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)

at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)

at com.sun.tools.javac.comp.Enter.complete(Enter.java:812)

at org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:66)

at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1135)

at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:392)

at 
org.netbeans.modules.java.source.nbjavac.parsing.TreeLoader.loadTreeFor(TreeLoader.java:190)

at 
com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel(JavacElements.java:806)

at 
com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel(JavacElements.java:832)

at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:414)

at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:404)

at org.netbeans.lib.nbjavac.services.NBJavacTrees.getPath(NBJavacTrees.java:69)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.resolveElementValue(ArithmeticUtilities.java:442)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.resolve(ArithmeticUtilities.java:490)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitMemberSelect(ArithmeticUtilities.java:390)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitMemberSelect(ArithmeticUtilities.java:197)

at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2124)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.scan(ArithmeticUtilities.java:241)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitBinary(ArithmeticUtilities.java:527)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitBinary(ArithmeticUtilities.java:197)

at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:2005)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.scan(ArithmeticUtilities.java:241)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.scan(ArithmeticUtilities.java:197)

at com.sun.source.util.TreeScanner.visitParenthesized(TreeScanner.java:572)

at com.sun.tools.javac.tree.JCTree$JCParens.accept(JCTree.java:1861)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.scan(ArithmeticUtilities.java:234)

at 
org.netbeans.modules.java.hints.ArithmeticUtilities.compute(ArithmeticUtilities.java:178)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.visitConditional(InfiniteRecursion.java:463)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.visitIf(InfiniteRecursion.java:454)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.visitIf(InfiniteRecursion.java:227)

at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1439)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.scan(InfiniteRecursion.java:285)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.scan(InfiniteRecursion.java:227)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.scan(InfiniteRecursion.java:298)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion$RecursionVisitor.scan(InfiniteRecursion.java:227)

at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)

at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.bugs.InfiniteRecursion.run(InfiniteRecursion.java:152)

at jdk.internal.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 org.netbeans.modules.java.hints.AddOverrideAnnotation.run

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.java.hints.AddOverrideAnnotation.run(AddOverrideAnnotation.java:68)

Caused: java.lang.reflect.InvocationTargetException

at jdk.internal.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.java.hints.AddOverrideAnnotation.run(AddOverrideAnnotation.java:68)

at jdk.internal.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 org.netbeans.modules.javadoc.hints.JavadocHint.errorHint

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.javadoc.hints.JavadocHint.errorHint(JavadocHint.java:172)

Caused: java.lang.reflect.InvocationTargetException

at jdk.internal.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:203)

at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:904)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.javadoc.hints.JavadocHint.errorHint(JavadocHint.java:172)

at jdk.internal.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:203)

at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:904)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 org.netbeans.modules.java.hints.jdk.AnnotationProcessors.oGSA

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.java.hints.jdk.AnnotationProcessors.oGSA(AnnotationProcessors.java:55)

Caused: java.lang.reflect.InvocationTargetException

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.java.hints.jdk.AnnotationProcessors.oGSA(AnnotationProcessors.java:55)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 org.netbeans.modules.java.hints.MissingHashCode.run

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.java.editor.codegen.EqualsHashCodeGenerator.overridesHashCodeAndEquals(EqualsHashCodeGenerator.java:229)

at org.netbeans.modules.java.hints.MissingHashCode.run(MissingHashCode.java:71)

Caused: java.lang.reflect.InvocationTargetException

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.java.editor.codegen.EqualsHashCodeGenerator.overridesHashCodeAndEquals(EqualsHashCodeGenerator.java:229)

at org.netbeans.modules.java.hints.MissingHashCode.run(MissingHashCode.java:71)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 
org.netbeans.modules.j2ee.jpa.verification.rules.entity.OnlyEntityOrMappedSuperclassCanUseIdClass.apply

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.j2ee.jpa.model.ModelUtils.createJPAProblemContext(ModelUtils.java:317)

at 
org.netbeans.modules.j2ee.jpa.model.ModelUtils.getOrCreateCachedContext(ModelUtils.java:274)

at 
org.netbeans.modules.j2ee.jpa.verification.rules.entity.OnlyEntityOrMappedSuperclassCanUseIdClass.apply(OnlyEntityOrMappedSuperclassCanUseIdClass.java:62)

Caused: java.lang.reflect.InvocationTargetException

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.j2ee.jpa.model.ModelUtils.createJPAProblemContext(ModelUtils.java:317)

at 
org.netbeans.modules.j2ee.jpa.model.ModelUtils.getOrCreateCachedContext(ModelUtils.java:274)

at 
org.netbeans.modules.j2ee.jpa.verification.rules.entity.OnlyEntityOrMappedSuperclassCanUseIdClass.apply(OnlyEntityOrMappedSuperclassCanUseIdClass.java:62)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 
org.netbeans.modules.j2ee.jpa.verification.rules.entity.QueriesProperlyDefined.apply

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.j2ee.jpa.model.ModelUtils.createJPAProblemContext(ModelUtils.java:317)

at 
org.netbeans.modules.j2ee.jpa.model.ModelUtils.getOrCreateCachedContext(ModelUtils.java:274)

at 
org.netbeans.modules.j2ee.jpa.verification.rules.entity.QueriesProperlyDefined.apply(QueriesProperlyDefined.java:61)

Caused: java.lang.reflect.InvocationTargetException

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.j2ee.jpa.model.ModelUtils.createJPAProblemContext(ModelUtils.java:317)

at 
org.netbeans.modules.j2ee.jpa.model.ModelUtils.getOrCreateCachedContext(ModelUtils.java:274)

at 
org.netbeans.modules.j2ee.jpa.verification.rules.entity.QueriesProperlyDefined.apply(QueriesProperlyDefined.java:61)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 org.netbeans.modules.java.hints.bugs.Unbalanced$Collection.before

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.java.hints.bugs.Unbalanced$Collection.testType(Unbalanced.java:211)

at 
org.netbeans.modules.java.hints.bugs.Unbalanced$Collection.testElement(Unbalanced.java:230)

at 
org.netbeans.modules.java.hints.bugs.Unbalanced$Collection.before(Unbalanced.java:241)

Caused: java.lang.reflect.InvocationTargetException

at jdk.internal.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:680)

at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2124)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:508)

at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1656)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at 
com.sun.source.util.TreeScanner.visitExpressionStatement(TreeScanner.java:433)

at 
com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1466)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)

at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:206)

at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:904)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.java.hints.bugs.Unbalanced$Collection.testType(Unbalanced.java:211)

at 
org.netbeans.modules.java.hints.bugs.Unbalanced$Collection.testElement(Unbalanced.java:230)

at 
org.netbeans.modules.java.hints.bugs.Unbalanced$Collection.before(Unbalanced.java:241)

at jdk.internal.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:680)

at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2124)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:508)

at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1656)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at 
com.sun.source.util.TreeScanner.visitExpressionStatement(TreeScanner.java:433)

at 
com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1466)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)

at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:206)

at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:904)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:187)

at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:812)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)

at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:144)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:701)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:245)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at org.netbeans.modules.java.hints.spiimpl.Hacks.parseFQNType(Hacks.java:150)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:525)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getPackageElement before 
the TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetPackageElement(JavacElements.java:152)

at 
com.sun.tools.javac.model.JavacElements.getPackageElement(JavacElements.java:142)

at 
com.sun.tools.javac.model.JavacElements.getPackageElement(JavacElements.java:83)

at 
org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:633)

at 
org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:477)

at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2257)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:499)

at 
org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:477)

at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2124)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:499)

at 
org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:477)

at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2124)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:499)

at 
org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:477)

at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2124)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)

at com.sun.source.util.TreeScanner.visitPackage(TreeScanner.java:158)

at com.sun.tools.javac.tree.JCTree$JCPackageDecl.accept(JCTree.java:630)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:142)

at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:593)

at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)

at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)

at 
org.netbeans.modules.java.editor.imports.ComputeImports.doComputeCandidates(ComputeImports.java:242)

at 
org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:212)

at 
org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:170)

at 
org.netbeans.modules.java.hints.errors.ImportClass.getCandidateFQNs(ImportClass.java:348)

at org.netbeans.modules.java.hints.errors.ImportClass.run(ImportClass.java:185)

at 
org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:123)

at 
org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:87)

at 
org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:33)

[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

INFO 
[org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]:
 org.netbeans.modules.javadoc.hints.JavadocHint.createHint

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.javadoc.hints.JavadocHint.createHint(JavadocHint.java:92)

Caused: java.lang.reflect.InvocationTargetException

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scanDoNotGoDeeper(HintsInvoker.java:711)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeSuggestions(HintsInvoker.java:385)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at 
org.netbeans.modules.javadoc.hints.JavadocHint.createHint(JavadocHint.java:92)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

[catch] at 
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scanDoNotGoDeeper(HintsInvoker.java:711)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeSuggestions(HintsInvoker.java:385)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

SEVERE [org.openide.util.Exceptions]

java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.

at com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:881)

at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:169)

at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:158)

at com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:83)

at org.netbeans.modules.java.hints.spiimpl.Hacks.parseFQNType(Hacks.java:150)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:525)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeSuggestions(HintsInvoker.java:450)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221)

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.run(HintsTask.java:114)

at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)

[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)

at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)

at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)

at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)

at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

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)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to