Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367577

Summary: [formatting] NullPointerException when formatting new empty CSS file
Product: [WebTools] WTP Source Editing Reporter: Victor Homyakov <vkhomyackov>
Component: wst.cssAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.4 M5   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Error log details none

Description Victor Homyakov CLA 2011-12-27 08:57:01 EST
Created attachment 208814 [details]
Error log details

1. Create new CSS file.
2. Open it, delete all contents (Ctrl-A Delete).
3. Format (Ctrl-Shift-F).

Eclipse shows popup: Problem Occurred. "Format" did not complete normally.  Please see the log for more information.
java.lang.NullPointerException

Eclipse: Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 1
Build id: 20110916-0149
WTP version: wtp-M-3.3.2-20111117045640 (installed to test and use other bugfixes)
Comment 1 Nick Sandonato CLA 2012-01-06 16:28:36 EST
Changes checked in.