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 256892 - IndexOutOfBoundsException: toIndex = 20
Summary: IndexOutOfBoundsException: toIndex = 20
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 12:53 UTC by Vitex
Modified: 2017-01-21 07:17 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204687


Attachments
stacktrace (1.06 KB, text/plain)
2015-12-01 12:53 UTC, Vitex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitex 2015-12-01 12:53:52 UTC
Build: NetBeans IDE Dev (Build 201512010002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Linux

User Comments:
GUEST: Debugging Cordova application

GUEST: 1

GUEST: IndexOutOfBoundsException: toIndex = 13

GUEST: debugging javascript

GUEST: Debugging dojo application.

Vitex: Debugging Angular.js

mkozeny: When debugging JavaScript file, error occurred.

GUEST: Was running a application. Went and restarted the run process.

GUEST: IndexOutOfBoundsException: toIndex = 13

wayneseymour: In the middle of debugging through an immediately invoked function expression the HTML5 Boilerplate ( the code the defends the window object from not having console.X methods.  I am on a MAC OS X, NB 7.4 Beta.




Stacktrace: 
java.lang.IndexOutOfBoundsException: toIndex = 20
   at java.util.ArrayList.subListRangeCheck(ArrayList.java:1004)
   at java.util.ArrayList.subList(ArrayList.java:996)
   at org.netbeans.modules.web.javascript.debugger.locals.VariablesModel.getChildren(VariablesModel.java:136)
   at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.getChildren(Models.java:1795)
   at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildren(Models.java:4422)
   at org.netbeans.modules.debugger.ui.views.ViewModelListener$5.getChildren(ViewModelListener.java:462)
Comment 1 Vitex 2015-12-01 12:53:54 UTC
Created attachment 157579 [details]
stacktrace