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

   ### Apache NetBeans version
   
   Apache NetBeans 22
   
   ### What happened
   
   ```
   java.lang.IllegalArgumentException: null for name | fo | kind: null | 
C:\Joomla\makigraRU_\plugins\content\makigra\src\Extension\Makigra.php@5643028c:50534c53
 | 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:1613)
        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:143)
        at 
org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:1019)
        at 
org.netbeans.modules.php.editor.parser.astnodes.Assignment.accept(Assignment.java:105)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        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:341)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:370)
        at 
org.netbeans.modules.php.editor.parser.astnodes.ExpressionStatement.accept(ExpressionStatement.java:51)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        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:150)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:212)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:237)
        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:143)
        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:143)
        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:1813)
        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: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:1420)
        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:2035)
   ```
   
   
   ### Language / Project Type / NetBeans Component
   
   PHP Project
   
   ### How to reproduce
   
   I don't know how to reproduce it. It's just that there was an error in the 
console while writing code in PHP
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 11 version 10.0 running on amd64; UTF-8; ru_RU (nb)
   
   ### JDK
   
   Java(TM) SE Runtime Environment 20+36-2344
   
   ### 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

Reply via email to