chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liuyanyan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-421) Length Required exception when execute folder.create(params)
Date Mon, 22 Aug 2011 06:48:29 GMT
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

        

Mime
View raw message