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 262807 - NullPointerException at org.netbeans.modules.javascript2.model.ModelVisitor.setParent
Summary: NullPointerException at org.netbeans.modules.javascript2.model.ModelVisitor.s...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-13 22:43 UTC by justpusher
Modified: 2016-07-16 02:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225052


Attachments
stacktrace (7.57 KB, text/plain)
2016-07-13 22:43 UTC, justpusher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description justpusher 2016-07-13 22:43:11 UTC
Build: NetBeans IDE Dev (Build 201607120002)
VM: Java HotSpot(TM) Client VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
justpusher: just opened netbeans after installing dev version

GUEST: opening ember.js component file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.model.ModelVisitor.setParent(ModelVisitor.java:1177)
   at org.netbeans.modules.javascript2.model.ModelVisitor.enterFunctionNode(ModelVisitor.java:961)
   at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301)
   at com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
   at com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
   at com.oracle.js.parser.ir.BinaryNode.accept(BinaryNode.java:154)
Comment 1 justpusher 2016-07-13 22:43:13 UTC
Created attachment 160380 [details]
stacktrace
Comment 2 Petr Pisl 2016-07-15 06:46:15 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2016-07-16 02:09:30 UTC
Integrated into 'main-silver', will be available in build *201607160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/308a937538f5
User: Petr Pisl <ppisl@netbeans.org>
Log: #262807 - NullPointerException at org.netbeans.modules.javascript2.model.ModelVisitor.setParent