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.
Build: NetBeans IDE 7.2 (Build 201207171143) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 User Comments: GUEST: Refractor > rename class jeick: Refactoring a package. GUEST: refactoring package name GUEST: Add a Web Service Operation jeick: Refactoring a package that contained classes. zoren: renaming Webservice class Stacktrace: java.lang.IllegalStateException: ScanSync.get called by protected mode owner. at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport$ScanSync.checkCaller(RunWhenScanFinishedSupport.java:236) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport$ScanSync.get(RunWhenScanFinishedSupport.java:215) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport$ScanSync.get(RunWhenScanFinishedSupport.java:170) at org.netbeans.modules.websvc.design.javamodel.Utils.populateModel(Utils.java:426) at org.netbeans.modules.websvc.design.javamodel.ServiceModel.populateModel(ServiceModel.java:371) at org.netbeans.modules.websvc.design.javamodel.ServiceModel.<init>(ServiceModel.java:97)
Created attachment 125990 [details] stacktrace
It's a bug in the ServiceModel.populateModel() which tries to wait for Future returned by runWhenScanFinished in the FO event handler. The exception is thrown to prevent dead lock.
web-main#a13fafab72fd
Integrated into 'main-golden', will be available in build *201210170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a13fafab72fd User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#220135 - IllegalStateException: ScanSync.get called by protected mode owner.