You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2019/01/30 21:21:00 UTC

[jira] [Closed] (UIMA-5973) UIMA-DUCC: fix NPE when pullservice is stopping

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

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

Modified to check transaction object after callGet()

> UIMA-DUCC: fix NPE when pullservice is stopping 
> ------------------------------------------------
>
>                 Key: UIMA-5973
>                 URL: https://issues.apache.org/jira/browse/UIMA-5973
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 3.0.0-Ducc
>
>
> When a service is stopping due to one thread failing in AE.process(), another thread throws NPE while handling incomplete task. Looks like transport has stopped while a thread attempted to send GET request. 
> java.lang.NullPointerException
>  at org.apache.uima.ducc.ps.service.protocol.builtin.DefaultServiceProtocolHandler.call(DefaultServiceProtocolHandler.java:283)
>  at org.apache.uima.ducc.ps.service.protocol.builtin.DefaultServiceProtocolHandler.call(DefaultServiceProtocolHandler.java:55)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:277)
>  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:191)
>  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>  at org.apache.uima.ducc.ps.ServiceThreadFactory$1.run(ServiceThreadFactory.java:57)
>  at java.lang.Thread.run(Thread.java:811)



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