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 6CE7E75DF for ; Tue, 23 Aug 2011 06:34:13 +0000 (UTC) Received: (qmail 40060 invoked by uid 500); 23 Aug 2011 06:34:12 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 39353 invoked by uid 500); 23 Aug 2011 06:33:59 -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 39292 invoked by uid 99); 23 Aug 2011 06:33:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 06:33:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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, 23 Aug 2011 06:33:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 00D83CBD7E for ; Tue, 23 Aug 2011 06:33:31 +0000 (UTC) Date: Tue, 23 Aug 2011 06:33:30 +0000 (UTC) From: "liuyanyan (JIRA)" To: dev@chemistry.apache.org Message-ID: <1183708830.4463.1314081210999.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1412231778.378.1313995709070.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CMIS-421) Length Required exception when execute folder.create(params) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089293#comment-13089293 ] liuyanyan commented on CMIS-421: -------------------------------- Hi, Thanks for your quick reply. I changed to another server for test. And create folder can worked well. Then we will test other operations that refered to create just in case. Thank you very much! > 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 fine. But when I change the chemistry opencmis version from 0.1.0 to 0.2.0, there will be a Length Required exception. > Here is the stack trace: > org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Length Required > at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:409) > at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:497) > at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createFolder(ObjectServiceImpl.java:151) > at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createFolder(SessionImpl.java:676) > at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createFolder(FolderImpl.java:128) > at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createFolder(FolderImpl.java:411) > at org.bonitasoft.connectors.cmisclient.CreateSubfolder.createSubFolderByPath(CreateSubfolder.java:79) > at org.bonitasoft.connectors.cmisclient.CreateSubfolder.executeConnector(CreateSubfolder.java:46) > at org.ow2.bonita.connector.core.Connector.execute(Connector.java:218) > at org.bonitasoft.connectors.cmisclient.CreateSubfolderTest.testCreateSubfolder(CreateSubfolderTest.java:32) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) > at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira