Community
Participate
Working Groups
ArrayIndexOutOfBoundsException is thrown in the following scenario: 1. Create two projects: A and B. 2. In project A, create "contacts.xml". This will open the Contacts sample editor. Make a few changes and save. Leave the editor open. 3. In project B, create another file (any type). Leave this editor on top. 4. Close Eclipse. 5. Open Eclipse with the same workspace. 6. Delete project A. 7. Switch to contacts editor. There is a related scenario where the associated file is deleted on the file system when the Eclipse is down.
Improved the Sapphire editor to detect the case where the associated resource is not accessible on editor activation. The editor will now display a single page with the following message: Associated resource is not accessible. Unlike the case where the file is deleted after editor activation, the editor will not be automatically closed.
Due to Oracle adopter usecases, this needs to be backported to 0.1 release.
Fixed.
Verified exception. A side note, under the same scemario, the java file throws a CoreException and displays: "Could not open the editor: The file does not exist."