matthiasblaesing commented on issue #3913:
URL: https://github.com/apache/netbeans/issues/3913#issuecomment-1175348299

   This is reproduce, although it took time on my notebook. I activated more 
`On Save` actions (in the Options `Editor` -> `On Save`). It shows as a classic 
EDT block, i.e. the main window does not repaint anymore.
   
   From that stacktraces @syco provided, I think we see a deadlock, because the 
EDT holds either a read or write lock on the document and tries to invoke the 
ParserManager, while the Thread named `ModuleActions` is the already executing 
a task in the ParserManager and then tries to write lock the document.
   
   When I managed to reproduce this, in the output I see the most probably 
right hint:
   
   > WARNING [org.netbeans.modules.parsing.impl.TaskProcessor]: 
ParserManager.parse called in AWT event thread by: 
org.netbeans.modules.micronaut.hyperlink.MicronautJavaHyperlinkProvider.getPropertyName(MicronautJavaHyperlinkProvider.java:151)
   
   @dbalek could you please have a look at this? Is there a way to not jump 
into the `ParserManager` when the hyperlink provider is used? Maybe gathering 
the information can be moved of the EDT and then used from the EDT.


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