chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karam (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CMIS-863) Error uploading some files
Date Wed, 29 Oct 2014 15:58:34 GMT

    [ https://issues.apache.org/jira/browse/CMIS-863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188128#comment-14188128
] 

Karam edited comment on CMIS-863 at 10/29/14 3:58 PM:
------------------------------------------------------

Here is a link to the file : http://sherpa.kalilog.fr/download.ashx?FID=72d53ef0a6974ea4883b2e6af2f5aa52781abdd872da4ad994f89c1dfac892c7&CRC=265e70737e6d4018b66871d513150d75039adfa3a83c46a79d031e8920610517

I"ve tried with CMIS Workbench on the AtomPub connector and the upload (that was failing via
DotCMIS) has worked.

Here is the .NET stack trace when an error occur in DotCMIS :

2014-10-28 16:32:43,613 [6] ERROR CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] -
Could not upload file: evinc.msi
DotCMIS.Exceptions.CmisConnectionException: Cannot access https://xxx/Alfresco/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
La demande a été abandonnée : La demande a été annulée. ---> System.Net.WebException:
La demande a été abandonnée : La demande a été annulée.
   à System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32
size, AsyncCallback callback, Object state)
   à System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   à System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   à System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, Char* pSrcEnd)
   à System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, Int32 count)
   à System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 count)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.WriteContent(XmlWriter writer)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.Write(Stream outStream)
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, String contentType,
Output writer, BindingSession session, Nullable`1 offset, Nullable`1 length, IDictionary`2
headers)



was (Author: fka):
Here is a link to the file : http://sherpa.kalilog.fr/download.ashx?FID=72d53ef0a6974ea4883b2e6af2f5aa52781abdd872da4ad994f89c1dfac892c7&CRC=265e70737e6d4018b66871d513150d75039adfa3a83c46a79d031e8920610517

I"ve tried with CMIS Workbench on the AtomPub connector and the upload (that was failing via
DotCMIS) has worked.

Here is the .NET stack trace :

2014-10-28 16:32:43,613 [6] ERROR CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] -
Could not upload file: evinc.msi
DotCMIS.Exceptions.CmisConnectionException: Cannot access https://xxx/Alfresco/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
La demande a été abandonnée : La demande a été annulée. ---> System.Net.WebException:
La demande a été abandonnée : La demande a été annulée.
   à System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32
size, AsyncCallback callback, Object state)
   à System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   à System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   à System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, Char* pSrcEnd)
   à System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, Int32 count)
   à System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 count)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.WriteContent(XmlWriter writer)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.Write(Stream outStream)
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, String contentType,
Output writer, BindingSession session, Nullable`1 offset, Nullable`1 length, IDictionary`2
headers)


> Error uploading some files
> --------------------------
>
>                 Key: CMIS-863
>                 URL: https://issues.apache.org/jira/browse/CMIS-863
>             Project: Chemistry
>          Issue Type: Bug
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.6
>         Environment: Windows 7 X64 Client against Alfresco 4.2.e
>            Reporter: Karam
>            Priority: Critical
>
> Hi,
> I encounter an error uploading a file with DotCMIS 0.6 against an Alfresco 4.2.e server
(I don't know the version of the embedded openCMIS component).
> For certain files, I get on the server : 
> [impl.atompub.CmisAtomPubServlet] [ajp-apr-8009-exec-10] Base64 input not properly padded.
> this raise the folowing exception on the client component :
> DotCMIS.Exceptions.CmisConnectionException: Cannot access https://xxx/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
La demande a été abandonnée : La demande a été annulée. ---> System.Net.WebException:
La demande a été abandonnée : La demande a été annulée.
> Is this a known issue ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message