Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 1.0
-
None
Description
A NPE was thrown when I tried to view the simple history for the file system connector. This happened after I tried to delete the connector itself and its belonging jobs.
Apparently I managed to delete the jobs since they went away from the job list, but their status were still in the "cleaning up" state. Entries like this were shown in manifoldcf.log:
WARN 2012-08-10 14:25:10,421 (Worker thread '4') - Pre-ingest service interruption reported for job 1335434066944 connection 'web_crawler': Http response temporary error on 'http://www.apollon.uio.no/vis/art/1998/3/intervju': 503
The Agent process was running as it should.
These problems started to occur after I upgraded from version 0.6 to 1.0 RC0.
I executed the following prior to my upgrade:
crawler.UnRegisterAll
agents.UnRegisterAllOutputs
agents.UnRegisterAll
agents.Uninstall (slette alle tabeller i databasen)
core.LockClean
The configuration was exported and imported back to MCF after the upgrade.
Environment:
- PostgreSQL 9.1.4
- Resin 4.0.27
- solr-test02 mcf-1 $ uname -a
Linux solr-test02.uio.no 2.6.18-308.4.1.el5 #1 SMP Wed Mar 28 01:54:56 EDT 2012 x86_64 GNU/Linux
My properties.xml looks like:
<configuration> <property name="org.apache.manifoldcf.database.maxhandles" value="100"/> <property name="org.apache.manifoldcf.crawler.threads" value="50"/> <property name="org.apache.manifoldcf.database.name" value="****"/> <property name="org.apache.manifoldcf.database.username" value="****"/> <property name="org.apache.manifoldcf.database.password" value="****"/> <property name="org.apache.manifoldcf.postgresql.hostname" value="dbpg-chaos2.uio.no"/> <property name="org.apache.manifoldcf.postgresql.ssl" value="true"/> <!-- Point to a specific logging file --> <property name="org.apache.manifoldcf.logconfigfile" value="./logging.ini"/> <!-- Tell LCF where to find the connector jars --> <libdir path="../lib/"/> <property name="org.apache.manifoldcf.salt" value="****"/> <!-- Any additional properties go here --> <property name="org.apache.manifoldcf.synchdirectory" value="../data/synchdir"/> </configuration>
[2012-09-21 14:57:10.220] {resin-port-127.0.0.1:6945-143} java.lang.NullPointerException at _jsp._simplereport__jsp._jspService(_simplereport__jsp.java:367) at _jsp._simplereport__jsp._jspService(_simplereport__jsp.java:36) at com.caucho.jsp.JavaPage.service(JavaPage.java:64) at com.caucho.jsp.Page.pageservice(Page.java:542) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:126) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:116) at com.caucho.jsp.PageContextImpl.forward(PageContextImpl.java:1149) at _jsp._execute__jsp._jspService(_execute__jsp.java:1072) at _jsp._execute__jsp._jspService(_execute__jsp.java:36) at com.caucho.jsp.JavaPage.service(JavaPage.java:64) at com.caucho.jsp.Page.pageservice(Page.java:542) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289) at com.caucho.server.hmux.HmuxRequest.handleInvocation(HmuxRequest.java:468) at com.caucho.server.hmux.HmuxRequest.handleRequestImpl(HmuxRequest.java:369) at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:336) at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1301) at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1257) at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1241) at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1149) at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:950) at com.caucho.network.listen.TcpSocketLink.handleAcceptTask(TcpSocketLink.java:902) at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:114) at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93) at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169) at com.caucho.network.listen.TcpSocketResumeThread.run(TcpSocketResumeThread.java:62) at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173) at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)