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 188729 - IndexOutOfBoundsException: toIndex = 125
Summary: IndexOutOfBoundsException: toIndex = 125
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 173187
  Show dependency tree
 
Reported: 2010-07-16 11:56 UTC by Alexandr Scherbatiy
Modified: 2010-08-03 09:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171415


Attachments
stacktrace (1.67 KB, text/plain)
2010-07-16 11:56 UTC, Alexandr Scherbatiy
Details
stacktrace (1.67 KB, text/plain)
2010-07-16 12:12 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-07-16 11:56:40 UTC
Build: NetBeans IDE 6.9.1 Dev (Build 201007152301)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
sunflower: Steps to reproduce:

- Create Media Box sample
- Open com.sun.javafx.mediabox.MediaBox class
- Set a breakpoint to line  119 (mediaControlBar.toInitStatus();)
- Debug the project
- Expand Script node in the Variables window

The exception pops up




Stacktrace: 
java.lang.IndexOutOfBoundsException: toIndex = 125
   at java.util.SubList.<init>(SubList.java:602)
   at java.util.RandomAccessSubList.<init>(RandomAccessSubList.java:758)
   at java.util.AbstractList.subList(AbstractList.java:468)
   at org.netbeans.modules.javafx.debugger.models.ScriptClass.getFields(ScriptClass.java:65)
   at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getChildrenImpl(LocalsTreeModel.java:164)
   at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getChildren(LocalsTreeModel.java:129)
Comment 1 Alexandr Scherbatiy 2010-07-16 11:56:52 UTC
Created attachment 100881 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2010-07-16 12:12:34 UTC
Created attachment 100882 [details]
stacktrace
Comment 3 Michal Skvor 2010-07-22 09:34:33 UTC
Fixed in trunk
changeset   : 4232:ced2d642189d
Comment 4 Alexandr Scherbatiy 2010-08-03 09:42:23 UTC
verified in NetBeans IDE Dev (Build 201008030001)