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 116518 - java.lang.ArrayIndexOutOfBoundsException: 21
Summary: java.lang.ArrayIndexOutOfBoundsException: 21
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: nehasingh1111990
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks: 117094
  Show dependency tree
 
Reported: 2007-09-24 13:39 UTC by Jindrich Sedek
Modified: 2013-03-24 16:48 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 4967


Attachments
stacktrace (5.35 KB, text/plain)
2007-09-24 13:39 UTC, Jindrich Sedek
Details
java.lang.ArrayIndexOutOfBoundsException: 21 (10.39 KB, patch)
2013-03-24 16:42 UTC, nehasingh1111990
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2007-09-24 13:39:16 UTC
Build: NetBeans IDE Dev (Build 20070923163726)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Linux, 2.6.21-1.3228.fc7, i386

User Comments: 
[html/editor]
Comment 1 Jindrich Sedek 2007-09-24 13:39:28 UTC
Created attachment 49359 [details]
stacktrace
Comment 2 Jindrich Sedek 2007-09-24 14:01:51 UTC
steps to reproduce:
Create new HTML file
paste this code inside:
------------------------
<!-- 
    Document   : stranka3
    Created on : 24.9.2007, 14:36:33
    Author     : jindra
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <!-- comment --><body>
  
  </body>
</html>
------------------------
wait for folds
use body fold to fold the body area
ArrayIndexOutOfBounds is thrown, code is not folded, but fold mark is changed to "+"
exception doesn't stop throwing till I unfold body area
Comment 3 Vitezslav Stejskal 2007-09-25 10:28:20 UTC
I can't reproduce this. Did you make change any settings or anything else? Is this reproducible with fresh userdir?
Comment 4 Jaroslav Tulach 2007-09-27 08:09:21 UTC
Btw. I've turned the collapse of many folds by default. And got similar exception.
Comment 5 Jindrich Sedek 2007-09-27 08:20:32 UTC
I'm able to reproduce it with fresh userdir, but it's quit random, try to add few tabs in front of the line containg
comment line or to remove them.
Comment 6 Jaroslav Tulach 2007-09-27 10:11:21 UTC
Happens to me all the time, when I have "collaps methods". Once it appears, it never stops and I have to restart the 
IDE.
Comment 7 Vitezslav Stejskal 2007-09-27 13:23:37 UTC
What build are you guys using? I fixed issue #116670 yesteday, the problem could be the same.
Comment 8 Vitezslav Stejskal 2007-10-01 11:28:51 UTC
I can't reproduce it in a dev build and I believe this was fixed with issue #116670. Please reopen if it happens again.
Comment 9 Jindrich Sedek 2007-10-29 19:52:28 UTC
verified
NetBeans IDE Dev (Build 200710290000)
Comment 10 nehasingh1111990 2013-03-24 16:42:41 UTC
Created attachment 132997 [details]
java.lang.ArrayIndexOutOfBoundsException: 21