Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42EAF7811 for ; Tue, 1 Nov 2011 21:59:54 +0000 (UTC) Received: (qmail 64887 invoked by uid 500); 1 Nov 2011 21:59:54 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 64845 invoked by uid 500); 1 Nov 2011 21:59:54 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 64835 invoked by uid 99); 1 Nov 2011 21:59:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 21:59:54 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 21:59:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E0BE632D65E for ; Tue, 1 Nov 2011 21:59:32 +0000 (UTC) Date: Tue, 1 Nov 2011 21:59:32 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28Resolved=29_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: <1160306034.47970.1320184772921.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1555039224.47695.1320182972549.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CMIS-464) Call to CheckIn method with second parameter with value null gets an exception. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-464?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller resolved CMIS-464. --------------------------------- Resolution: Fixed Fix Version/s: DotCMIS 0.4 Assignee: Florian M=C3=BCller Fixed. Thanks for the report! =20 > Call to CheckIn method with second parameter with value null gets an exce= ption. > -------------------------------------------------------------------------= ------ > > Key: CMIS-464 > URL: https://issues.apache.org/jira/browse/CMIS-464 > Project: Chemistry > Issue Type: Bug > Components: dotcmis > Affects Versions: DotCMIS 0.3 > Reporter: Jigar Mehta > Assignee: Florian M=C3=BCller > Fix For: DotCMIS 0.4 > > Attachments: atompub-writer.patch > > > Calling Syntax, > IDocument iDoc =3D (IDocument)cmisObject; > iDoc.CheckIn(false, null, contentStream, "Checkin Comment"); > Because of second parameter as null, when DotCMIS calls GetTitle() method= from atompub-writer.cs it gets exception, "Object Reference not set to an = instance of the object". > Possible fix can be to check for null before iterating through the list i= n GetTitle method (Line 147 - atompub-writer.cs) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira