You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "edrobal (via GitHub)" <gi...@apache.org> on 2025/12/14 16:06:39 UTC

[I] java.lang.NullPointerException Caused: java.lang.IllegalStateException [netbeans]

edrobal opened a new issue, #9085:
URL: https://github.com/apache/netbeans/issues/9085

   ### Apache NetBeans version
   
   Apache NetBeans 28
   
   ### What happened
   
   During debug process this error happened.
   java.lang.NullPointerException
   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:2018)
   
   
   ### Language / Project Type / NetBeans Component
   
   debugger ?
   
   ### How to reproduce
   
   Don't know
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Linux
   
   ### JDK
   
   24.0.2
   
   ### 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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] java.lang.NullPointerException Caused: java.lang.IllegalStateException [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #9085:
URL: https://github.com/apache/netbeans/issues/9085#issuecomment-3760269204

   without reproducer this has a very low chance to be picked up


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] java.lang.NullPointerException Caused: java.lang.IllegalStateException [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien closed issue #9085: java.lang.NullPointerException Caused: java.lang.IllegalStateException
URL: https://github.com/apache/netbeans/issues/9085


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists