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 42397 - Opening main menu View|Code Folds shows AIOOB Exception
Summary: Opening main menu View|Code Folds shows AIOOB Exception
Status: CLOSED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords: A11Y, JDK_SPECIFIC
Depends on:
Blocks: 39339
  Show dependency tree
 
Reported: 2004-04-23 14:12 UTC by Jaromir Uhrik
Modified: 2007-11-05 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Ide.log (23.84 KB, text/plain)
2004-04-23 14:13 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2004-04-23 14:12:02 UTC
[#200404191800, in release 3.6 too; j2sdk1.4.2_03]
There is something unusual in menu View|Code
Folds. I am trying to open it when JAWS Screen
Reader is on, but everytime i access this menu the
exception appears(see attached ide.log). Steps to
reproduce:
1.Install JAWS for windows 5.0
ftp://ftp.freedomscientific.com/users/hj/private/WebFiles/JAWS/j500846demo40.exe
2.Install Access Bridge 1.1 GA
http://java.sun.com/products/accessbridge/
3.Run JAWS
4.Run IDE
5.Try to open View|Code Folds from main menu
6.The java.lang.ArrayIndexOutOfBoundsException
will appear
Comment 1 Jaromir Uhrik 2004-04-23 14:13:10 UTC
Created attachment 14535 [details]
Ide.log
Comment 2 Miloslav Metelka 2004-04-23 14:27:28 UTC
Downgraded to P2 as IMO this issue does not satisfy P1 criteria.
It looks like there is some inconsistency between
JMenu.getMenuComponentCount() and JMenu.getMenuComponent(). That could
be because our way of construction of the contents of the submenu.
Assigning to Mato partly because he has written the delegation and
mainly because he uses Windows for development ;)
Comment 3 Martin Roskanin 2004-05-07 09:22:43 UTC
Uff, JAWS had over 30MB... :-)
Unfortunately, I cannot reproduce this following the steps you
provided neither in NB release36 nor current dev builds
It seems it will be some specific problem. Downgrading to P3. 
Can you reproduce it on latest dev builds?
Comment 4 Jaromir Uhrik 2004-05-07 10:03:00 UTC
I am able to reproduce it on latest dev built j2sdk1.4.2_03. What jdk
wersion do you use? It works now fine with the latest jdk1.5 Beta2 -
build 49.
Comment 5 Martin Roskanin 2004-05-07 10:08:54 UTC
Yes, I am also running j2sdk1.4.2_03. Because of umbrella issue #39339
P3 priority and not exact reproducibility testcase, I will leave the
priority on P3. Later I can prepare some patch and we will debug the
problem on your machine...
Comment 6 Jaromir Uhrik 2004-08-10 14:51:42 UTC
The problem is not reproducible when running last build(20040809) on
j2sdk1.4.2_05 and j2sdk1.5.0. I suggest to close this issue (as wontfix?).
Comment 7 Martin Roskanin 2004-08-10 15:39:13 UTC
Yes, it looks like some JDK issue (already fixed)...
I am closing this as WONTFIX
Comment 8 Jaromir Uhrik 2004-08-17 11:53:32 UTC
Verified in 200408170540; jdk1.5.0-rc-b63.