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 219790 - NullPointerException at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.formatSpace
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.formatter.JsF...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-10 05:23 UTC by paolosca
Modified: 2012-10-11 02:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 193315


Attachments
stacktrace (4.88 KB, text/plain)
2012-10-10 05:23 UTC, paolosca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paolosca 2012-10-10 05:23:50 UTC
Build: NetBeans IDE Dev (Build 201210040002)
VM: OpenJDK Client VM, 22.0-b10, OpenJDK Runtime Environment, 1.7.0_03-b21
OS: Linux

User Comments:
paolosca: pressed ctrl+shift+c to remove the comment in a line .




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.formatSpace(JsFormatter.java:598)
   at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.access$500(JsFormatter.java:77)
   at org.netbeans.modules.javascript2.editor.formatter.JsFormatter$1.run(JsFormatter.java:239)
   at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:317)
   at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.reformat(JsFormatter.java:118)
   at org.netbeans.modules.csl.core.GsfReformatTask$1.run(GsfReformatTask.java:105)
Comment 1 paolosca 2012-10-10 05:23:53 UTC
Created attachment 125657 [details]
stacktrace
Comment 2 Petr Hejl 2012-10-10 09:49:25 UTC
Fixed in web-main 5157dd4d548c.
Comment 3 Quality Engineering 2012-10-11 02:00:19 UTC
Integrated into 'main-golden', will be available in build *201210110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5157dd4d548c
User: Petr Hejl <phejl@netbeans.org>
Log: #219790 - NullPointerException at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.formatSpace