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.
Steps to reproduce: - run long lasting find usages - open first found occurrence file opens in the editor but there is no highlighting (e.g. class fields - green) until Find Usages is finished
The Refactoring holds the model lock for the while time of find usages. The IDE features cannot access the model.
(In reply to comment #1) > The Refactoring holds the model lock for the while time of find usages. > The IDE features cannot access the model. The only existing way I know is using JavaSource.runUserActionTask [1], which I think should not block other non-modifying tasks. Should refactoring use a different api? [1] http://wiki.netbeans.org/JavaHT_GetIntoJavacContext
No. rUT is OK. But find usages does not need to be run as an atomic op.
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.