You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/17 10:16:54 UTC

[GitHub] [netbeans] orangewood2408 opened a new issue #3799: NullPointerException on code parsing

orangewood2408 opened a new issue #3799:
URL: https://github.com/apache/netbeans/issues/3799


   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   After a jsp is opened, a notification is displayed containing the following message:
   
   `java.lang.NullPointerException
   	at org.netbeans.modules.micronaut.completion.MicronautDataCompletionTask$2.run(MicronautDataCompletionTask.java:126)
   	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.micronaut.completion.MicronautDataCompletionTask.query(MicronautDataCompletionTask.java:122)
   	at org.netbeans.modules.micronaut.completion.MicronautDataCompletionProvider$MicronautDataCompletionQuery.query(MicronautDataCompletionProvider.java:64)
   	at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198)
   	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)`
   
   
   Autocompletion and class links do not work afterwards.
   
   
   
   
   ### How to reproduce
   
    After opening several jsps, the error occurs.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.5
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   8
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### 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: notifications-unsubscribe@netbeans.apache.org

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



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

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