On 5/5/11 12:37 PM, Jens Grivolla wrote:
It seems to have picked it up ok, but I'm getting errors when opening an XMI with the Annotation editor:

Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/OneOfMyClosedProjects' is not open. at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:137) at org.eclipse.core.internal.resources.Project.hasNature(Project.java:511) at org.apache.uima.caseditor.CasEditorPlugin.start(CasEditorPlugin.java:90)

Apparently the migration from CasEditorProjects to the new way fails whenever there is a closed project in the workspace. I don't have any projects that need to be migrated, but it tries to check every project I have and fails hard when it can't. It would be good if somebody could verify that before filing a bug report.

Thanks for reporting this, the call to hasNature fails if the project is closed.
I will open the jira issue myself and then commit my fix.

Jörn

Reply via email to