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.
Build: NetBeans IDE Dev (Build 20130610-f5456d4e7076) VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_21-b02 OS: Linux User Comments: phejl: Open knockout sample Stacktrace: java.lang.IndexOutOfBoundsException: Index: -1, Size: 0 at java.util.ArrayList.rangeCheckForAdd(ArrayList.java:612) at java.util.ArrayList.add(ArrayList.java:426) at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils$SemiTypeResolverVisitor2.leave(ModelUtils.java:1181) at jdk.nashorn.internal.ir.UnaryNode.accept(UnaryNode.java:147) at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils$SemiTypeResolverVisitor2.getSemiTypes(ModelUtils.java:1098) at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveSemiTypeOfExpression(ModelUtils.java:355)
Created attachment 135564 [details] stacktrace
Fixed in wem-main: http://hg.netbeans.org/web-main/rev/182a2186395b
Integrated into 'main-golden', will be available in build *201306102301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/182a2186395b User: Petr Pisl <ppisl@netbeans.org> Log: #231008 - IndexOutOfBoundsException: Index: -1, Size: 0