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 141375 - [65cat] java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
Summary: [65cat] java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 15:40 UTC by dynamite
Modified: 2009-11-02 11:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 35936


Attachments
stacktrace (3.10 KB, text/plain)
2008-07-23 15:40 UTC, dynamite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2008-07-23 15:40:47 UTC
Build: NetBeans IDE Dev (Build 200807221016)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 
Whenever I edit a given JSP.  It didn't do this earlier.
Comment 1 dynamite 2008-07-23 15:40:51 UTC
Created attachment 65394 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2008-08-01 10:45:44 UTC
Weird. I'm not sure what is wrong, it crashes in Swing and the only NB code in the stacktrace seems to be the core's
NbPresenter, even though it might not be the root of the problem.
Comment 3 Stanislav Aubrecht 2008-08-21 11:37:18 UTC
i don't think it has anything to do with NbPresenter - some dialog window is just about to show which is forcing repaint
in editor IMHO. reassigning back
Comment 4 Vitezslav Stejskal 2008-08-21 15:05:14 UTC
Well, yes, that's about as much as we know. The problem is that it's a swing editor, so most likely just some text
component somewhere in some dialog. Looking at the URL attached to this issue I can see a few duplicate stacktraces, but
they don't show much more information. The last one, however, comes from subversion CommitAction. So, I'm passing it on
to subversion guys. It would definitely help to have exact steps how this can be reproduced. Thanks
Comment 5 Tomas Stupka 2008-08-26 15:45:14 UTC
svn, cvs and hg are manipulating the messages text area in it's parents addNotify. Could be the cause in some cases... 
Blindly fixing in 9f2227ef7f68

however, i don't think this covers the case when editing a jsp or refactoring files

reassigning back
Comment 6 Quality Engineering 2008-08-28 06:30:39 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/9f2227ef7f68
User: Tomas Stupka <tstupka@netbeans.org>
Log: #141375 - [65cat] AssertionError: changedTokenList at index 5; TokenListList: TokenListList for text/x-jsp/text/html/text/javascript, joinSections [ 0]: ETLj<908,1833> TC=281(281) JI:jti=0, tli=0, lps=0, IHC=19255126
Comment 7 Vitezslav Stejskal 2008-08-28 13:33:00 UTC
Thanks Tomas, I'm changing the summary to reflect the exceptions reported here. I'm not sure how to track the other
dialogs that could still suffer from this problem, but I'll leave the report open and we will see if we can gather more
information over time.
Comment 8 David Strupl 2009-03-31 15:48:05 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 9 Quality Engineering 2009-11-02 11:01:49 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX