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.
66 duplicates so far ... Build: NetBeans IDE 6.1 Beta (Build 200803050202) VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04 OS: Windows XP, 5.1, x86 User comments: STACKTRACE: (first 10 lines) java.lang.NullPointerException at org.netbeans.modules.css.gsf.CSSFormatter.isOnlyWhiteSpaces(CSSFormatter.java:321) at org.netbeans.modules.css.gsf.CSSFormatter.isWSToken(CSSFormatter.java:317) at org.netbeans.modules.css.gsf.CSSFormatter.findTokenSequenceBounds(CSSFormatter.java:284) at org.netbeans.modules.css.gsf.CSSFormatter.reindent(CSSFormatter.java:98) at org.netbeans.modules.gsf.GsfIndentTask.reindent(GsfIndentTask.java:69) at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:502) at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:271) at org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:232) at org.netbeans.modules.editor.indent.FormatterImpl.indentLine(FormatterImpl.java:138) at org.netbeans.modules.editor.indent.FormatterImpl.indentNewLine(FormatterImpl.java:133)
This looks like it's been fixed in 6.5 release - all exceptions are from older builds. It is not obvious why token text is null.
v/c