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 90165

Summary: AIOOBE thrown when switch to watches view
Product: javaee Reporter: Jiri Skrivanek <jskrivanek>
Component: DebuggerAssignee: Libor Kotouc <lkotouc>
Status: VERIFIED FIXED    
Severity: blocker CC: mentlicher
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 92999    
Attachments: Stack trace.

Description Jiri Skrivanek 2006-11-28 11:21:13 UTC
ArrayIndexOutOfBoundsException is thrown from JspWatchesTreeFilter when we
switch to the Watches view while staying at breakpoint. I haven't seen this
exception before and nothing has changed in JSP debugger (AFAIK), so I suppose
something could change in debugger core. To reproduce:

- create a web application
- toggle breakpoint at line 22 in index.jsp
- start debugger and wait until it stops at the breakpoint
- switch to the Watches view and exception is thrown (see attachment).

Build 20061127-0836, WindowsXP, JDK1.5.0_09.
Comment 1 Jiri Skrivanek 2006-11-28 11:22:19 UTC
Created attachment 36312 [details]
Stack trace.
Comment 2 Libor Kotouc 2007-02-05 15:24:16 UTC
Fixed.

Checking in JspWatchesTreeFilter.java;
/cvs/web/jspdebug/src/org/netbeans/modules/web/debug/watchesfiltering/JspWatchesTreeFilter.java,v
 <--  JspWatchesTreeFilter.java
new revision: 1.6; previous revision: 1.5
done
Comment 3 Jiri Skrivanek 2007-02-13 14:02:31 UTC
Verified.