uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-5703) UIMA-AS: Fix NPE on service shutdown
Date Sat, 27 Jan 2018 16:42:00 GMT

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

Jerry Cwiklik closed UIMA-5703.
-------------------------------
    Resolution: Fixed

Removed the cause of NPE. One thread was nullifying reference to an InputChannel while another
was still using it. 

> UIMA-AS: Fix NPE on service shutdown
> ------------------------------------
>
>                 Key: UIMA-5703
>                 URL: https://issues.apache.org/jira/browse/UIMA-5703
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 2.10.2AS
>
>
> Sometimes the service throws NPE when cleaning up while shutting down. The stack trace
is a follows:
> Jan 11, 2018 10:12:29 AM org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl
terminate
> INFO: Controller: Meeting Detector TAE Received Terminate Event
> Jan 11, 2018 10:12:29 AM org.apache.uima.adapter.jms.service.UIMA_Service main
> WARNING: 
> java.lang.NullPointerException
> 	at org.apache.uima.aae.controller.BaseAnalysisEngineController.getInputChannel(BaseAnalysisEngineController.java:2435)
> 	at org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:2168)
> 	at org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:2148)
> 	at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.undeploy(SpringContainerDeployer.java:501)
> 	at org.apache.uima.adapter.jms.service.UIMA_Service.main(UIMA_Service.java:464)



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

Mime
View raw message