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 238439 - ArrayIndexOutOfBoundsException: -1
Summary: ArrayIndexOutOfBoundsException: -1
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-15 16:45 UTC by Vladimir Riha
Modified: 2014-02-01 05:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204750


Attachments
stacktrace (5.67 KB, text/plain)
2013-11-15 16:45 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-11-15 16:45:55 UTC
Build: NetBeans IDE Dev (Build 201311150002)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
vriha: Happened on opening project (sources from AngularJS github repo)

GUEST: Appeared on itself. Wasnt even focused on IDE.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.ArrayList.elementData(ArrayList.java:400)
   at java.util.ArrayList.get(ArrayList.java:413)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelElementFactory.create(ModelElementFactory.java:72)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:630)
   at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:291)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:1110)
Comment 1 Vladimir Riha 2013-11-15 16:45:56 UTC
Created attachment 142245 [details]
stacktrace
Comment 2 Petr Pisl 2014-01-31 14:57:33 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2014-02-01 05:45:31 UTC
Integrated into 'main-silver', will be available in build *201402010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/329ad03082d2
User: Petr Pisl <ppisl@netbeans.org>
Log: #238439 - ArrayIndexOutOfBoundsException: -1