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

Cristiano GaviĆ£o commented on ARIES-1148:
-----------------------------------------

the same NPE happens when the zip file contains a mimetype file entry, what is 
supported by the subsystem spec. 

> Deploying a subsystem file with directory entries causes a NPE
> --------------------------------------------------------------
>
>                 Key: ARIES-1148
>                 URL: https://issues.apache.org/jira/browse/ARIES-1148
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: 1.0.1-SNAPSHOT
>            Reporter: David Bosschaert
>         Attachments: npe.esa
>
>
> The attached npe.esa file contains the following entries:
> {code}$ jar tvf npe.esa
>      0 Wed Jan 15 15:07:04 GMT 2014 OSGI-INF/
>    199 Wed Jan 15 15:07:04 GMT 2014 OSGI-INF/DEPLOYMENT.MF
>    175 Wed Jan 15 15:01:30 GMT 2014 OSGI-INF/SUBSYSTEM.MF{code}
> Deploying it will cause an NPE.
> Creating the zip file without directory entries solves the problem, so that's 
> a workaround, but I think subsystems should be forgiving about this and 
> simply ignore directory entries.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to