[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-276) Invalid byte stream for ZipExporter

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Thu May 5 14:12:23 EDT 2011


    [ https://issues.jboss.org/browse/SHRINKWRAP-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600155#comment-12600155 ] 

Andrew Rubinger commented on SHRINKWRAP-276:
--------------------------------------------

This case opens fine in Archive Manager is you name it *.jar.  .rar, not so much.  File looks fine.  Need a failing case from Jesper.

> Invalid byte stream for ZipExporter
> -----------------------------------
>
>                 Key: SHRINKWRAP-276
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-276
>             Project: ShrinkWrap
>          Issue Type: Bug
>          Components: api
>    Affects Versions: 1.0.0-alpha-13
>            Reporter: Jesper Pedersen
>         Attachments: as_constructor_wrong.rar, ra.xml, TestActivationSpec.java, TestManagedConnection.java, TestResourceAdapterRight.java, TestResourceAdapterWrong.java
>
>
> Alpha13 generates an incorrect byte stream for a ResourceAdapterArchive; the resulting archive gives:
> java.util.zip.ZipException: error in opening zip file
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:75)
>         at sun.tools.jar.Main.list(Main.java:979)
>         at sun.tools.jar.Main.run(Main.java:224)
>         at sun.tools.jar.Main.main(Main.java:1149)
> Alpha12 works as expected.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list