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: Start NB with clear userdir and cachedir -> create new paintapp -> profile the suite -> click on customize profiling roots -> cancel profiling -> close the submodules -> restart ide -> profile the suite -> click on customize profiling roots -> never ending progress dialogue
Workaround - run build before invoking the Profile action or invoke Profile action and close the Profile Project dialog for the first time without selecting the profiling roots. Only needed once after IDE startup, the subsequent invocations work fine.
Seems to be caused by org.netbeans.api.java.source.SourceUtils.isScanInProgress() returning 'true' after IDE startup and not changing to 'false' until first build. The 'JavaSource.runWhenScanFinished(...).get()' invoked by the profiler is thus blocked and never finishes. General steps to reproduce: 1/ Create Paint Application, let the suite be the only project open 2/ Restart the IDE 3/ a) Invoke 'SourceUtils.isScanInProgress()' - returns true b) Invoke 'JavaSource.runWhenScanFinished(...).get()' - never finishes Updating bugreport Summary: "Selection never finishes in root method selector" -> "ScanInProgress incorrectly set for module suite when not scanning".
Are you sure it belongs to apisupport/project? Both java classes are in java.source. Please reassign back if you're sure it belongs here. Thanks.
Tomas, could you please take a look? Thanks.
Fixed jet-main b10a1aed5936
Integrated into 'main-golden', will be available in build *201212130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b10a1aed5936 User: Tomas Zezula <tzezula@netbeans.org> Log: #222771:ScanInProgress incorrectly set for module suite when not scanning