[jira] [Commented] (UIMA-6195) RutaLiteralMatcher throws NPE
[ https://issues.apache.org/jira/browse/UIMA-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045573#comment-17045573 ] Dominic Jehle commented on UIMA-6195: - To me it's the same issue, didn't find it before opening a new one, sorry. > RutaLiteralMatcher throws NPE > -- > > Key: UIMA-6195 > URL: https://issues.apache.org/jira/browse/UIMA-6195 > Project: UIMA > Issue Type: Bug > Components: Ruta >Affects Versions: 3.0.0ruta >Reporter: Dominic Jehle >Priority: Critical > Attachments: 1_Debug_View.JPG, 2_Debug_View_Types.JPG > > > *Problem* > During update to ruta 3.0.0. from 2.6.1, one of my rules started to throw an > NPE at execution in RutaLiteralMatcher. > *Example* > It's a very simple rule with a literal upper case "I" followed by a previous > match (in this case underscores): > {code:java} > "+" -> SIMPLEFORMATTING; > "I" SIMPLEFORMATTING "I"? { -> MARKONCE(FORMATTING,1,2)}; > {code} > When run on input like > {code:java} > "PI_I How to test it?"{code} > it crashes with NPE. Input like > {code:java} > "P I_I How to test it?"{code} > is fine. > Here's the stack: > {code:java} > org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator > processing failed. > 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.AnalysisEngineImplBase.lambda$callProcessMethod$3(AnalysisEngineImplBase.java:626) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.withContexts(AnalysisEngineImplBase.java:653) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.callProcessMethod(AnalysisEngineImplBase.java:623) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:381) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:299) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:272) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:287) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.run(RecognizerFormattingFactoryTest.java:208) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.testFormattingRutaUpdateBug2020(RecognizerFormattingFactoryTest.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at > org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at > org.junit.runners.ParentRunner.run(ParentRunner.java:363) at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)Caused > by: java.lang.NullPointerException at > org.apache.uima.ruta.rule.RutaLiteralMatcher.getAnnotation(RutaLiteralMatcher.java:72) > at > org.apache.uima.ruta.rule.RutaLiteralMatcher.getMatchingAnnotations(RutaLiteralMatcher.java:62) > at >
[jira] [Commented] (UIMA-6195) RutaLiteralMatcher throws NPE
[ https://issues.apache.org/jira/browse/UIMA-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063362#comment-17063362 ] Peter Klügl commented on UIMA-6195: --- Yes, this is most likely already fixed in the current trunk/snapshot. I will add a test and reproduce it just to be sure. Then, I will prepare a bugfix release, but no promises when exactly (in these corona times). > RutaLiteralMatcher throws NPE > -- > > Key: UIMA-6195 > URL: https://issues.apache.org/jira/browse/UIMA-6195 > Project: UIMA > Issue Type: Bug > Components: Ruta >Affects Versions: 3.0.0ruta >Reporter: Dominic Jehle >Assignee: Peter Klügl >Priority: Critical > Attachments: 1_Debug_View.JPG, 2_Debug_View_Types.JPG > > > *Problem* > During update to ruta 3.0.0. from 2.6.1, one of my rules started to throw an > NPE at execution in RutaLiteralMatcher. > *Example* > It's a very simple rule with a literal upper case "I" followed by a previous > match (in this case underscores): > {code:java} > "+" -> SIMPLEFORMATTING; > "I" SIMPLEFORMATTING "I"? { -> MARKONCE(FORMATTING,1,2)}; > {code} > When run on input like > {code:java} > "PI_I How to test it?"{code} > it crashes with NPE. Input like > {code:java} > "P I_I How to test it?"{code} > is fine. > Here's the stack: > {code:java} > org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator > processing failed. > 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.AnalysisEngineImplBase.lambda$callProcessMethod$3(AnalysisEngineImplBase.java:626) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.withContexts(AnalysisEngineImplBase.java:653) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.callProcessMethod(AnalysisEngineImplBase.java:623) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:381) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:299) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:272) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:287) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.run(RecognizerFormattingFactoryTest.java:208) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.testFormattingRutaUpdateBug2020(RecognizerFormattingFactoryTest.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at > org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at > org.junit.runners.ParentRunner.run(ParentRunner.java:363) at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)Caused > by: java.lang.NullPointerException at > org.apache.uima.ruta.rule.Ru
[jira] [Commented] (UIMA-6195) RutaLiteralMatcher throws NPE
[ https://issues.apache.org/jira/browse/UIMA-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063365#comment-17063365 ] Peter Klügl commented on UIMA-6195: --- Yes, the problem is gone in the current trunk. > RutaLiteralMatcher throws NPE > -- > > Key: UIMA-6195 > URL: https://issues.apache.org/jira/browse/UIMA-6195 > Project: UIMA > Issue Type: Bug > Components: Ruta >Affects Versions: 3.0.0ruta >Reporter: Dominic Jehle >Assignee: Peter Klügl >Priority: Critical > Fix For: 3.0.1ruta > > Attachments: 1_Debug_View.JPG, 2_Debug_View_Types.JPG > > > *Problem* > During update to ruta 3.0.0. from 2.6.1, one of my rules started to throw an > NPE at execution in RutaLiteralMatcher. > *Example* > It's a very simple rule with a literal upper case "I" followed by a previous > match (in this case underscores): > {code:java} > "+" -> SIMPLEFORMATTING; > "I" SIMPLEFORMATTING "I"? { -> MARKONCE(FORMATTING,1,2)}; > {code} > When run on input like > {code:java} > "PI_I How to test it?"{code} > it crashes with NPE. Input like > {code:java} > "P I_I How to test it?"{code} > is fine. > Here's the stack: > {code:java} > org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator > processing failed. > 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.AnalysisEngineImplBase.lambda$callProcessMethod$3(AnalysisEngineImplBase.java:626) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.withContexts(AnalysisEngineImplBase.java:653) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.callProcessMethod(AnalysisEngineImplBase.java:623) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:381) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:299) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:272) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:287) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.run(RecognizerFormattingFactoryTest.java:208) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.testFormattingRutaUpdateBug2020(RecognizerFormattingFactoryTest.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at > org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at > org.junit.runners.ParentRunner.run(ParentRunner.java:363) at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)Caused > by: java.lang.NullPointerException at > org.apache.uima.ruta.rule.RutaLiteralMatcher.getAnnotation(RutaLiteralMatcher.java:72) > at > org.apache.uima.ruta.rule.RutaLiteralMatcher.getMatchingAnnotations
[jira] [Commented] (UIMA-6195) RutaLiteralMatcher throws NPE
[ https://issues.apache.org/jira/browse/UIMA-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17065546#comment-17065546 ] Dominic Jehle commented on UIMA-6195: - Thanks! Will watch out for the bug fix release. > RutaLiteralMatcher throws NPE > -- > > Key: UIMA-6195 > URL: https://issues.apache.org/jira/browse/UIMA-6195 > Project: UIMA > Issue Type: Bug > Components: Ruta >Affects Versions: 3.0.0ruta >Reporter: Dominic Jehle >Assignee: Peter Klügl >Priority: Critical > Fix For: 3.0.1ruta > > Attachments: 1_Debug_View.JPG, 2_Debug_View_Types.JPG > > > *Problem* > During update to ruta 3.0.0. from 2.6.1, one of my rules started to throw an > NPE at execution in RutaLiteralMatcher. > *Example* > It's a very simple rule with a literal upper case "I" followed by a previous > match (in this case underscores): > {code:java} > "+" -> SIMPLEFORMATTING; > "I" SIMPLEFORMATTING "I"? { -> MARKONCE(FORMATTING,1,2)}; > {code} > When run on input like > {code:java} > "PI_I How to test it?"{code} > it crashes with NPE. Input like > {code:java} > "P I_I How to test it?"{code} > is fine. > Here's the stack: > {code:java} > org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator > processing failed. > 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.AnalysisEngineImplBase.lambda$callProcessMethod$3(AnalysisEngineImplBase.java:626) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.withContexts(AnalysisEngineImplBase.java:653) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.callProcessMethod(AnalysisEngineImplBase.java:623) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:381) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:299) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:272) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:287) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.run(RecognizerFormattingFactoryTest.java:208) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.testFormattingRutaUpdateBug2020(RecognizerFormattingFactoryTest.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at > org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at > org.junit.runners.ParentRunner.run(ParentRunner.java:363) at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)Caused > by: java.lang.NullPointerException at > org.apache.uima.ruta.rule.RutaLiteralMatcher.getAnnotation(RutaLiteralMatcher.java:72) > at > org.apache.uima.ruta.rule.RutaLiteralMatcher.getMatchingAnnota
[jira] [Commented] (UIMA-6195) RutaLiteralMatcher throws NPE
[ https://issues.apache.org/jira/browse/UIMA-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091586#comment-17091586 ] Dominic Jehle commented on UIMA-6195: - Thank you for the swift fix and release, we are now on RUTA v3.0.1 and everything looks great. > RutaLiteralMatcher throws NPE > -- > > Key: UIMA-6195 > URL: https://issues.apache.org/jira/browse/UIMA-6195 > Project: UIMA > Issue Type: Bug > Components: Ruta >Affects Versions: 3.0.0ruta >Reporter: Dominic Jehle >Assignee: Peter Klügl >Priority: Critical > Fix For: 3.0.1ruta > > Attachments: 1_Debug_View.JPG, 2_Debug_View_Types.JPG > > > *Problem* > During update to ruta 3.0.0. from 2.6.1, one of my rules started to throw an > NPE at execution in RutaLiteralMatcher. > *Example* > It's a very simple rule with a literal upper case "I" followed by a previous > match (in this case underscores): > {code:java} > "+" -> SIMPLEFORMATTING; > "I" SIMPLEFORMATTING "I"? { -> MARKONCE(FORMATTING,1,2)}; > {code} > When run on input like > {code:java} > "PI_I How to test it?"{code} > it crashes with NPE. Input like > {code:java} > "P I_I How to test it?"{code} > is fine. > Here's the stack: > {code:java} > org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator > processing failed. > 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.AnalysisEngineImplBase.lambda$callProcessMethod$3(AnalysisEngineImplBase.java:626) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.withContexts(AnalysisEngineImplBase.java:653) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.callProcessMethod(AnalysisEngineImplBase.java:623) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:381) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:299) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:272) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:287) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.run(RecognizerFormattingFactoryTest.java:208) > at > com.myorg.uima.ruta.recognizer.RecognizerFormattingFactoryTest.testFormattingRutaUpdateBug2020(RecognizerFormattingFactoryTest.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at > org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at > org.junit.runners.ParentRunner.run(ParentRunner.java:363) at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)Caused > by: java.lang.NullPointerException at > org.apache.uima.ruta.rule.RutaLiteralMatcher.getAnnotation(RutaLiteralMatcher.java:72) > at > org.apache.uim