[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4433) Cannot close editors which file no longer exists

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Jun 8 03:34:56 EDT 2009


Cannot close editors which file no longer exists
------------------------------------------------

                 Key: JBIDE-4433
                 URL: https://jira.jboss.org/jira/browse/JBIDE-4433
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: common
    Affects Versions: 3.1.0.M1
            Reporter: Max Rydahl Andersen
            Assignee: Viacheslav Kabanovich
             Fix For: 3.1.0.M2


1. Open a set of .xhtml or .xml files that JBoss Tools XModel is handling
2. Delete the open files on the filesystem directly 
3. Try and use Close All editors 

That fails with this:

java.lang.IllegalArgumentException
	at org.eclipse.ui.part.FileEditorInput.getPath(FileEditorInput.java:208)
	at org.jboss.tools.common.model.ui.editor.ModelObjectLocationEditorInput.equals(ModelObjectLocationEditorInput.java:48)
	at org.eclipse.ui.internal.util.Util.equals(Util.java:370)
	

Looks like the equals method is not failsafe causing errors.


-- 
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

        



More information about the jbosstools-issues mailing list