uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Grivolla <j+...@grivolla.net>
Subject Re: Cas Editor: selecting annotation type
Date Thu, 05 May 2011 10:55:16 GMT
On 05/05/2011 12:37 PM, Jens Grivolla wrote:
> 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.

It works fine after I removed the check.

- if ( project.hasNature("org.apache.uima.caseditor.NLPProject")) {
+ if (false) {

Bye,
Jens


Mime
View raw message