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 253277 - [newcodemodel] ArrayIndexOutOfBoundsException: 15
Summary: [newcodemodel] ArrayIndexOutOfBoundsException: 15
Status: VERIFIED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-01 10:55 UTC by Vladimir Kvashin
Modified: 2015-09-08 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218275


Attachments
stacktrace (4.97 KB, text/plain)
2015-07-01 10:55 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2015-07-01 10:55:25 UTC
Build: NetBeans IDE Dev (Build 20150701-2446dba26d5d)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.71-b01, Java(TM) SE Runtime Environment, 1.7.0_71-b14
OS: Linux

User Comments:
vkvashin: started IDE with 
-J-Dapt.use.clank=true -J-Dapt.always.use.filesystem=true
created a new file, edited it - exception occurred




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 15
   at org.clank.support.aliases.char$ptr$array.$at(char.java:69)
   at org.llvm.support.MemoryBuffer.init(MemoryBuffer.java:85)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankMemoryBufferImpl.<init>(ClankMemoryBufferImpl.java:76)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankMemoryBufferImpl.create(ClankMemoryBufferImpl.java:71)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankDriverImpl.getRemappedBuffers(ClankDriverImpl.java:384)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankDriverImpl.preprocessImpl(ClankDriverImpl.java:147)
Comment 1 Vladimir Kvashin 2015-07-01 10:55:26 UTC
Created attachment 154455 [details]
stacktrace
Comment 2 Alexander Simon 2015-09-07 17:36:28 UTC
too old code
Comment 3 Vladimir Kvashin 2015-09-08 09:14:41 UTC
Agreed. And it seems it does not repeat.