[
https://jira.jboss.org/jira/browse/JBIDE-2063?page=com.atlassian.jira.plu...
]
Victor Rubezhny resolved JBIDE-2063.
------------------------------------
Resolution: Done
Not a bug but normal behaviour for eclipse & WTP.
The content type is often depends on either a file extension or a file content. In case of
a new empty file that doesn't has an extension in its name, the document provider to
be improper when the file is opened with a WTP editor (which requires a Structured
document provider to be used).
Due to last changes for the JSTTextEditor and VPE Editor there are no exceptions appears
in my environment at the moment.
java.lang.NullPointerException when open file w/o extension in JBoss
Tools JSP/HTML editors.
--------------------------------------------------------------------------------------------
Key: JBIDE-2063
URL:
https://jira.jboss.org/jira/browse/JBIDE-2063
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.1.0.beta1
Reporter: Anton Klimkovich
Assignee: Victor Rubezhny
Priority: Minor
Fix For: 3.0.0.beta1
Attachments: exception1.txt, exception2.txt
EXECUTE: Create jsf project
EXECUTE: Open Web Projects view
EXECUTE: New-> File ->Any Extension...
EXECUTE: Input file name w/o input any extensio
ASSERT: File will be opened in Default editor
EXECUTE: Open file with the help of JBoss Tools JSP/HTML editors.
FAILURE: File won't be opened and some exceptions occured.
Log attached.
Error occures if open file w/o extension also with the help of Web Page Editor. (WTP)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira