uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lou DeGenaro (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-4498) DUCC Web Server (WS) NPE during monitor processing
Date Wed, 01 Jul 2015 13:41:04 GMT

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

Lou DeGenaro commented on UIMA-4498:
------------------------------------

The initial value for State of a Job/Reservation/Service is null.  The WS does not account
for this possibility and takes NPE when "renew" requests arrive until the State is duly  initialized
and published by OR.  The resolution is to check for null and if so simply leave the state
sequence returned by the renew request as empty.

> DUCC Web Server (WS) NPE during monitor processing
> --------------------------------------------------
>
>                 Key: UIMA-4498
>                 URL: https://issues.apache.org/jira/browse/UIMA-4498
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Lou DeGenaro
>            Assignee: Lou DeGenaro
>            Priority: Minor
>             Fix For: 2.0.0-Ducc
>
>
> 01 Jul 2015 08:19:35,925  INFO WS.DuccWebMonitorReservation - 252837 renew  not found
> 01 Jul 2015 08:19:35,926  INFO WS.DuccHandlerProxy - N/A handle   <null> java.lang.NullPointerException
> At:
>         org.apache.uima.ducc.ws.server.DuccWebMonitorReservation.renew(DuccWebMonitorReservation.java:230)
>         org.apache.uima.ducc.ws.server.DuccWebMonitor.renew(DuccWebMonitor.java:199)
>         org.apache.uima.ducc.ws.server.DuccHandlerProxy.handleServletReservationStatus(DuccHandlerProxy.java:157)
>         org.apache.uima.ducc.ws.server.DuccHandlerProxy.handleDuccRequest(DuccHandlerProxy.java:270)
>         org.apache.uima.ducc.ws.server.DuccHandlerProxy.handle(DuccHandlerProxy.java:293)
>         org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
>         org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
>         org.eclipse.jetty.server.Server.handle(Server.java:346)
>         org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
>         org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
>         org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
>         org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
>         org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
>         org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
>         org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>         org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
>         java.lang.Thread.run(Thread.java:780)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message