You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <de...@uima.apache.org> on 2011/05/05 12:58:03 UTC

[jira] [Resolved] (UIMA-2136) Cas Editor fails to start when workspace has a closed proejct

     [ https://issues.apache.org/jira/browse/UIMA-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann resolved UIMA-2136.
---------------------------------

    Resolution: Fixed

> Cas Editor fails to start when workspace has a closed proejct
> -------------------------------------------------------------
>
>                 Key: UIMA-2136
>                 URL: https://issues.apache.org/jira/browse/UIMA-2136
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>    Affects Versions: 2.3.2SDK
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>             Fix For: 2.3.2SDK
>
>
> The Cas Editor crashes on startup when the workspace has a closed project.
> 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. 
> The call to hasNature can only be done on open projects. To fix this issue check first that the project is open.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira