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 253074 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelElementFactory.create
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.Mo...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-19 12:01 UTC by troodon
Modified: 2015-06-23 02:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218054


Attachments
stacktrace (6.33 KB, text/plain)
2015-06-19 12:02 UTC, troodon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description troodon 2015-06-19 12:01:54 UTC
Build: NetBeans IDE Dev (Build 201506040001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
troodon: opening javascript




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.model.impl.ModelElementFactory.create(ModelElementFactory.java:256)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:1105)
   at jdk.nashorn.internal.ir.LiteralNode$ArrayLiteralNode.accept(LiteralNode.java:881)
   at jdk.nashorn.internal.ir.BinaryNode.accept(BinaryNode.java:178)
   at jdk.nashorn.internal.ir.VarNode.accept(VarNode.java:144)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:901)
Comment 1 troodon 2015-06-19 12:02:21 UTC
Created attachment 154297 [details]
stacktrace
Comment 2 Petr Pisl 2015-06-22 12:11:51 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2015-06-23 02:40:47 UTC
Integrated into 'main-silver', will be available in build *201506230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3159206f97b3
User: Petr Pisl <ppisl@netbeans.org>
Log: #253074 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelElementFactory.create