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.
IllegalStateException is thrown when doing compilation while editor has focus. Steps to reproduce: 1) Open java file in editor 2) Modify that file 3) Press F9 Exception is thrown. Compilation is succesfully finished.
Created attachment 11864 [details] exc stack trace
This is very annoying bug. I forgot to mention that the exception is printed to Output window and thus user could think that the problem can be in compiled code. Could it be at least evaluated?
reassigned to openide/awt
Reassign to actions.
Probably SharedClassObject could replane its property changes into the AWT thread.
For sure not SharedClassObject has to do that. Also action itself not. The question is which part from the stack trace has to be called from AWT thread first, then its client has to do that. Actions has to be called from AWT thread, so the changle listener is the last candidate, but I'd like to now whether also the nodes should be manipulated also from AWT thread, then somebody else is responsible fot that.
Related to changes in threading model in actions.
*** This issue has been marked as a duplicate of 36681 ***
Verified.