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 242487 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.JsObjectReference.<init>
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.Js...
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 18:42 UTC by NukemBy
Modified: 2014-04-27 12:50 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208083


Attachments
stacktrace (5.08 KB, text/plain)
2014-03-01 18:42 UTC, NukemBy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2014-03-01 18:42:48 UTC
This bug was originally marked as duplicate of bug 237153, 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 201403010001)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
mhaungs: I started Netbeans 8.0 Beta for the first time, imported my 7.4 user settings, and replied "No" to upgrade my working copy to be compatible with Netbeans 8.0 Subversion.

NukemBy: Loading the project

GUEST: inital load on Beta, responding to update of plug ins from previous version




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.model.impl.JsObjectReference.<init>(JsObjectReference.java:70)
   at org.netbeans.modules.javascript2.editor.model.impl.JsFunctionReference.<init>(JsFunctionReference.java:64)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:534)
   at org.netbeans.modules.javascript2.editor.model.impl.JsArrayImpl.resolveTypes(JsArrayImpl.java:116)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:497)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:504)
Comment 1 NukemBy 2014-03-01 18:42:50 UTC
Created attachment 145695 [details]
stacktrace
Comment 2 Petr Pisl 2014-03-04 21:19:54 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/a667952389f6
Comment 3 Quality Engineering 2014-03-07 02:40:05 UTC
Integrated into 'main-silver', will be available in build *201403070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a667952389f6
User: Petr Pisl <ppisl@netbeans.org>
Log: #242487 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.JsObjectReference.<init>
Comment 4 Vladimir Riha 2014-04-16 07:24:25 UTC
Cannot reproduce, verified

Product Version: NetBeans IDE Dev (Build 201404150001)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70
Runtime: Java(TM) SE Runtime Environment 1.8.0-b132
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
Comment 5 Petr Pisl 2014-04-17 08:04:20 UTC
Transplanted to the releases/release80 for patch 1.
Comment 6 Quality Engineering 2014-04-24 02:06:06 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/6e69d5bcaf4b
User: Petr Pisl <ppisl@netbeans.org>
Log: #242487 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.JsObjectReference.<init>
Comment 7 Vladimir Riha 2014-04-27 12:50:10 UTC
Cannot reproduce in patch

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1
Java: 1.7.0_55; Java HotSpot(TM) Client VM 24.55-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_55-b13
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)