Thanks Karl, I am connecting to Alfresco version 4.2.2 using cmis connector. Connection works fine as in attached screenshot but job does not run.
Regards. On Mon, Sep 8, 2014 at 5:25 PM, Karl Wright <[email protected]> wrote: > Hi Lalit, > > CMIS is returning a null document identifier during seeding. What > repository are you connecting to here? > > Karl > > > > On Mon, Sep 8, 2014 at 7:51 AM, lalit jangra <[email protected]> > wrote: > >> Hi, >> >> I am using MCF 1.5.1 and connecting to alfresco 4.2.2 using CMIS >> connector. For alfresco job, i am passing below query as parameter. >> >> SELECT cmis:name FROM cmis:document WHERE >> CONTAINS('PATH:/app:company_home/st:sites/cm:am/cm:documentLibrary//*') AND >> cmis:createdBy NOT like '%System%' AND cmis:contentStreamLength > 0 >> >> But when i am trying to restart this job, i get this error and job does >> not start. >> >> ERROR 2014-09-08 12:24:54,604 (Startup thread) - Exception tossed: >> Couldn't encrypt: null >> >> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Couldn't >> encrypt: null >> >> at >> org.apache.manifoldcf.core.system.ManifoldCF.addToHash(ManifoldCF.java:592) >> >> at >> org.apache.manifoldcf.core.system.ManifoldCF.encrypt(ManifoldCF.java:647) >> >> at >> org.apache.manifoldcf.core.system.ManifoldCF.hash(ManifoldCF.java:562) >> >> at >> org.apache.manifoldcf.crawler.system.SeedingActivity.addSeedDocument(SeedingActivity.java:101) >> >> at >> org.apache.manifoldcf.crawler.system.SeedingActivity.addSeedDocument(SeedingActivity.java:126) >> >> at >> org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.addSeedDocuments(CmisRepositoryConnector.java:761) >> >> at >> org.apache.manifoldcf.crawler.system.StartupThread.run(StartupThread.java:153) >> >> Caused by: java.lang.NullPointerException >> >> at >> org.apache.manifoldcf.core.system.ManifoldCF.addToHash(ManifoldCF.java:587) >> >> ... 6 more >> >> Please suggest. >> >> Regards, >> Lalit. >> > > -- Regards, Lalit.
