Karl Wright created CONNECTORS-790:
--------------------------------------
Summary: NPE when getting job status via API
Key: CONNECTORS-790
URL: https://issues.apache.org/jira/browse/CONNECTORS-790
Project: ManifoldCF
Issue Type: Bug
Components: Framework crawler agent
Affects Versions: ManifoldCF 1.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
Fix For: ManifoldCF 1.4
Here's the trace:
{code}
[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)
{code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)