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 "Add to instrumentation roots" action breaks responsiveness for a while (probably re-instrumenting classes in progress) and throws NPE when used from Live Results. From CPU snapshot it works fine.
Created attachment 26837 [details] NPE
As a temporary workaround for M10 disabled immediate re-insrumenting, which was breaking responsiveness and throwed NPE (probably collected results were cleaned, which caused NPE from repaint). Lowering priority as the workaround "fixed" reported problems for now.
Currently when adding a root method from Live results this root method is used for next profiling session, the change doesn't affect current profiling session. This is consistent with how selecting root methods from snapshots works. Current state has proven to be good enough, there were no reports about missing immediate reinstrumentation. Thus closing this issue as FIXED.
VERIFIED in build 200901120201