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

   ### Apache NetBeans version
   
   Apache NetBeans 16 release candidate
   
   ### What happened
   
   Had a Maven POM open, and on a transitive dep in the project tree selected 
option to declare as an explicit dep. Got a stack trace
   
   ```
   java.lang.NullPointerException: The errors parameter cannot be null
        at org.openide.util.Parameters.notNull(Parameters.java:64)
        at 
org.netbeans.spi.editor.hints.HintsController.setErrors(HintsController.java:75)
        at 
org.netbeans.modules.maven.hints.pom.MavenSelectionHintsTask.run(MavenSelectionHintsTask.java:69)
        at 
org.netbeans.modules.maven.hints.pom.MavenSelectionHintsTask.run(MavenSelectionHintsTask.java:52)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
   [catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
        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:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
        at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
   ```
   
   Tried a few times, getting the same error each time.
   
   ### How to reproduce
   
   Unknown whether this is reproducible from scratch.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Xubuntu 22.04.1
   
   ### JDK
   
   17.0.5
   
   ### Apache NetBeans packaging
   
   Apache NetBeans Snap Package
   
   ### Anything else
   
   Running 16-rc4.
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


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