You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "jjdunn (via GitHub)" <gi...@apache.org> on 2026/06/26 17:34:54 UTC

[I] IllegalArgumentException while debugger is running [netbeans]

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

   ### Apache NetBeans version
   
   Apache NetBeans 30
   
   ### What happened
   
   Debugger was running on a PHP 8.4.x command-line application.  While it was running I noticed an error message in the lower panel.  I was not step-tracing or doing any other activity while this happened.
   
   the relevant section of messages.log (attached) is:
   ```
   SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.csl.navigation.ClassMemberPanelUI$4
   java.lang.IllegalArgumentException: null for name | fo | kind: null | C:\Web\DhammaReg\app\commands\ReconcileOSATeachersCommand.php@59da3ae4:73e2cdc8 | VARIABLE
   	at org.netbeans.modules.php.editor.model.impl.ModelElementImpl.<init>(ModelElementImpl.java:96)
   	at org.netbeans.modules.php.editor.model.impl.ModelElementImpl.<init>(ModelElementImpl.java:89)
   	at org.netbeans.modules.php.editor.model.impl.ScopeImpl.<init>(ScopeImpl.java:62)
   	at org.netbeans.modules.php.editor.model.impl.VariableNameImpl.<init>(VariableNameImpl.java:105)
   	at org.netbeans.modules.php.editor.model.impl.VariableNameImpl.<init>(VariableNameImpl.java:101)
   	at org.netbeans.modules.php.editor.model.impl.MethodScopeImpl.createElement(MethodScopeImpl.java:101)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.createVariable(ModelVisitor.java:1633)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:876)
   	at org.netbeans.modules.php.editor.parser.astnodes.Variable.accept(Variable.java:88)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:145)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scan(ModelVisitor.java:198)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:382)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:406)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:1126)
   	at org.netbeans.modules.php.editor.parser.astnodes.ForEachStatement.accept(ForEachStatement.java:96)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:145)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scan(ModelVisitor.java:198)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:152)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:214)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:238)
   	at org.netbeans.modules.php.editor.parser.astnodes.Block.accept(Block.java:70)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:145)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scan(ModelVisitor.java:198)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:630)
   	at org.netbeans.modules.php.editor.parser.astnodes.MethodDeclaration.accept(MethodDeclaration.java:73)
   	at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:145)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scan(ModelVisitor.java:198)
   	at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scanNoLazy(ModelVisitor.java:1833)
   	at org.netbeans.modules.php.editor.model.impl.MethodScopeImpl.scan(MethodScopeImpl.java:306)
   	at org.netbeans.modules.php.editor.model.impl.MethodScopeImpl.getDeclaredReturnType(MethodScopeImpl.java:121)
   	at org.netbeans.modules.php.editor.csl.NavigatorScanner$PHPStructureItem.appendFunctionDescription(NavigatorScanner.java:431)
   	at org.netbeans.modules.php.editor.csl.NavigatorScanner$PHPMethodStructureItem.getHtml(NavigatorScanner.java:841)
   	at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:339)
   	at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:318)
   	at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:318)
   	at org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:275)
   	at org.netbeans.modules.csl.navigation.ClassMemberPanelUI$4.run(ClassMemberPanelUI.java:289)
   	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1370)
   	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:1981)
   ```
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   I don't know.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 11 Pro 25H2 build 26200.8655
   
   ### JDK
   
   Java: 26.0.1; OpenJDK 64-Bit Server VM 26.0.1+8 Runtime: OpenJDK Runtime Environment 26.0.1+8
   
   ### Apache NetBeans packaging
   
   Community provided installer
   
   ### Anything else
   
   once so far
   
   ### 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] IllegalArgumentException while debugger is running [netbeans]

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

   [messages.log](https://github.com/user-attachments/files/29391033/messages.log)


-- 
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] IllegalArgumentException while debugger is running [netbeans]

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

   https://github.com/apache/netbeans/issues/7608 has the same stack trace - didn't mention the debugger though


-- 
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] IllegalArgumentException while debugger is running [netbeans]

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

   > Is this reproducible? And if so can you create a minimal sample that reproduces the problem?
   
   no, not reproducible.  I ran the same batch process with the same large quantity of data, and the error did not occur
   
   


-- 
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] IllegalArgumentException while debugger is running [netbeans]

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

   Is this reproducible? And if so can you create a minimal sample that reproduces the problem?
   
   This might be a problem in the parser that yields `null` for parts of a variable declaration, but that needs a code sample.


-- 
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