uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl (JIRA) <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-5967) MARKTABLE throws NullPointerException
Date Wed, 13 Feb 2019 10:58:00 GMT

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

Peter Klügl updated UIMA-5967:
------------------------------
    Fix Version/s: 2.7.0ruta

> MARKTABLE throws NullPointerException
> -------------------------------------
>
>                 Key: UIMA-5967
>                 URL: https://issues.apache.org/jira/browse/UIMA-5967
>             Project: UIMA
>          Issue Type: Bug
>          Components: Ruta
>    Affects Versions: 2.7.0ruta
>         Environment: UIMA Ruta 2.7.0
> Eclipse Version 2018-12
> JDK1.8.0_191
> Windows 10
>            Reporter: Paul Bauriegel
>            Assignee: Peter Klügl
>            Priority: Major
>             Fix For: 2.7.0ruta
>
>         Attachments: Ruta_Bug_Project.zip, log.txt
>
>
> The Ruta expression
> {code:java}
> WORDTABLE Dict_Allgemein_Eigenschaften_Table = 'test.csv';
> DECLARE Annotation Allgemein_Eigenschaften(
>     STRING basic_lemma, STRING pos, STRING query_attribute, STRING data_type, STRING
standard_unit,
>     STRING search_for, STRING lemma_is);
> Document{->MARKTABLE(Allgemein_Eigenschaften, 1, Dict_Allgemein_Eigenschaften_Table,
>     "basic_lemma" = 2, "pos"=3, "query_attribute"=4, "data_type"=5, 
>                         "standard_unit"=6, "search_for"=7, "lemma_is"=8)}{code}
> with the dictionary
> {code:java}
> Aktion;Aktion;N;aktionen;str;;field;
> {code}
> throws following exception
> {code:java}
> Jan 24, 2019 7:48:40 AM org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl
callAnalysisComponentProcess(445)
> SCHWERWIEGEND: Exception occurred
> org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing
failed.    
>     at org.apache.uima.ruta.engine.RutaEngine.process(RutaEngine.java:614)
>     at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)
>     at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:411)
>     at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.innerCall(PrimitiveAnalysisEngine_impl.java:329)
>     at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:321)
>     at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:269)
>     at org.apache.uima.ruta.ide.launching.RutaLauncher.processFile(RutaLauncher.java:242)
>     at org.apache.uima.ruta.ide.launching.RutaLauncher.main(RutaLauncher.java:191)
> Caused by: java.lang.NullPointerException
>     at org.apache.uima.ruta.action.MarkTableAction.getDictWSParamValue(MarkTableAction.java:154)
>     at org.apache.uima.ruta.action.MarkTableAction.execute(MarkTableAction.java:119)
>     at org.apache.uima.ruta.rule.AbstractRuleElement.apply(AbstractRuleElement.java:137)
>     at org.apache.uima.ruta.rule.RuleElementCaretaker.applyRuleElements(RuleElementCaretaker.java:121)
>     at org.apache.uima.ruta.rule.ComposedRuleElement.applyRuleElements(ComposedRuleElement.java:628)
>     at org.apache.uima.ruta.rule.AbstractRuleElement.doneMatching(AbstractRuleElement.java:86)
>     at org.apache.uima.ruta.rule.ComposedRuleElement.fallback(ComposedRuleElement.java:527)
>     at org.apache.uima.ruta.rule.ComposedRuleElement.fallbackContinue(ComposedRuleElement.java:420)
>     at org.apache.uima.ruta.rule.RutaRuleElement.startMatch(RutaRuleElement.java:104)
>     at org.apache.uima.ruta.rule.ComposedRuleElement.startMatch(ComposedRuleElement.java:77)
>     at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:64)
>     at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:55)
>     at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:37)
>     at org.apache.uima.ruta.block.RutaScriptBlock.apply(RutaScriptBlock.java:67)
>     at org.apache.uima.ruta.action.CallAction.callScript(CallAction.java:91)
>     at org.apache.uima.ruta.action.CallAction.execute(CallAction.java:73)
>     at org.apache.uima.ruta.rule.AbstractRuleElement.apply(AbstractRuleElement.java:137)
>     at org.apache.uima.ruta.rule.RuleElementCaretaker.applyRuleElements(RuleElementCaretaker.java:121)
>     at org.apache.uima.ruta.rule.ComposedRuleElement.applyRuleElements(ComposedRuleElement.java:628)
>     at org.apache.uima.ruta.rule.AbstractRuleElement.doneMatching(AbstractRuleElement.java:86)
>     at org.apache.uima.ruta.rule.ComposedRuleElement.fallback(ComposedRuleElement.java:527)
>     at org.apache.uima.ruta.rule.ComposedRuleElement.fallbackContinue(ComposedRuleElement.java:420)
>     at org.apache.uima.ruta.rule.RutaRuleElement.startMatch(RutaRuleElement.java:104)
>     at org.apache.uima.ruta.rule.ComposedRuleElement.startMatch(ComposedRuleElement.java:77)
>     at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:64)
>     at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:55)
>     at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:37)
>     at org.apache.uima.ruta.block.RutaScriptBlock.apply(RutaScriptBlock.java:67)
>     at org.apache.uima.ruta.RutaModule.apply(RutaModule.java:56)
>     at org.apache.uima.ruta.engine.RutaEngine.process(RutaEngine.java:612)
>     ... 7 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message