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.
This issue was reported manually by cezariusz. It already has 1 duplicates Build: NetBeans IDE Dev (Build 201506070001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b15 OS: Windows 8 User Comments: cezariusz: Just pasted some Java code from https://google-styleguide.googlecode.com/svn/trunk/javaguide.html#s5.2.4-constant-names Stacktrace: java.lang.IndexOutOfBoundsException: -1 at com.sun.tools.javac.util.List.get(List.java:468) at org.netbeans.modules.java.hints.suggestions.ConstantNameHint.checkZeroSizeArray(ConstantNameHint.java:241) at org.netbeans.modules.java.hints.suggestions.ConstantNameHint.isImmutableValue(ConstantNameHint.java:223) at org.netbeans.modules.java.hints.suggestions.ConstantNameHint.checkConstantName(ConstantNameHint.java:140) at sun.reflect.GeneratedMethodAccessor157.invoke(GeneratedMethodAccessor157.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Created attachment 154192 [details] stacktrace
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/6033a96c465d
Integrated into 'main-silver', will be available in build *201507030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6033a96c465d User: Dusan Balek <dbalek@netbeans.org> Log: Issue #252966 - IndexOutOfBoundsException - fixed.
Verified with Build 201507240001.