[ 
https://issues.apache.org/jira/browse/UIMA-3945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062744#comment-14062744
 ] 

Lou DeGenaro commented on UIMA-3945:
------------------------------------

Code to produce the status summary line on the Job Details page, for example

Id: 3902                State: Running          Workitems: 101          Done: 
58                Error: 4                Dispatch: -6            Unassigned: 6 
          Limbo: 0          

is sometimes taking NPE.  Code should be prepared to handle null value for 
"job" and for "job.getStateObject()", which it does not presently.

> DUCC Web Server (WS) takes NPE in DuccHandler
> ---------------------------------------------
>
>                 Key: UIMA-3945
>                 URL: https://issues.apache.org/jira/browse/UIMA-3945
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Lou DeGenaro
>            Assignee: Lou DeGenaro
>            Priority: Minor
>             Fix For: 1.1.0-Ducc
>
>
> java.lang.NullPointerException
>       at 
> org.apache.uima.ducc.ws.server.DuccHandler.handleDuccServletJobWorkitemsCountData(DuccHandler.java:1030)
>       at 
> org.apache.uima.ducc.ws.server.DuccHandler.handleDuccRequest(DuccHandler.java:4060)
>       at 
> org.apache.uima.ducc.ws.server.DuccHandler.handle(DuccHandler.java:4272)
>       at 
> org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
>       at org.eclipse.jetty.server.Server.handle(Server.java:346)
>       at 
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
>       at 
> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
>       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
>       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
>       at 
> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
>       at java.lang.Thread.run(Thread.java:780)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to