You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Sean Finan (JIRA)" <ji...@apache.org> on 2017/10/25 14:36:00 UTC

[jira] [Commented] (CTAKES-470) Throw exception when piper file can't be loaded

    [ https://issues.apache.org/jira/browse/CTAKES-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218765#comment-16218765 ] 

Sean Finan commented on CTAKES-470:
-----------------------------------

Originally reporting via email:

I am assemblying my own app and trying to run the DefaultFastPipeline.piper file. I noticed that the following error did not blow up the system:

*24 Oct 2017 14:56:21 ERROR PiperFileReader - No piper file found for
DictionarySubPipe.piper*
*24 Oct 2017 14:56:21 ERROR PiperFileReader - Could not read piper file:
DictionarySubPipe.piper*


Ideally, this should be an error that exit the main program. Thanks,

Melvin


> Throw exception when piper file can't be loaded
> -----------------------------------------------
>
>                 Key: CTAKES-470
>                 URL: https://issues.apache.org/jira/browse/CTAKES-470
>             Project: cTAKES
>          Issue Type: Improvement
>          Components: ctakes-core
>    Affects Versions: 4.0.1
>            Reporter: Sean Finan
>            Assignee: Sean Finan
>            Priority: Minor
>             Fix For: 4.0.1
>
>
> When a piper file is not found or cannot otherwise be loaded, an error is logged and the pipeline continues.
> Originally this was done to enable a recursive search for piper files, but that is now performed in a different area of the code.
> An IOException is now thrown within a UIMAException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)