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 201301200001) VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21 OS: Windows Server 2008 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.isGlobal(ModelUtils.java:136) at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:239) at jdk.nashorn.internal.ir.BinaryNode.accept(BinaryNode.java:176) at jdk.nashorn.internal.ir.ExecuteNode.accept(ExecuteNode.java:81) at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:604) at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:304)
Created attachment 130479 [details] stacktrace
Fixed in web-main: http://hg.netbeans.org/web-main/rev/1b714fb6d4f2
Integrated into 'main-golden', will be available in build *201302122300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1b714fb6d4f2 User: Petr Pisl <ppisl@netbeans.org> Log: #225175 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.isGlobal
I can't reproduce it => verified Product Version: NetBeans IDE Dev (Build 201302272300) Java: 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03 System: Linux version 3.2.0-38-generic-pae running on i386; UTF-8; en_US (nb)
Transplanted in to the release73 branch: http://hg.netbeans.org/releases/rev/d3656d382f38
Integrated into 'releases', will be available in build *201303141828* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/d3656d382f38 User: Petr Pisl <ppisl@netbeans.org> Log: #225175 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.isGlobal (transplanted from 1b714fb6d4f23c6b01883b529847e98dae614765)
cannot reproduce in patch1 (just like in 7.3...) => verified Product Version: NetBeans IDE 7.3 (Build 201303141828) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Linux version 3.2.0-38-generic-pae running on i386; UTF-8; en_US (nb)