Hi devs,
I’m testing a new connector and I’m continuously getting a Null Pointer
Exception in the same class. The whole trace inside Manifold is the following:
at
org.apache.manifoldcf.crawler.system.PipelineSpecificationWithVersions.getStatus(PipelineSpecificationWithVersions.java:53)
at
org.apache.manifoldcf.crawler.system.PipelineSpecificationWithVersions.getOutputDocumentVersionString(PipelineSpecificationWithVersions.java:66)
at
org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester$PipelineObjectWithVersions.buildAddPipeline(IncrementalIngester.java:2746)
at
org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester$PipelineObjectWithVersions.addOrReplaceDocumentWithException(IncrementalIngester.java:2711)
at
org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.documentIngest(IncrementalIngester.java:781)
at
org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocumentWithException(WorkerThread.java:1600)
at
org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocumentWithException(WorkerThread.java:1554)
The call to the ingestDocumentWithException method is correct and all the
parameters are not null and well formed:
activities.ingestDocumentWithException(String.valueOf(uuid), "", uuid, rd);
The version of the document is intentionally empty. Any clue about how could
this happening?
Thanks,
Rafa