Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6CBE115FD for ; Mon, 8 Sep 2014 12:10:19 +0000 (UTC) Received: (qmail 63068 invoked by uid 500); 8 Sep 2014 12:10:19 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 63014 invoked by uid 500); 8 Sep 2014 12:10:19 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 63003 invoked by uid 99); 8 Sep 2014 12:10:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2014 12:10:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daddywri@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-yk0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2014 12:09:52 +0000 Received: by mail-yk0-f173.google.com with SMTP id 19so288948ykq.4 for ; Mon, 08 Sep 2014 05:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=w00/QxxJMo/iLp7qKt5XBmDzVNqIOj1NvR4sc3widIU=; b=S7ND7X5eDG3YZhGjyx3wXdtRB91fV6pvEZgwI2YroFxntxcp07lTJrdEo9yiN6sJFQ xNjh71Nez66CauSeoUjf+Owd3/ztCcPoXKUCokm4HJfCPicM+ylI1e6qrCJAZ1XDdPb/ uzlY6aL1JRORJSAfi1gyN9H8FPtqlZ6hGoX+5GycJKZc25873QO8MxFAcPujz/ZjNV/u JhMCJCwGy19P79l/kNE9hJ2PXmHknrjMpHwBVjnRMibAP5HCqYHfW+8qJJViYJGJ+VU8 n8WO7hN5YKr0qtxKaODg85GNlLDizMlMfppeYjYoNsVT+Ezz9BCR5I4JOL9bvssUJbKq rOuw== MIME-Version: 1.0 X-Received: by 10.236.88.226 with SMTP id a62mr42711435yhf.64.1410178191511; Mon, 08 Sep 2014 05:09:51 -0700 (PDT) Received: by 10.170.135.12 with HTTP; Mon, 8 Sep 2014 05:09:51 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Sep 2014 08:09:51 -0400 Message-ID: Subject: Re: Couldn't encrypt: null error in CMIS Job From: Karl Wright To: "user@manifoldcf.apache.org" Content-Type: multipart/alternative; boundary=20cf300e55792ceaaa05028cb283 X-Virus-Checked: Checked by ClamAV on apache.org --20cf300e55792ceaaa05028cb283 Content-Type: text/plain; charset=UTF-8 Hi Lalit, The CMIS connector in 1.5 had multiple problems, since corrected. I strongly suggest you adopt MCF 1.7 if you want any hope of getting fixes for that connector. Also, in branches/dev_1x there is an updated alfresco connector, which may very well work properly against Alfresco 4.2.x. It might be worth an experiment to see if that works for you, instead of the CMIS connector. Karl On Mon, Sep 8, 2014 at 8:04 AM, lalit jangra wrote: > 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 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 >> 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. > --20cf300e55792ceaaa05028cb283 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Lalit,

The CMIS connector in 1.5 had multip= le problems, since corrected.=C2=A0 I strongly suggest you adopt MCF 1.7 if= you want any hope of getting fixes for that connector.

Also, = in branches/dev_1x there is an updated alfresco connector, which may very w= ell work properly against Alfresco 4.2.x.=C2=A0 It might be worth an experi= ment to see if that works for you, instead of the CMIS connector.

Ka= rl



On Mon, Sep 8, 2014 at 8:04 AM, lalit jangra <lalit.j.jangra@gma= il.com> wrote:
Thanks Karl,

I am connecting to Alfresco versio= n 4.2.2 using cmis connector. Connection works fine as in attached screensh= ot but job does not run.

Regards.

On Mon, Sep 8= , 2014 at 5:25 PM, Karl Wright <daddywri@gmail.com> wrote:<= br>
Hi Lalit,

CMIS is returning a null document identifier during seeding.=C2=A0 What= repository are you connecting to here?
Karl


=
On Mon, Sep 8, 2014 at 7:51 AM, lalit jangra= <lalit.j.jangra@gmail.com> 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 jo= b does not start.

ERROR 2014-09-08 12:24:54,604 (Startup thread) - Exception tossed: Couldn't e= ncrypt: null

org.apache.manifoldcf.core.inte= rfaces.ManifoldCFException: Couldn't encrypt: null

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.manifoldcf.core.system.ManifoldCF.addToHash(ManifoldCF.java:5= 92)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.manifoldcf.core.system.ManifoldCF.encrypt(ManifoldCF.java:647= )

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.manifoldcf.core.system.ManifoldCF.hash(ManifoldCF.java:562)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.manifoldcf.crawler.system.SeedingActivity.addSeedDocument(Seedin= gActivity.java:101)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.manifoldcf.crawler.system.SeedingActivity.addSeedDocument(Seedin= gActivity.java:126)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.manifoldcf.crawler.connectors.cmis.CmisRepositoryConnector.ad= dSeedDocuments(CmisRepositoryConnector.java:761)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.manifoldcf.crawler.system.StartupThread.run(StartupThread.java:1= 53)

Caused by: java.lang.NullPointerException

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 at org.apache.manifoldcf.core.system.ManifoldCF.addToHash(ManifoldCF.java:5= 87)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ... 6 more


Please suggest.

Regards,
Lalit.




--
Regards,Lalit.

--20cf300e55792ceaaa05028cb283--