chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: mimepull 1.3 bug
Date Mon, 17 Feb 2014 15:15:46 GMT
 Hi Jorge,

 Please open an issue [1]. I'll look into it.


 Thanks,

 Florian



 [1] https://issues.apache.org/jira/browse/CMIS



 Am Montag, den 17.02.2014, 16:09 +0100 schrieb 
 <Jorge.MARTIN-CUERVO@ext.ec.europa.eu>:
> Hello all,
>
> the library "CHEMISTRY-OPENCMIS-CLIENT-IMPL" (version 0.9 / 0.10)
> bring another library called "ORG.JVNET.MIMEPULL" (version 1.3).
>
> The "MIMEPULL" lib has an inner class called
> ORG.JVNET.MIMEPULL.DATAHEAD$READMULTISTREAM which seems to be buggy.
>
> This "READMUTLISTREAM" doesn't conform to the "INPUTSTREAM" contract 
> :
> shortly : Exception is thrown where it should'nt J
>
> Somebody else discuss about this issue here :
> https://java.net/jira/browse/JAX_WS-965 [1]
>
> The issue is solved when I exclude the MIMEPULL dependency from
> OPENCMIS CLIENT LIB and add manually the new version :
>
>  org.apache.chemistry.opencmis
>
>  chemistry-opencmis-client-impl
>
>  0.10.0
>
>  org.jvnet
>
>  mimepull
>
>  org.jvnet.mimepull
>
>  mimepull
>
>  1.9
>
> To reproduce, here is some pseudo-code using APACHE PDFBOX:
>
> outputStream : any outputstream
>
> inputstreams should come from multiple CONTENTSTREAM.GETSTREAM();
>
> PDFMergerUtility pdfMergerUtility = new PDFMergerUtility();
>
> for (InputStream inputStream : inputs) {
>
> pdfMergerUtility.addSource(inputStream);
>
> }
>
> pdfMergerUtility.setDestinationStream(output);
>
> pdfMergerUtility.mergeDocuments();
>
> Could you please change the version of the dependency of mimepull for
> the next version?
>
> Thanks in advance.
>
> JORGE MARTIN CUERVO
>
>  EUROPEAN COMMISSION
>  DG TRADE
>  Unit A4
>
> CHAR 02/077
>  B-1049 Brussels/Belgium
>  +32 2 298 86 27
>  jorge.martin-cuervo@ext.ec.europa.eu [2]
>
>
>
> Links:
> ------
> [1] https://java.net/jira/browse/JAX_WS-965
> [2] mailto:jorge.martin-cuervo@ext.ec.europa.eu


Mime
View raw message