apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vlad Rozov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-686) AppPackage fails when .apa contains zero length stored entry
Date Fri, 31 Mar 2017 02:34:41 GMT

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

Vlad Rozov commented on APEXCORE-686:
-------------------------------------

The solution is to use ZipArchiveInputStream instead of JarInputStream that allows to support
such files.

> AppPackage fails when .apa contains zero length stored entry
> ------------------------------------------------------------
>
>                 Key: APEXCORE-686
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-686
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Vlad Rozov
>            Assignee: Vlad Rozov
>             Fix For: 3.6.0
>
>
> JarInputStream/ZipInputStream does not support valid formats of .jar/.zip file
> {noformat}
> java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor
> 	at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:309)
> 	at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)
> 	at java.util.jar.JarInputStream.<init>(JarInputStream.java:83)
> 	at java.util.jar.JarInputStream.<init>(JarInputStream.java:62)
> 	at com.datatorrent.stram.client.AppPackage.<init>(AppPackage.java:215)
> 	at com.datatorrent.stram.client.AppPackage.<init>(AppPackage.java:196)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message