[
https://issues.apache.org/jira/browse/UIMA-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579552#action_12579552
]
Adam Lally commented on UIMA-893:
---------------------------------
I couldn't reproduce this. Can you provide more information? Here's what I
did:
>From a fresh UIMA install, I first ran the DocumentAnalyzer in order to
>generate some analysis results. I ran the PersonTitleAnnotator.xml AE from
>the uima examples, and put the results into
>apache-uima/examples/data/processed.
I then ran the AnnotationViewer, selected apache-uima/examples/data/processed
as the input directory, and the PersonTitleAnnotator.xml as the "Type System or
AE Descriptor File". I clicked "View" and then on the next dialog clicked
"Edit Style Map". The Style Map Editor dialog appeared, without any error.
> 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.