[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-442) NPE when calling WebArchive.addAsResource(String, String) with a directory name
Michal Matloka (JIRA)
jira-events at lists.jboss.org
Fri Feb 15 07:39:56 EST 2013
[ https://issues.jboss.org/browse/SHRINKWRAP-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754396#comment-12754396 ]
Michal Matloka edited comment on SHRINKWRAP-442 at 2/15/13 7:38 AM:
--------------------------------------------------------------------
Can you check this with newer ShrinkWrap e.g. 1.1.1?
edit: oh, sorry, didn't noticed that project was added, I will check this.
was (Author: mmatloka):
Can you check this with newer ShrinkWrap e.g. 1.1.1?
> NPE when calling WebArchive.addAsResource(String, String) with a directory name
> -------------------------------------------------------------------------------
>
> Key: SHRINKWRAP-442
> URL: https://issues.jboss.org/browse/SHRINKWRAP-442
> Project: ShrinkWrap
> Issue Type: Bug
> Affects Versions: 1.0.1
> Reporter: Simon Lindgren
> Attachments: SHRINKWRAP-442-example-project.zip
>
>
> When calling WebArchive.addAsResource(String, String) with a path that is a directory, and that directory is on the classpath, but inside another jar, a NPE is thrown.
> The same kind of code works fine when run from inside the jar.
> I'll attach an example maven project that reproduces the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list