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 8.2 (Build 201609300101) VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11 OS: Linux User Comments: alied: extracting a constant in a source file with errors. Chenged the default name and checked to replace all usages. Stacktrace: java.lang.IllegalAccessException: LABELED_STATEMENT at org.netbeans.modules.java.hints.introduce.IntroduceHint.removeFromParent(IntroduceHint.java:702) at org.netbeans.modules.java.hints.introduce.IntroduceFieldFix$Worker.run(IntroduceFieldFix.java:386) at org.netbeans.modules.java.hints.introduce.IntroduceFieldFix$Worker.run(IntroduceFieldFix.java:190) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:636) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:626) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:486)
Created attachment 164389 [details] stacktrace