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 240765 - NullPointerException at org.netbeans.modules.javascript2.editor.model.Model.moveProperty
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.model.Model.m...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 13:04 UTC by _ tboudreau
Modified: 2014-01-28 03:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206674


Attachments
stacktrace (2.57 KB, text/plain)
2014-01-21 13:04 UTC, _ tboudreau
Details
Hotfix (807 bytes, patch)
2014-01-24 19:14 UTC, _ tboudreau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2014-01-21 13:04:07 UTC
Build: NetBeans IDE Dev (Build NetBeans-334-on-20140121)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
tboudreau: Thrown constantly while editing javascript

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




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.model.Model.moveProperty(Model.java:411)
   at org.netbeans.modules.javascript2.editor.model.Model.processWithObject(Model.java:336)
   at org.netbeans.modules.javascript2.editor.model.Model.processWithObjectIn(Model.java:205)
   at org.netbeans.modules.javascript2.editor.model.Model.processWithObjectIn(Model.java:207)
   at org.netbeans.modules.javascript2.editor.model.Model.getModelVisitor(Model.java:188)
   at org.netbeans.modules.javascript2.editor.model.Model.resolve(Model.java:468)
Comment 1 _ tboudreau 2014-01-21 13:04:10 UTC
Created attachment 144204 [details]
stacktrace
Comment 2 _ tboudreau 2014-01-21 13:28:26 UTC
When editing html that uses angularjs, this exception is thrown every time you type a character inside the ""s of an html tag attribute.  Makes editing nearly impossible.
Comment 3 _ tboudreau 2014-01-24 19:14:20 UTC
Created attachment 144351 [details]
Hotfix

Fixes the issue, making the IDE usable;  no idea if it is a correct fix.
Comment 4 Petr Pisl 2014-01-27 13:39:36 UTC
Fixed in the web-main. Thanks for the patch.
Comment 5 Quality Engineering 2014-01-28 03:06:18 UTC
Integrated into 'main-silver', will be available in build *201401280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f3fb30dd7f80
User: Petr Pisl <ppisl@netbeans.org>
Log: #240765 - NullPointerException at org.netbeans.modules.javascript2.editor.model.Model.moveProperty