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 267380 - [newcodemodel] ArrayIndexOutOfBoundsException: 283
Summary: [newcodemodel] ArrayIndexOutOfBoundsException: 283
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-01 13:52 UTC by Exceptions Reporter
Modified: 2016-09-09 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225542


Attachments
stacktrace (3.62 KB, text/plain)
2016-08-01 13:52 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-08-01 13:52:38 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Linux

User Comments:
GUEST: ArrayIndexOutOfBoundsException: 283




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 283
   at java.lang.Integer.valueOf(Integer.java:831)
   at org.netbeans.modules.cnd.apt.support.lang.APTBaseLanguageFilter.onID(APTBaseLanguageFilter.java:124)
   at org.netbeans.modules.cnd.apt.support.lang.APTBaseLanguageFilter.onToken(APTBaseLanguageFilter.java:145)
   at org.netbeans.modules.cnd.apt.support.lang.APTBaseLanguageFilter$FilterStream.nextToken(APTBaseLanguageFilter.java:159)
   at org.netbeans.modules.cnd.antlr.TokenBuffer.<init>(TokenBuffer.java:67)
   at org.netbeans.modules.cnd.antlr.LLkParser.<init>(LLkParser.java:33)
Comment 1 Exceptions Reporter 2016-08-01 13:52:40 UTC
Created attachment 161514 [details]
stacktrace
Comment 2 Vladimir Kvashin 2016-09-08 16:22:24 UTC
Looks like a JVM (JIT?)bug? I tried to find such a bug, but wasn't able to find it; on the other hand I can't file it against jvm/jdk since I have no idea how to reproduce this.

A little bit similar although different story can be found here
http://stackoverflow.com/questions/25942010/how-is-arrayoutofboundsexception-possible-in-string-valueofint
Comment 3 Vladimir Voskresensky 2016-09-09 14:38:08 UTC
We need a test case, changing status to incomplete