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 267429 - 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-08-04 09:04 UTC by legitalk
Modified: 2016-08-05 01:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225602


Attachments
stacktrace (7.69 KB, text/plain)
2016-08-04 09:04 UTC, legitalk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description legitalk 2016-08-04 09:04:44 UTC
This bug was originally marked as duplicate of bug 262807, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201608040002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
legitalk: Opening project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.model.ModelVisitor.setParent(ModelVisitor.java:1233)
   at org.netbeans.modules.javascript2.model.ModelVisitor.enterFunctionNode(ModelVisitor.java:965)
   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 legitalk 2016-08-04 09:04:46 UTC
Created attachment 161556 [details]
stacktrace
Comment 2 Petr Pisl 2016-08-04 12:47:53 UTC
Should be fixed in web-main.
Comment 3 Quality Engineering 2016-08-05 01:56:55 UTC
Integrated into 'main-silver', will be available in build *201608050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

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