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 - IllegalAccessException: LABELED_STATEMENT
Summary: IllegalAccessException: LABELED_STATEMENT
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-23 17:43 UTC by alied
Modified: 2017-05-23 17:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229241


Attachments
stacktrace (5.15 KB, text/plain)
2017-05-23 17:43 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
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