[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-595) Close or delete a project and xml editors gives NPE's

Max Andersen (JIRA) jira-events at lists.jboss.org
Wed Jul 18 03:00:47 EDT 2007


Close or delete a project and xml editors gives NPE's
-----------------------------------------------------

                 Key: JBIDE-595
                 URL: http://jira.jboss.com/jira/browse/JBIDE-595
             Project: JBoss Tools
          Issue Type: Bug
    Affects Versions: 2.0.0.Beta2
            Reporter: Max Andersen
         Assigned To: Viacheslav Kabanovich


Normally editors just states that the file does not exist, but here we are comparing null with some current text...

java.lang.NullPointerException
	at org.jboss.tools.common.model.ui.texteditors.XMLTextEditorComponent.isEqualText(XMLTextEditorComponent.java:223)
	at org.jboss.tools.common.model.ui.texteditors.TextEditorSupport.update(TextEditorSupport.java:46)
	at org.jboss.tools.common.model.ui.texteditors.TextEditorSupport.setObject(TextEditorSupport.java:33)
	at org.jboss.tools.common.model.ui.texteditors.XMLTextEditorComponent.setObject(XMLTextEditorComponent.java:81)
	at org.jboss.tools.common.editor.ObjectMultiPageEditor.initEditors(ObjectMultiPageEditor.java:457)
	at org.jboss.tools.jst.web.ui.editors.WebCompoundEditor.doCreatePages(WebCompoundEditor.java:29)
	at org.jboss.tools.common.editor.ObjectMultiPageEditor.createPages(ObjectMultiPageEditor.java:220)
	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:283)
	at org.jboss.tools.common.model.ui.editor.EditorPartWrapper.createPartControl(EditorPartWrapper.java:102)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list