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 258316 - [newcodemodel] ArrayIndexOutOfBoundsException: -2
Summary: [newcodemodel] ArrayIndexOutOfBoundsException: -2
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-11 00:50 UTC by Exceptions Reporter
Modified: 2016-03-16 11:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222954


Attachments
stacktrace (2.91 KB, text/plain)
2016-03-11 00:50 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-03-11 00:50:40 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
GUEST: I tried to retreive correct and complete c++ functions navigator who have disappeared on left bottom side of Netbeans application since I have updated from 8.0.2 to 8.1




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -2
   at org.clank.java.stdimpl.StdBaseBitset._M_getword(StdBaseBitset.java:64)
   at org.clank.java.stdimpl.StdBitset._Unchecked_test(StdBitset.java:225)
   at org.clank.java.stdimpl.StdBitset.test(StdBitset.java:157)
   at org.llvm.adt.StringRef.find_first_of(StringRef.java:1010)
   at org.llvm.adt.StringRef.find_first_of(StringRef.java:1001)
   at org.clang.frontend.impl.InitPreprocessorStatics.DefineBuiltinMacro(InitPreprocessorStatics.java:80)
Comment 1 Exceptions Reporter 2016-03-11 00:50:42 UTC
Created attachment 158819 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2016-03-12 09:50:44 UTC
fix in library (need to transplant in branch in sputnik)
https://hg.kenai.com/hg/sputnik~main/rev/81525eeefdc5

library update
 http://hg.netbeans.org/cnd-main/rev/31faa50059c0

IMPORTANT: for 8.1 patch another libs.clank is needed
Comment 3 Quality Engineering 2016-03-13 02:19:09 UTC
Integrated into 'main-silver', will be available in build *201603130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/31faa50059c0
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #258316: ArrayIndexOutOfBoundsException: -2 (binary update)
- incorrect work with native unsigned char type