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 225175 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.isGlobal
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.Mo...
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 11:08 UTC by KhArtNJava
Modified: 2013-03-15 14:23 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197850


Attachments
stacktrace (5.10 KB, text/plain)
2013-01-22 11:08 UTC, KhArtNJava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KhArtNJava 2013-01-22 11:08:19 UTC
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)
Comment 1 KhArtNJava 2013-01-22 11:08:22 UTC
Created attachment 130479 [details]
stacktrace
Comment 2 Petr Pisl 2013-02-12 15:25:44 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/1b714fb6d4f2
Comment 3 Quality Engineering 2013-02-13 01:51:45 UTC
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
Comment 4 Vladimir Riha 2013-02-28 10:00:45 UTC
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)
Comment 5 Petr Pisl 2013-03-11 15:57:48 UTC
Transplanted in to the release73 branch:
http://hg.netbeans.org/releases/rev/d3656d382f38
Comment 6 Quality Engineering 2013-03-14 21:12:01 UTC
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)
Comment 7 Vladimir Riha 2013-03-15 14:23:52 UTC
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)