Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.4
-
None
-
Windows 10, Java 16.0.1
Description
Hello,
This exception was probably caused by editing a class in which a syntax error occurs.
Please help
Thank you
java.lang.NullPointerException at java.base/java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1032) at java.base/java.util.Collections$UnmodifiableList.<init>(Collections.java:1314) at java.base/java.util.Collections.unmodifiableList(Collections.java:1299) at com.sun.tools.javac.code.Symbol$ModuleSymbol.getDirectives(Symbol.java:1055) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:277) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:216) at com.sun.tools.javac.tree.JCTree$JCModuleDecl.accept(JCTree.java:2880) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:293) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:216) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:117) at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:148) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitCompilationUnit(ElementScanningTask.java:239) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitCompilationUnit(ElementScanningTask.java:216) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:605) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:293) at org.netbeans.modules.java.navigation.ElementScanningTask.runImpl(ElementScanningTask.java:126) at org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:98) at org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:79)[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: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)