Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-790

NPE when getting job status via API

    XMLWordPrintableJSON

Details

    Description

      Here's the trace:

         [junit] java.lang.NullPointerException
          [junit]     at org.apache.manifoldcf.crawler.system.ManifoldCF.apiReadJobStatus(ManifoldCF.java:2063)
          [junit]     at org.apache.manifoldcf.crawler.system.ManifoldCF.executeReadCommand(ManifoldCF.java:3196)
          [junit]     at org.apache.manifoldcf.apiservlet.APIServlet.executeRead(APIServlet.java:231)
          [junit]     at org.apache.manifoldcf.apiservlet.APIServlet.doGet(APIServlet.java:77)
          [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
          [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
          [junit]     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
          [junit]     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
          [junit]     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
          [junit]     at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
          [junit]     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
          [junit]     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
          [junit]     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
          [junit]     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
          [junit]     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
          [junit]     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
          [junit]     at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
          [junit]     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
          [junit]     at org.eclipse.jetty.server.Server.handle(Server.java:349)
          [junit]     at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
          [junit]     at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)
          [junit]     at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
          [junit]     at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
          [junit]     at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
          [junit]     at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
          [junit]     at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
          [junit]     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
          [junit]     at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
          [junit]     at java.lang.Thread.run(Thread.java:722)
      

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: