terax6669 commented on PR #6712:
URL: https://github.com/apache/netbeans/pull/6712#issuecomment-1816899684

   I keep using the dev build throughout the day and I just noticed a red icon 
on my status bar. I don't know when it occured and if it's related to the PR, 
but I'll paste my IDE log here.
   
   
![image](https://github.com/apache/netbeans/assets/19204073/f7cf4462-0e55-45b3-ac2d-fa5cc20a4890)
   
   ```
   WARNING [org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask]
   java.lang.NullPointerException: Cannot invoke 
"org.openide.filesystems.FileObject.canWrite()" because "fileObject" is null
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.visit(IntroduceSuggestion.java:291)
        at 
org.netbeans.modules.php.editor.parser.astnodes.FieldAccess.accept(FieldAccess.java:58)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:786)
        at 
org.netbeans.modules.php.editor.parser.astnodes.ArrayDimension.accept(ArrayDimension.java:64)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:158)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:171)
        at 
org.netbeans.modules.php.editor.parser.astnodes.ArrayAccess.accept(ArrayAccess.java:63)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:182)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:199)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:340)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:422)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:454)
        at 
org.netbeans.modules.php.editor.parser.astnodes.IfStatement.accept(IfStatement.java:85)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:371)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:398)
        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:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:422)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:454)
        at 
org.netbeans.modules.php.editor.parser.astnodes.IfStatement.accept(IfStatement.java:85)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:396)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:419)
        at 
org.netbeans.modules.php.editor.parser.astnodes.FunctionDeclaration.accept(FunctionDeclaration.java:144)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:485)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:531)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:252)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:279)
        at 
org.netbeans.modules.php.editor.parser.astnodes.ClassDeclaration.accept(ClassDeclaration.java:140)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        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.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:686)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:143)
        at 
org.netbeans.modules.php.editor.parser.astnodes.NamespaceDeclaration.accept(NamespaceDeclaration.java:88)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:143)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion$IntroduceFixVisitor.scan(IntroduceSuggestion.java:185)
        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:517)
        at 
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:573)
        at 
org.netbeans.modules.php.editor.parser.astnodes.Program.accept(Program.java:67)
        at 
org.netbeans.modules.php.editor.verification.IntroduceSuggestion.invoke(IntroduceSuggestion.java:146)
        at 
org.netbeans.modules.php.editor.verification.PHPHintsProvider$RulesRunnerImpl.adjustAndInvoke(PHPHintsProvider.java:221)
        at 
org.netbeans.modules.php.editor.verification.PHPHintsProvider$RulesRunnerImpl.run(PHPHintsProvider.java:202)
        at 
org.netbeans.modules.php.editor.verification.PHPHintsProvider.computeSuggestions(PHPHintsProvider.java:102)
        at 
org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask$1.run(SuggestionsTask.java:131)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
        at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:132)
        at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:116)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
        at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
        at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
        at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
        at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
   Caused: org.netbeans.modules.parsing.spi.ParseException
        at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186)
        at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
   [catch] at 
org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask.run(SuggestionsTask.java:97)
        at 
org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask.run(SuggestionsTask.java:54)
        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:288)
        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:572)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        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)
        at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2035)
   ```


-- 
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-unsubscr...@netbeans.apache.org

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


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

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

Reply via email to