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.
When exception is thrown during opening editor flag initialized is not set. It results in forever waiting when editor API is called next time. I will attach example of exception call stack and hanging AWT thread.
It happens with latest dev build NetBeans IDE Dev (Build 080619).
Created attachment 63095 [details] Exception and AWT thread
Bug prior to 7.0, not touched for the last 2 years --> P4.
I think this code has been changes since. If still a problem please reopen.
I did not check current code. Issue was that some flag was not set when exception was thrown and it results in hang. I suggest to consider using try finally to be sure flag is set.
I am sorry but you would have to be more specific in the current code what should be changed. Almost no line from the exception are at the original places. I don't know flag in what class should be protected by try-finally. Still closing as incomplete.