uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Stenger (Jira)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-6194) Ruta: RutaLiteralMatcher throws exception for special choice of string
Date Wed, 26 Feb 2020 10:38:00 GMT
Michael Stenger created UIMA-6194:
-------------------------------------

             Summary: Ruta: RutaLiteralMatcher throws exception for special choice of string
                 Key: UIMA-6194
                 URL: https://issues.apache.org/jira/browse/UIMA-6194
             Project: UIMA
          Issue Type: Bug
          Components: Ruta
    Affects Versions: 2.8.0ruta
            Reporter: Michael Stenger
             Fix For: 2.8.1ruta, 3.0.1ruta


For certain combinations of document text and RuleElementLiteral in the script, method getAnnotation
of class RutaLiteralMatcher throws a NullPointerException.  This seems to be the case whenever
the used string is a postfix or infix of a word in the document, but itself doesn't occur.
h4. Example

Script

 
{code:java}
DECLARE testType;
"est" {-> testType};
"est te"{-> testType};
{code}
Document

 
{code:java}
test test{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message