uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: Cas Editor: selecting annotation type
Date Thu, 05 May 2011 10:58:07 GMT
On 5/5/11 12:53 PM, Jörn Kottmann wrote:
> 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.

The fix is checked in now.

Here is the issue:
https://issues.apache.org/jira/browse/UIMA-2136

I resolved the issue, would be nice if you can close it to confirm
that the problem is really fixed.

Jörn

Mime
View raw message