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 253349 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter
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: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-08 07:59 UTC by roti
Modified: 2015-07-09 01:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217207


Attachments
stacktrace (5.65 KB, text/plain)
2015-07-08 07:59 UTC, roti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roti 2015-07-08 07:59:27 UTC
Build: NetBeans IDE Dev (Build 201507040001)
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:
roti: started a dev build, imported 8.0 settings, and after background scanning of projects for opened two projects, exception comes

GUEST: Notification error when add files external.

GUEST: Starting up Netbeans nightly, 201506100001

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: Exceptions occured when not working with IDE

GUEST: One file opened, tried to sync over sftp




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:899)
   at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:291)
   at org.netbeans.modules.javascript2.editor.model.Model.getModelVisitor(Model.java:179)
   at org.netbeans.modules.javascript2.editor.model.Model.getGlobalObject(Model.java:503)
   at org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:104)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:248)
Comment 1 roti 2015-07-08 07:59:29 UTC
Created attachment 154516 [details]
stacktrace
Comment 2 Roman Svitanic 2015-07-08 08:34:13 UTC
fixed in web-main:
http://hg.netbeans.org/web-main/rev/28dcfd07f286
Comment 3 Quality Engineering 2015-07-09 01:16:22 UTC
Integrated into 'main-silver', will be available in build *201507090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/28dcfd07f286
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #253349: NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter - fixed