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 250857 - IndexOutOfBoundsException: Index: 0, Size: 0
Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 10:16 UTC by Roman Svitanic
Modified: 2015-03-04 03:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215788


Attachments
stacktrace (3.18 KB, text/plain)
2015-03-03 10:16 UTC, Roman Svitanic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Svitanic 2015-03-03 10:16:35 UTC
This issue was reported manually by rsvitanic.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20150302-84205dde7ed0)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.75-b04, Java(TM) SE Runtime Environment, 1.7.0_75-b13
OS: Mac OS X

User Comments:
rsvitanic: Registered controller as follows: app.controller('DemoCtrl', new MyObj().DemoCtrl );




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.RangeCheck(ArrayList.java:635)
   at java.util.ArrayList.get(ArrayList.java:411)
   at org.netbeans.modules.html.angular.model.AngularModuleInterceptor.intercept(AngularModuleInterceptor.java:112)
   at org.netbeans.modules.javascript2.editor.model.Model.getModelVisitor(Model.java:195)
   at org.netbeans.modules.javascript2.editor.model.Model.resolve(Model.java:521)
   at org.netbeans.modules.javascript2.editor.JsStructureScanner.scan(JsStructureScanner.java:88)
Comment 1 Roman Svitanic 2015-03-03 10:16:36 UTC
Created attachment 152347 [details]
stacktrace
Comment 2 Roman Svitanic 2015-03-03 12:54:06 UTC
Changeset: 145ac22c22a6
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2015-03-03 13:54
Message:   #250857: IndexOutOfBoundsException: Index: 0, Size: 0 - fixed
Comment 3 Quality Engineering 2015-03-04 03:57:08 UTC
Integrated into 'main-silver', will be available in build *201503040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/145ac22c22a6
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #250857: IndexOutOfBoundsException: Index: 0, Size: 0 - fixed
Task #250857 - IndexOutOfBoundsException: Index: 0, Size: 0