You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2008/03/27 09:33:24 UTC

[jira] Closed: (UIMA-893) annotation viewer throws FileNotFoundException

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

Michael Baessler closed UIMA-893.
---------------------------------

    Resolution: Invalid

User error.

The annotation viewer stores some settings using Java Preferences. 

These preferences are stored on windows in the registry at:
HKEY_CURRENT_USER/Software/JavaSoft/Pref

On Linux the preferences are stored at:
<USER_HOME>/.java/.userPrefs

After deleting the old preferences and try again with a clean setup, all works fine.

> annotation viewer throws FileNotFoundException
> ----------------------------------------------
>
>                 Key: UIMA-893
>                 URL: https://issues.apache.org/jira/browse/UIMA-893
>             Project: UIMA
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.2.1
>            Reporter: Michael Baessler
>            Assignee: Adam Lally
>             Fix For: 2.2.2
>
>
> The exception occurred when clicking "Edit Style Map"
> The descriptor that the annotation viewer search for was not used within the annotation viewer.
> java.io.FileNotFoundException: D:\code\apache\apache-uima\examples\descriptors\analysis_engine\PersonTitleAnnotator.xml (The system cannot find the path specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>         at java.io.FileInputStream.<init>(FileInputStream.java:66)
>         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
>         at java.net.URL.openStream(URL.java:1007)
>         at org.apache.uima.util.XMLInputSource.<init>(XMLInputSource.java:114)
>         at org.apache.uima.util.XMLInputSource.<init>(XMLInputSource.java:63)
>         at org.apache.uima.tools.docanalyzer.AnnotationViewerDialog.promptForAE(AnnotationViewerDialog.java:663)
>         at org.apache.uima.tools.docanalyzer.AnnotationViewerDialog.actionPerformed(AnnotationViewerDialog.java:328)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.