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 224764 - ArrayIndexOutOfBoundsException: -536869843
Summary: ArrayIndexOutOfBoundsException: -536869843
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-11 15:00 UTC by Jiri Prox
Modified: 2013-07-30 11:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193188


Attachments
stacktrace (6.43 KB, text/plain)
2013-01-11 15:00 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-01-11 15:00:08 UTC
Build: NetBeans IDE 7.3 RC1 (Build 201301102100)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Windows 7

User Comments:
christiaensm: I am editing a C++ class.  I cloned the window I'm working in to have a better overview and am editing in both of them.  I think I've undone some of my editing.  After that, I could no longer see my edits in one of the windows.  Looking at the tab-label of the broken window, you see that the window is still registering my changes somehow but they get lost.

webfox: now I tried to format this 4620 lines, and this error pops up endless no way to stop it. Will resatrt Netbeans beta if it not stops in 5 minutes.

jiriprox: AIOOBE when editing source. (line wrapping was enabled, on save reformat too)

GUEST: Editing text inside of javascript in PHP file

GUEST: rolled back history, copied and then forward again




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -536869843
   at org.netbeans.modules.editor.lib2.document.CharContent.charAt(CharContent.java:80)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateTabsAndHighlights(HighlightsViewFactory.java:311)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createView(HighlightsViewFactory.java:203)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:893)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:730)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:684)
Comment 1 Jiri Prox 2013-01-11 15:00:10 UTC
Created attachment 130119 [details]
stacktrace
Comment 2 Miloslav Metelka 2013-02-04 16:46:10 UTC
Added assertion with highlights view factory and view builder dump:
http://hg.netbeans.org/jet-main/rev/ce36d904b8a7
Comment 3 Quality Engineering 2013-02-05 12:37:45 UTC
Integrated into 'main-golden', will be available in build *201302050917* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ce36d904b8a7
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #224764 - ArrayIndexOutOfBoundsException: -536869843 - added assertions with highlights view factory and view builder dump.
Comment 4 Milutin Kristofic 2013-07-30 11:41:14 UTC
After Mila's patch with new logs, there was not new reported exception or assertionerror.