oracle / nb-javac

nb-javac is the Java compiler plugin used by the Apache NetBeans Java Editor
GNU General Public License v2.0
20 stars 21 forks source link

Blocker: Imposssible to use on multiple projects that have more then few files each #17

Open netbeansuser2019 opened 3 years ago

netbeansuser2019 commented 3 years ago

In context: nb-javac 2.0 even with switched off all hints except "Dependency Scanning" and even if it is scoped like "Open projects" or "Project Only".

Takes possibly even minutes to finished especially if contains more then few files. So opening can take even tens (maybe even hours) of minutes to be ready for a few projects as it is still running. In any case pure compile (clean and build actions) takes a seconds to be done so that it is hard to understand what exactly nb-javac do that it needs minutes or hours to finish such scaning action. Additionally if nb-javac is uninstalled it is dramatically decreased a time so possibly to seconds. So it seems that nb-javac is really badly broken.

IDE Log is full of several:

java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:155) at com.sun.tools.javac.util.Assert.check(Assert.java:46) at com.sun.tools.javac.util.Bits.incl(Bits.java:200) at com.sun.tools.javac.comp.Flow$AssignAnalyzer.initParam(Flow.java:2198) at com.sun.tools.javac.comp.Flow$AssignAnalyzer.visitMethodDef(Flow.java:2122) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:908) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:458) at com.sun.tools.javac.comp.Flow$AssignAnalyzer.scan(Flow.java:1691) at com.sun.tools.javac.comp.Flow$AssignAnalyzer.visitClassDef(Flow.java:2064) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:804) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:458) at com.sun.tools.javac.comp.Flow$AssignAnalyzer.scan(Flow.java:1691) at com.sun.tools.javac.comp.Flow$AssignAnalyzer.analyzeTree(Flow.java:2830) at com.sun.tools.javac.comp.Flow$AssignAnalyzer.analyzeTree(Flow.java:2812) at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:220) at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1496) at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1470) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1622) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1529) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1622) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1529) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1622) at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1529) at com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:574) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651) at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:577) [catch] at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:303) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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)


java.lang.NullPointerException at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240) at com.sun.tools.javac.main.JavaCompiler.lambda$readSourceFile$3(JavaCompiler.java:930) at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:330) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:683) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1434) at com.sun.tools.javac.code.Type$ClassType.complete(Type.java:1164) at com.sun.tools.javac.code.Type$ClassType.getTypeArguments(Type.java:1085) at com.sun.tools.javac.code.Type$ClassType.isErroneous(Type.java:1120) at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:2258) at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:2337) at com.sun.tools.javac.comp.Resolve.findIdentInternal(Resolve.java:2372) at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2358) at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:2632) at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:4214) at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2434) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:745) at com.sun.tools.javac.comp.Attr.attribType(Attr.java:738) at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2615) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1815) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:725) at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1344) at org.netbeans.lib.nbjavac.services.NBAttr.visitVarDef(NBAttr.java:82) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:998) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:775) at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1478) at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:75) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1062) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1263) at org.netbeans.lib.nbjavac.services.NBAttr.visitMethodDef(NBAttr.java:69) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:908) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5520) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5403) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5241) at com.sun.tools.javac.comp.Attr.attrib(Attr.java:5186) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1436) at com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507) [catch] at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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)


java.lang.NullPointerException at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:404) at com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:451) [catch] at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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)


netbeansuser2019 commented 3 years ago

IDE Apache Netbeans 12.3 Gradle 6.8.2 Java 11.0.10

netbeansuser2019 commented 3 years ago

if it is used nb-javac 1.51 then there is no such too long scanning.

netbeansuser2019 commented 3 years ago

if it is used nb-javac 1.71 then there is no such too long scanning.

netbeansuser2019 commented 3 years ago

if it is used nb-javac 1.72 then there is no such too long scanning.

netbeansuser2019 commented 3 years ago

Even 12.5 dev version of Apache Netbeans is broken there are these issues in log:

netbeans-linux-435-on-20210531-release.zip

Product Version = Apache NetBeans IDE DEV (Build dev-0fb44eb02182e92bbb654c67781358c301fada94) Runtime = OpenJDK Runtime Environment 11.0.10+9-LTS System Locale; Encoding = en_US (nb); UTF-8

messages.log contains several:

java.lang.NoSuchMethodException: com.sun.tools.javac.comp.Enter.unenter(com.sun.tools.javac.tree.JCTree$JCCompilationUnit, com.sun.tools.javac.tree.JCTree) at java.base/java.lang.Class.getDeclaredMethod(Class.java:2475) at org.netbeans.api.java.source.TreeUtilities.unenter(TreeUtilities.java:927) at org.netbeans.api.java.source.TreeUtilities.attributeTreeTo(TreeUtilities.java:973) at org.netbeans.api.java.source.TreeUtilities.reattributeTreeTo(TreeUtilities.java:884) at org.netbeans.modules.java.completion.BaseTask.getEnvImpl(BaseTask.java:363) at org.netbeans.modules.java.completion.BaseTask.getCompletionEnvironment(BaseTask.java:270) at org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:316) at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:60) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) 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)

WARNING [org.netbeans.modules.editor.hints.AnnotationHolder]: null ErrorDescription in layer org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker-hints. WARNING [null]: Last record repeated again.

java.lang.NullPointerException at com.sun.tools.javac.comp.Check$Validator.visitTypeIdent(Check.java:1532) at com.sun.tools.javac.tree.JCTree$JCPrimitiveTypeTree.accept(JCTree.java:2499) at com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1551) at com.sun.tools.javac.comp.Check.validate(Check.java:1422) at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1333) at org.netbeans.lib.nbjavac.services.NBAttr.visitVarDef(NBAttr.java:83) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:998) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5302) at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:1005) at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:64) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:804) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5302) at com.sun.tools.javac.comp.Attr.attrib(Attr.java:5247) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1436) at com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:518) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:669) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:521) [catch] at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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)

WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: MultiPassCompileWorker caused an exception

also in *.sig.dump:

----- Trees: ------------------------------------------------------- METHOD: ----- Stack trace: --------------------------------------------- com.sun.tools.javac.util.CouplingAbort at com.sun.tools.javac.model.LazyTreeLoader.couplingError(LazyTreeLoader.java:61) at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:333) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:908) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:184) at com.sun.tools.javac.comp.TypeEnter$MembersPhase.finishClass(TypeEnter.java:1115) at com.sun.tools.javac.comp.TypeEnter$MembersPhase.runPhase(TypeEnter.java:1055) at com.sun.tools.javac.comp.TypeEnter$Phase.doCompleteEnvs(TypeEnter.java:302) at com.sun.tools.javac.comp.TypeEnter$AbstractMembersPhase.doCompleteEnvs(TypeEnter.java:961) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:271) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:286) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:286) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:286) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:286) at com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:286) at com.sun.tools.javac.comp.TypeEnter.complete(TypeEnter.java:218) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:684) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1435) at com.sun.tools.javac.comp.Enter.complete(Enter.java:820) at com.sun.tools.javac.comp.Enter.main(Enter.java:797) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1145) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:408) at com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:460) at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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)