manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: Strange Anomaly
Date Fri, 05 Aug 2011 09:41:24 GMT
The addOrReplaceDocument method is NEVER called unless the thread
context has been set (and not cleared).  So that is not the
explanation.

Karl


On Fri, Aug 5, 2011 at 2:25 AM, Farzad Valad <hokie@farzad.net> wrote:
> I wonder if this error is related to the fact that it seems
> clearThreadContext is called before my method finished? Or is this a logger
> anomaly and clearThreadContext was called after the error was tossed?
>  Thanks!
>
> DEBUG 2011-08-05 01:14:51,005 [Worker thread '25']
> (DupFinderConnector.java:474) - Releaseing connection handle
> ERROR 2011-08-05 01:14:51,042 [Worker thread '25'] (WorkerThread.java:893) -
> Exception tossed: txn [createtopic] failed with error
> java.lang.NullPointerException
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: txn [createtopic]
> failed with error java.lang.NullPointerException
>    at com.systemware.ci.sdk.CIConnector.sendTxn(CIConnector.java:277)
>    at com.systemware.ci.sdk.CIConnector.sendTxn(CIConnector.java:315)
>    at
> org.apache.manifoldcf.agents.output.dupfinder.DupFinderConnector.captureUniqueDoc2CI(DupFinderConnector.java:370)
>    at
> org.apache.manifoldcf.agents.output.dupfinder.DupFinderConnector.addOrReplaceDocument(DupFinderConnector.java:195)
>    at
> org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.addOrReplaceDocument(IncrementalIngester.java:1433)
>    at
> org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.performIngestion(IncrementalIngester.java:418)
>    at
> org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.documentIngest(IncrementalIngester.java:313)
>    at
> org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocument(WorkerThread.java:1565)
>    at
> org.apache.manifoldcf.crawler.connectors.filesystem.FileConnector.processDocuments(FileConnector.java:275)
>    at
> org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:423)
>    at
> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:564)
>

Mime
View raw message