mbien commented on PR #8019:
URL: https://github.com/apache/netbeans/pull/8019#issuecomment-2890866495

   got the same NPE again while testing 
(https://github.com/apache/netbeans/pull/8019#issuecomment-2741293647):
   
   <details>
   
   ```
   java.lang.NullPointerException: Cannot invoke 
"com.sun.source.util.TreePath.getLeaf()" because "path" is null
        at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:66)
        at 
org.netbeans.modules.debugger.jpda.ui.values.ComputeInlineValues.computeVariables(ComputeInlineValues.java:113)
        at 
org.netbeans.modules.debugger.jpda.ui.models.InlineValueComputerImpl$ComputeInlineVariablesFactory$1.run(InlineValueComputerImpl.java:361)
        at 
org.netbeans.modules.debugger.jpda.ui.models.InlineValueComputerImpl$ComputeInlineVariablesFactory$1.run(InlineValueComputerImpl.java:338)
   [catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
        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:545)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
        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)
        at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2018)
   ```
   
   </details>
   
   
   > I tried to reproduce, but does not happen for me. Is there something 
specific you do? (I did a merge, so there's a possibility that fixed it, 
although I'd be surprised if it did.)
   
   Oops, I just noticed that this problem is already in NB 26 - so we can 
probably ignore it here since it is not a regression:
   
![image](https://github.com/user-attachments/assets/8fad8181-1045-431d-813d-7d511469a461)
   
   I don't have a reliable reproducer yet unfortunately. At some point the 
`View` menu can get out-of-sync if the state is toggled by other means, e.g 
`alt-I` hotkey or the checkbox in `options -> inline hints`. The same happened 
while testing the new value hints - but it turns out its nothing new.


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