Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328210 - when change the file name , NullPointerException happen
Summary: when change the file name , NullPointerException happen
Status: CLOSED DUPLICATE of bug 320996
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.xml CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 02:53 EDT by DartPeng CLA
Modified: 2010-10-20 08:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DartPeng CLA 2010-10-20 02:53:30 EDT
Build Identifier: I20100608-0911

Open the xml file with XML editor , then change the extention name of the xml file , eclipse will throw NullPointerException.


Reproducible: Always

Steps to Reproduce:
1. Create project
2. Create xml file and open the xml editor
3. Try to rename the xml file and remove xml extension (you can try use .x or anything else than xml - it works as well)
Comment 1 Nick Sandonato CLA 2010-10-20 08:26:03 EDT
This is ultimately a limitation of the Structured Text Editor and its dependency on content types to support the structured model and this NPE and other problems stem from it being an unsupported content type in the Structured Text Editor. Bug 320996 has already been opened to investigate.

*** This bug has been marked as a duplicate of bug 320996 ***