neilcsmith-net opened a new issue, #4411:
URL: https://github.com/apache/netbeans/issues/4411

   ### Body
   
   The code introduced in #4391 to address #4044 causes a lot of error 
notifications / NPE reports.  Adding this to track for 15-rc2.  Seems possibly 
to only affect projects using Java modules.
   
   Stack trace -
   
   ```
   SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.parsing.ui.indexing.errors.ErrorAnnotator$1
   java.lang.NullPointerException: Cannot invoke "java.util.Set.stream()" 
because "this.moduleLocations" is null
        at 
org.netbeans.modules.java.source.parsing.PatchModuleFileManager.fixLocation(PatchModuleFileManager.java:299)
        at 
org.netbeans.modules.java.source.parsing.PatchModuleFileManager.getJavaFileForInput(PatchModuleFileManager.java:259)
        at 
org.netbeans.modules.java.source.parsing.ProxyFileManager.getJavaFileForInput(ProxyFileManager.java:392)
        at 
com.sun.tools.javac.code.ModuleFinder.getModuleInfoFromLocation(ModuleFinder.java:285)
        at 
com.sun.tools.javac.code.ModuleFinder.findSingleModule(ModuleFinder.java:200)
   ```
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer in the Apache NetBeans 
project.


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