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.

Bug 270723

Summary: IllegalAccessException: LABELED_STATEMENT
Product: java Reporter: alied <alied>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229241
Attachments: stacktrace

Description alied 2017-05-23 17:43:36 UTC
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)
Comment 1 alied 2017-05-23 17:43:38 UTC
Created attachment 164389 [details]
stacktrace