[
https://issues.apache.org/jira/browse/CMIS-659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Sutter resolved CMIS-659.
-------------------------------
Resolution: Cannot Reproduce
> createDocumentFromInputStream fails sporadically
> ------------------------------------------------
>
> Key: CMIS-659
> URL: https://issues.apache.org/jira/browse/CMIS-659
> Project: Chemistry
> Issue Type: Bug
> Components: objectivecmis
> Affects Versions: ObjectiveCMIS 0.2
> Environment: iOS 6.0, 6.1
> Reporter: Peter Eberlein
>
> The new base64 stream encoder fails sporadically, printing "Stream 0x... is
> sending an event before being opened" to the console. This seems to be an
> Apple Bug that also hits other projects (see
> https://github.com/AFNetworking/AFNetworking/issues/948).
> In the test target the problem sometimes shows up, although not reporting an
> issue (most likely because the checks are not complete), for example see this
> output:
> Test Case '-[ObjectiveCMISTests testOperationContextForRetrievingObject]'
> started.
> 2013-05-21 15:06:33.041 otest[83413:7e03] DEBUG [CMISDefaultNetworkProvider
> createRequestForUrl:httpMethod:session:] HTTP GET:
> http://ec2-54-247-141-218.eu-west-1.compute.amazonaws.com/alfresco/service/api/cmis
> 2013-05-21 15:06:33.199 otest[83413:7e03] DEBUG [CMISDefaultNetworkProvider
> createRequestForUrl:httpMethod:session:] HTTP GET:
> http://ec2-54-247-141-218.eu-west-1.compute.amazonaws.com:80/alfresco/service/cmis/arg/n?noderef=workspace://SpacesStore/5eeff5bd-c486-4305-9510-70445f2d1ded&filter=&includeAllowableActions=true&includePolicyIds=false&includeRelationships=none&includeACL=false&renditionFilter=
> 2013-05-21 15:06:33.268 otest[83413:7e03] DEBUG [CMISBaseTest
> runTest:withExtraSessionParameters:] >------------------- Running test
> against
> http://ec2-54-247-141-218.eu-west-1.compute.amazonaws.com/alfresco/service/api/cmis
> -------------------<
> 2013-05-21 15:06:33.272 otest[83413:7e03] DEBUG [CMISDefaultNetworkProvider
> createRequestForUrl:httpMethod:session:] HTTP GET:
> http://ec2-54-247-141-218.eu-west-1.compute.amazonaws.com:80/alfresco/service/cmis/type/cmis:document
> 2013-05-21 15:06:33.335 otest[83413:7e03] DEBUG [CMISDefaultNetworkProvider
> createRequestForUrl:httpMethod:session:] HTTP POST:
> http://ec2-54-247-141-218.eu-west-1.compute.amazonaws.com:80/alfresco/service/cmis/s/workspace:SpacesStore/i/5eeff5bd-c486-4305-9510-70445f2d1ded/children
> 2013-05-21 15:06:33.337 otest[83413:7e03] DEBUG [CMISHttpUploadRequest
> stream:handleEvent:] *** Base 64 Input Stream is not yet open or closed. The
> status is 0 ***
> 2013-05-21 15:06:33.337 otest[83413:7e03] Stream 0x1758340 is sending an
> event before being opened
> Also note the "*** Base 64 Input Stream is not yet open or closed. The status
> is 0 ***" log statements that get always written by the ObjectiveCMIS library
> although the situation logged does not cause any problems; these statements
> should be removed or the condition under which they are printed improved.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)