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 235843 - NullPointerException at jdk.nashorn.internal.ir.IfNode.accept
Summary: NullPointerException at jdk.nashorn.internal.ir.IfNode.accept
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-11 19:27 UTC by jjtrier
Modified: 2014-02-04 10:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 203786


Attachments
stacktrace (4.56 KB, text/plain)
2013-09-11 19:27 UTC, jjtrier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jjtrier 2013-09-11 19:27:11 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
jjtrier: On open of app with four .js files open, received this error.




Stacktrace: 
java.lang.NullPointerException
   at jdk.nashorn.internal.ir.IfNode.accept(IfNode.java:79)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:721)
   at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:291)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:1110)
   at jdk.nashorn.internal.ir.ReferenceNode.accept(ReferenceNode.java:67)
   at jdk.nashorn.internal.ir.CallNode.accept(CallNode.java:216)
Comment 1 jjtrier 2013-09-11 19:27:14 UTC
Created attachment 139953 [details]
stacktrace
Comment 2 Petr Pisl 2014-02-04 10:34:08 UTC
This should be already fixed in dev builds of NB 8.0