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 195902 - StringIndexOutOfBoundsException: String index out of range: -2407
Summary: StringIndexOutOfBoundsException: String index out of range: -2407
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 195903 196080 196258 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-23 19:18 UTC by Exceptions Reporter
Modified: 2011-03-03 20:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176873


Attachments
stacktrace (4.45 KB, text/plain)
2011-02-23 19:18 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-02-23 19:18:27 UTC
This issue was reported manually by vv159170.
It already has 6 duplicates 


Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -2407
   at java.lang.String.<init>(String.java:207)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileBufferFile.getText(FileBufferFile.java:81)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getText(FileImpl.java:1246)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getText(FileImpl.java:115)
   at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.getText(OffsetableBase.java:137)
   at org.netbeans.modules.cnd.modelimpl.uid.UIDProviderIml.get(UIDProviderIml.java:108)
Comment 1 Exceptions Reporter 2011-02-23 19:18:32 UTC
Created attachment 106374 [details]
stacktrace
Comment 2 Alexander Simon 2011-02-23 19:23:14 UTC
*** Bug 195903 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Simon 2011-02-24 08:54:11 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/db56e4cd79b0
Comment 4 Quality Engineering 2011-02-25 05:36:41 UTC
Integrated into 'main-golden', will be available in build *201102250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/db56e4cd79b0
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #195902 StringIndexOutOfBoundsException: String index out of range: -2407
Comment 5 Vladimir Voskresensky 2011-02-28 06:24:47 UTC
*** Bug 196080 has been marked as a duplicate of this bug. ***
Comment 6 Vladimir Voskresensky 2011-03-03 20:29:10 UTC
*** Bug 196258 has been marked as a duplicate of this bug. ***