[
https://jira.jboss.org/jira/browse/JBIDE-2727?page=com.atlassian.jira.plu...
]
Snjezana Peco commented on JBIDE-2727:
--------------------------------------
This issue is caused by a memory leak in the JBoss XML editors.
It can be reproduced in the following way:
- close all editors and restart Eclipse
- try Anton's test case
You won't get the exception
- close all the editors
- open some JBoss XML editor (web.xml or faces-config.xml)
- switch to the Source tab
- close JBoss XML editor
- try Anton's test case again
You will get the exception because JBoss XML editor introduces a memory leak.
The check that Slava have added will prevent the exception, but won't fix the memory
leak.
java.lang.NullPointerException when switch between Design and Source
tab in XML Editor
---------------------------------------------------------------------------------------
Key: JBIDE-2727
URL:
https://jira.jboss.org/jira/browse/JBIDE-2727
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: XML Structured Editor
Affects Versions: 3.0.0.beta1
Reporter: Anton Klimkovich
Assignee: Snjezana Peco
Fix For: 3.0.0.beta1
Attachments: exception.txt
EXECUTE: Create seam web project
EXECUTE: Open jboss-web.xml for example in XML Editor
EXECUTE: Switch between Design and Source tab
FAILURE: java.lang.NullPointerException
log attached.
--
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