edrobal opened a new issue, #9364:
URL: https://github.com/apache/netbeans/issues/9364
### Apache NetBeans version
Apache NetBeans 29
### What happened
Annotation: An error occurred during parsing of
'/mnt/agl/nbworkspace/TPS/src/org/infolab/tps/modules/FactDiv.java'. Please
report a bug against java/source and attach dump file
'/home/chris/.netbeans/29/var/log/FactDiv_1.dump'.
Annotation: An error occurred during parsing of
'/mnt/agl/nbworkspace/TPS/src/org/infolab/tps/modules/FactDiv.java'. Please
report a bug against java/source and attach dump file
'/home/chris/.netbeans/29/var/log/FactDiv_1.dump'.
Annotation: An error occurred during parsing of
'/mnt/agl/nbworkspace/TPS/src/org/infolab/tps/modules/FactDiv.java'. Please
report a bug against java/source and attach dump file
'/home/chris/.netbeans/29/var/log/FactDiv_1.dump'.
An error occurred during parsing of
'/mnt/agl/nbworkspace/TPS/src/org/infolab/tps/modules/FactDiv.java'. Please
report a bug against java/source and attach dump file
'/home/chris/.netbeans/29/var/log/FactDiv_1.dump'.
An error occurred during parsing of
'/mnt/agl/nbworkspace/TPS/src/org/infolab/tps/modules/FactDiv.java'. Please
report a bug against java/source and attach dump file
'/home/chris/.netbeans/29/var/log/FactDiv_1.dump'.
Caused: java.lang.NullPointerException: Cannot read field "pos" because
"sym" is null
at
com.sun.tools.javac.comp.Flow$AssignAnalyzer.trackable(Flow.java:1709)
at
com.sun.tools.javac.comp.Flow$AssignAnalyzer.visitVarDef(Flow.java:2092)
at
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1082)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:445)
at com.sun.tools.javac.comp.Flow$AssignAnalyzer.scan(Flow.java:1605)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:58)
at
com.sun.tools.javac.comp.Flow$AssignAnalyzer.visitBlock(Flow.java:2106)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1152)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:445)
at com.sun.tools.javac.comp.Flow$AssignAnalyzer.scan(Flow.java:1605)
at
com.sun.tools.javac.comp.Flow$AssignAnalyzer.visitMethodDef(Flow.java:2018)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:967)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:445)
at com.sun.tools.javac.comp.Flow$AssignAnalyzer.scan(Flow.java:1605)
at
com.sun.tools.javac.comp.Flow$AssignAnalyzer.visitClassDef(Flow.java:1961)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:866)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:445)
at com.sun.tools.javac.comp.Flow$AssignAnalyzer.scan(Flow.java:1605)
at
com.sun.tools.javac.comp.Flow$AssignAnalyzer.analyzeTree(Flow.java:2742)
at
com.sun.tools.javac.comp.Flow$AssignAnalyzer.analyzeTree(Flow.java:2724)
at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:216)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1420)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1384)
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:404)
at
com.sun.tools.javac.api.JavacTaskImpl.lambda$analyze$0(JavacTaskImpl.java:379)
at
com.sun.tools.javac.api.JavacTaskImpl.invocationHelper(JavacTaskImpl.java:152)
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:379)
Caused: java.lang.IllegalStateException
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:383)
at
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:765)
at
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:425)
at
org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:90)
at
org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.toPhase(PreferredCCParser.java:702)
at
org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$3.call(PreferredCCParser.java:182)
at
org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$3.call(PreferredCCParser.java:179)
at
org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.runGuarded(PreferredCCParser.java:747)
at
org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.getOperations(PreferredCCParser.java:179)
at
org.netbeans.modules.debugger.jpda.projects.EditorContextSupport.getOperations(EditorContextSupport.java:1408)
at
org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.getOperations(EditorContextImpl.java:765)
at
org.netbeans.modules.debugger.jpda.ExpressionPool.createExpressionAt(ExpressionPool.java:186)
at
org.netbeans.modules.debugger.jpda.ExpressionPool.getExpressionAt(ExpressionPool.java:82)
at
org.netbeans.modules.debugger.jpda.actions.JPDAMethodChooserUtils.init(JPDAMethodChooserUtils.java:116)
at
org.netbeans.modules.debugger.jpda.actions.JPDAMethodChooserUtils.init(JPDAMethodChooserUtils.java:93)
at
org.netbeans.modules.debugger.jpda.ui.actions.MethodChooserSupport.init(MethodChooserSupport.java:136)
at
org.netbeans.modules.debugger.jpda.ui.actions.JPDAMethodChooserFactoryUIImpl.initChooserUI(JPDAMethodChooserFactoryUIImpl.java:48)
at
org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider.doMethodSelection(StepIntoActionProvider.java:174)
at
org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider.runAction(StepIntoActionProvider.java:114)
at
org.netbeans.modules.debugger.jpda.actions.StepIntoActionProvider$1.run(StepIntoActionProvider.java:103)
at
org.netbeans.modules.debugger.jpda.actions.JPDADebuggerActionProvider$1.run(JPDADebuggerActionProvider.java:176)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1403)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2012)
### Language / Project Type / NetBeans Component
java ant
### How to reproduce
I am tired of repeating that it is enough to use this version for it to bug.
I am thinking of going back to the less defective version 8.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Linux 6.4.0-150600.23.81-default #1 SMP PREEMPT_DYNAMIC
### JDK
Product Version: Apache NetBeans IDE 29 Java: 24.0.2; OpenJDK 64-Bit Server
VM 24.0.2+12 Runtime: OpenJDK Runtime Environment 24.0.2+12
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists