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 230222 - NullPointerException at org.netbeans.modules.html.angular.model.AngularModel.<init>
Summary: NullPointerException at org.netbeans.modules.html.angular.model.AngularModel....
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 230858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-24 10:08 UTC by sreimers
Modified: 2013-06-28 09:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200894


Attachments
stacktrace (2.45 KB, text/plain)
2013-05-24 10:08 UTC, sreimers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreimers 2013-05-24 10:08:30 UTC
Build: NetBeans IDE Dev (Build 201305212300)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b32, Java(TM) SE Runtime Environment, 1.8.0-ea-b90
OS: Windows 7

User Comments:
sreimers: Typing in html file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.html.angular.model.AngularModel.<init>(AngularModel.java:95)
   at org.netbeans.modules.html.angular.model.AngularModel.getModel(AngularModel.java:75)
   at org.netbeans.modules.html.angular.AngularJsEmbeddingProviderPlugin.startProcessing(AngularJsEmbeddingProviderPlugin.java:114)
   at org.netbeans.modules.html.editor.embedding.JsEPPluginQuery$Session.startProcessing(JsEPPluginQuery.java:107)
   at org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.process(JsEmbeddingProvider.java:155)
   at org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.access$100(JsEmbeddingProvider.java:75)
Comment 1 sreimers 2013-05-24 10:08:32 UTC
Created attachment 134852 [details]
stacktrace
Comment 2 Marek Fukala 2013-06-05 15:16:19 UTC
Weird issue. It looks like some configuration issue. Such NPE should normally not happen. There's also some exception from DataLoaders during the IDE startup which may be the cause. 

Closing as worksforme. If anyone encounters this again please reopen.
Comment 3 Vladimir Riha 2013-06-06 13:09:37 UTC
*** Bug 230858 has been marked as a duplicate of this bug. ***
Comment 4 Marek Fukala 2013-06-06 13:46:02 UTC
changeset:   255275:32fa64b336c4
summary:     #230222 - adding some assertions to help to find the cause of the bug
Comment 5 Quality Engineering 2013-06-08 01:08:52 UTC
Integrated into 'main-golden', will be available in build *201306072301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/32fa64b336c4
User: Marek Fukala <mfukala@netbeans.org>
Log: #230222 - adding some assertions to help to find the cause of the bug
Comment 6 Marek Fukala 2013-06-28 09:31:22 UTC
closing as I cannot fix w/o reproducible steps or an exception report from build containing the changeset 32fa64b336c4 from 6th June.