This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The code attaching parser annotations to a document should operate under Document.render().
Attaching the potential fix. The fix is related to #33165 and #14803 and I will commit those all at once after some further testing.
Created attachment 11528 [details] Patch for read-locking of JavaEditor.processAnnotations()
Mila already commited the patch. So I consider this as fixed.