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 5F8188D77 for ; Mon, 22 Aug 2011 12:02:41 +0000 (UTC) Received: (qmail 70956 invoked by uid 500); 22 Aug 2011 12:02:38 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 68897 invoked by uid 500); 22 Aug 2011 12:02:34 -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 66737 invoked by uid 99); 22 Aug 2011 12:02:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 12:02:24 +0000 X-ASF-Spam-Status: No, hits=-2000.9 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; Mon, 22 Aug 2011 12:02:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 81D3D41B70 for ; Mon, 22 Aug 2011 12:01:30 +0000 (UTC) Date: Mon, 22 Aug 2011 12:01:30 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: <445933732.850.1314014490528.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1412231778.378.1313995709070.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CMIS-421) Length Required exception when execute folder.create(params) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-421?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller resolved CMIS-421. --------------------------------- Resolution: Not A Problem > Length Required exception when execute folder.create(params) > ------------------------------------------------------------ > > Key: CMIS-421 > URL: https://issues.apache.org/jira/browse/CMIS-421 > Project: Chemistry > Issue Type: Bug > Components: opencmis-client > Affects Versions: 0.2.0-incubating > Reporter: liuyanyan > > I execute the folder.create(params). When in verision 0.1.0, it works fi= ne. But when I change the chemistry opencmis version from 0.1.0 to 0.2.0, t= here will be a Length Required exception. > Here is the stack trace: > org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Le= ngth Required > =09at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractA= tomPubService.convertStatusCode(AbstractAtomPubService.java:409) > =09at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractA= tomPubService.post(AbstractAtomPubService.java:497) > =09at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectSer= viceImpl.createFolder(ObjectServiceImpl.java:151) > =09at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createFold= er(SessionImpl.java:676) > =09at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createFolde= r(FolderImpl.java:128) > =09at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createFolde= r(FolderImpl.java:411) > =09at org.bonitasoft.connectors.cmisclient.CreateSubfolder.createSubFolde= rByPath(CreateSubfolder.java:79) > =09at org.bonitasoft.connectors.cmisclient.CreateSubfolder.executeConnect= or(CreateSubfolder.java:46) > =09at org.ow2.bonita.connector.core.Connector.execute(Connector.java:218) > =09at org.bonitasoft.connectors.cmisclient.CreateSubfolderTest.testCreate= Subfolder(CreateSubfolderTest.java:32) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > =09at java.lang.reflect.Method.invoke(Unknown Source) > =09at junit.framework.TestCase.runTest(TestCase.java:154) > =09at junit.framework.TestCase.runBare(TestCase.java:127) > =09at junit.framework.TestResult$1.protect(TestResult.java:106) > =09at junit.framework.TestResult.runProtected(TestResult.java:124) > =09at junit.framework.TestResult.run(TestResult.java:109) > =09at junit.framework.TestCase.run(TestCase.java:118) > =09at junit.framework.TestSuite.runTest(TestSuite.java:208) > =09at junit.framework.TestSuite.run(TestSuite.java:203) > =09at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.ru= n(JUnit3TestReference.java:130) > =09at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecuti= on.java:38) > =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Rem= oteTestRunner.java:467) > =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Rem= oteTestRunner.java:683) > =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTe= stRunner.java:390) > =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteT= estRunner.java:197) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira