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.
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)
Created attachment 144204 [details] stacktrace
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.
Created attachment 144351 [details] Hotfix Fixes the issue, making the IDE usable; no idea if it is a correct fix.
Fixed in the web-main. Thanks for the patch.
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