[jira] [Issue Comment Deleted] (NETBEANS-2956) AssertionError during background scan of a Java 12 project
[ https://issues.apache.org/jira/browse/NETBEANS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis updated NETBEANS-2956: - Comment: was deleted (was: By the way, I cannot share my source because it is proprietary. I do not know if this problem only happens under certain cases, depending on exactly what source is being pasted. I didn't spend time doing experiments to try to narrow down exactly when this exception does/doesn't happen.) > AssertionError during background scan of a Java 12 project > -- > > Key: NETBEANS-2956 > URL: https://issues.apache.org/jira/browse/NETBEANS-2956 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 >Reporter: Travis >Priority: Major > > It seems that there are still some tricky bugs lurking in Netbeans when > running with Java 12 projects open. > > My environment is: > Netbeans 11.1 <-- a totally fresh installation, no plugins installed (not > even nb-javac) > OpenJDK 12 <-- Netbeans is running on this JDK, and also my project is built > using this JDK > Gradle 5.5 > Windows 10 > > During background scan of the attached project, I get the following > exception: > java.lang.AssertionError: Analyzer error when processing: container.drink(new > FooBuilder(slug).matches(bug));java.lang.AssertionError: Analyzer error > when processing: container.drink(new FooBuilder(slug).matches(bug)); at > jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162) at > jdk.compiler/com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:568) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:539) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer.flush(Analyzer.java:576) at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1407) > at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1375) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:396) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:399)[catch] > at > org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:245) > 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$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > 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$Work.scanFiles(RepositoryUpdater.java:3255) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785) > 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
[jira] [Issue Comment Deleted] (NETBEANS-2956) AssertionError during background scan of a Java 12 project
[ https://issues.apache.org/jira/browse/NETBEANS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis updated NETBEANS-2956: - Comment: was deleted (was: I am also going to try to reproduce this after doing a fresh clean installation of Netbeans 11.1 again, just in case that makes a difference. And I will use the default Gradle plugin this time, since in other cases I believe the older Gradle plugin is perhaps indirectly related to some of the exceptions I was getting. I had tried both Gradle plugins before, but this time I will avoid uninstalling or installing anything other than the default plugins that come with the installation, to rule out any question that the problem is related only to my own set of installed plugins.) > AssertionError during background scan of a Java 12 project > -- > > Key: NETBEANS-2956 > URL: https://issues.apache.org/jira/browse/NETBEANS-2956 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 >Reporter: Travis >Priority: Major > > It seems that there are still some tricky bugs lurking in Netbeans when > running with Java 12 projects open. > > My environment is: > Netbeans 11.1 <-- a totally fresh installation, no plugins installed (not > even nb-javac) > OpenJDK 12 <-- Netbeans is running on this JDK, and also my project is built > using this JDK > Gradle 5.5 > Windows 10 > > During background scan of the attached project, I get the following > exception: > java.lang.AssertionError: Analyzer error when processing: container.drink(new > FooBuilder(slug).matches(bug));java.lang.AssertionError: Analyzer error > when processing: container.drink(new FooBuilder(slug).matches(bug)); at > jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162) at > jdk.compiler/com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:568) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:539) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer.flush(Analyzer.java:576) at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1407) > at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1375) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:396) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:399)[catch] > at > org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:245) > 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$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > 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$Work.scanFiles(RepositoryUpdater.java:3255) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) > at >
[jira] [Issue Comment Deleted] (NETBEANS-2956) AssertionError during background scan of a Java 12 project
[ https://issues.apache.org/jira/browse/NETBEANS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis updated NETBEANS-2956: - Comment: was deleted (was: I'm aware that my previous comment showed a different exception than the one in the original description, and that this may represent two unrelated bugs. This is about the 5th or 6th random exception I've seen after we migrated our project from Oracle JDK 8 to OpenJDK 12. Netbeans was my favorite stable IDE prior to that. Now I'm just getting more and more discouraged about the number of scary and complex looking exceptions that I'm getting while attempting to do my normal work. And the various exceptions are totally blocking me from using the IDE as well. I'm forced to use another IDE for the time being. But I am still willing to continue to spent a small portion of my time contributing to the Netbeans project by attempting to provide helpful tickets about the problems I'm getting. That's all the time that I have for this today, but later I will still try to reduce my project down to a tiny obfuscated code example that reproduces one of the exceptions mentioned here.) > AssertionError during background scan of a Java 12 project > -- > > Key: NETBEANS-2956 > URL: https://issues.apache.org/jira/browse/NETBEANS-2956 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 >Reporter: Travis >Priority: Major > > It seems that there are still some tricky bugs lurking in Netbeans when > running with Java 12 projects open. > > My environment is: > Netbeans 11.1 <-- a totally fresh installation, no plugins installed (not > even nb-javac) > OpenJDK 12 <-- Netbeans is running on this JDK, and also my project is built > using this JDK > Gradle 5.5 > Windows 10 > > During background scan of the attached project, I get the following > exception: > java.lang.AssertionError: Analyzer error when processing: container.drink(new > FooBuilder(slug).matches(bug));java.lang.AssertionError: Analyzer error > when processing: container.drink(new FooBuilder(slug).matches(bug)); at > jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162) at > jdk.compiler/com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:568) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:539) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer.flush(Analyzer.java:576) at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1407) > at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1375) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:396) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:399)[catch] > at > org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:245) > 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$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > 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 >
[jira] [Issue Comment Deleted] (NETBEANS-2956) AssertionError during background scan of a Java 12 project
[ https://issues.apache.org/jira/browse/NETBEANS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis updated NETBEANS-2956: - Comment: was deleted (was: I've got a little bit of time for this today. I chopped my large multi-project down considerably by removing about half the source code, and all of the test code, and simplifying the gradle scripts quite a bit. I confirmed that it still builds cleanly with Gradle on the command line. Afterward, I loaded it into my Netbeans 11.1 fresh installation (no nb-javac, no user preferences changes, etc). I got the same exception mentioned previously. But this project is still too big for me to attach. I'll continue narrowing it down... By the way, I did confirm again that there is no such exception when loading a project with only one tiny source file. So I still do think there is something specific about my source code that's angering Netbeans. ) > AssertionError during background scan of a Java 12 project > -- > > Key: NETBEANS-2956 > URL: https://issues.apache.org/jira/browse/NETBEANS-2956 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 >Reporter: Travis >Priority: Major > > It seems that there are still some tricky bugs lurking in Netbeans when > running with Java 12 projects open. > > My environment is: > Netbeans 11.1 <-- a totally fresh installation, no plugins installed (not > even nb-javac) > OpenJDK 12 <-- Netbeans is running on this JDK, and also my project is built > using this JDK > Gradle 5.5 > Windows 10 > > During background scan of the attached project, I get the following > exception: > java.lang.AssertionError: Analyzer error when processing: container.drink(new > FooBuilder(slug).matches(bug));java.lang.AssertionError: Analyzer error > when processing: container.drink(new FooBuilder(slug).matches(bug)); at > jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162) at > jdk.compiler/com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:568) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:539) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer.flush(Analyzer.java:576) at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1407) > at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1375) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:396) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:399)[catch] > at > org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:245) > 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$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > 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$Work.scanFiles(RepositoryUpdater.java:3255) > at >
[jira] [Issue Comment Deleted] (NETBEANS-2956) AssertionError during background scan of a Java 12 project
mpiler/com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:396) at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506) at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:399)[catch] at org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:245) 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$Work$3.call(RepositoryUpdater.java:3300) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) 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$Work.scanFiles(RepositoryUpdater.java:3255) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785) 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) -- This message was sent by Atlassian Jira (v8.3.2#803003) - 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
[jira] [Issue Comment Deleted] (NETBEANS-2956) AssertionError during background scan of a Java 12 project
[ https://issues.apache.org/jira/browse/NETBEANS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis updated NETBEANS-2956: - Comment: was deleted (was: Ok, it took me over 4 hours of effort, but I finally narrowed things down to a tiny project which demonstrates a specific bug. I will attach a .zip here soon. The exception I get during background scan on this project is: java.lang.AssertionError: Analyzer error when processing: container.drink(new FooBuilder(slug).matches(bug));java.lang.AssertionError: Analyzer error when processing: container.drink(new FooBuilder(slug).matches(bug)); at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162) at jdk.compiler/com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:568) at jdk.compiler/com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:539) at jdk.compiler/com.sun.tools.javac.comp.Analyzer.flush(Analyzer.java:576) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1407) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1375) at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:396) at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506) at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:399)[catch] at org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:245) 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$Work$3.call(RepositoryUpdater.java:3300) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) 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$Work.scanFiles(RepositoryUpdater.java:3255) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785) 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
[jira] [Issue Comment Deleted] (NETBEANS-2956) AssertionError during background scan of a Java 12 project
[ https://issues.apache.org/jira/browse/NETBEANS-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis updated NETBEANS-2956: - Comment: was deleted (was: Yes this happened with nb-javac 1.6 installed, in all cases. I will try to create and attach a sample project whenever I can get some time for this. But that might not be soon, just due to time limitations.) > AssertionError during background scan of a Java 12 project > -- > > Key: NETBEANS-2956 > URL: https://issues.apache.org/jira/browse/NETBEANS-2956 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0, 11.1 >Reporter: Travis >Priority: Major > > It seems that there are still some tricky bugs lurking in Netbeans when > running with Java 12 projects open. > > My environment is: > Netbeans 11.1 <-- a totally fresh installation, no plugins installed (not > even nb-javac) > OpenJDK 12 <-- Netbeans is running on this JDK, and also my project is built > using this JDK > Gradle 5.5 > Windows 10 > > During background scan of the attached project, I get the following > exception: > java.lang.AssertionError: Analyzer error when processing: container.drink(new > FooBuilder(slug).matches(bug));java.lang.AssertionError: Analyzer error > when processing: container.drink(new FooBuilder(slug).matches(bug)); at > jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162) at > jdk.compiler/com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:568) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:539) > at jdk.compiler/com.sun.tools.javac.comp.Analyzer.flush(Analyzer.java:576) at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1407) > at > jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1375) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:396) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:506) > at > jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:399)[catch] > at > org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:245) > 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$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > 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$Work.scanFiles(RepositoryUpdater.java:3255) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785) > 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 >