[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-315) NPE in ContainerBase.addAsLibrary
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Tue Oct 16 15:56:02 EDT 2012
[ https://issues.jboss.org/browse/SHRINKWRAP-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger updated SHRINKWRAP-315:
---------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/shrinkwrap/shrinkwrap/pull/62
> NPE in ContainerBase.addAsLibrary
> ---------------------------------
>
> Key: SHRINKWRAP-315
> URL: https://issues.jboss.org/browse/SHRINKWRAP-315
> Project: ShrinkWrap
> Issue Type: Bug
> Affects Versions: 1.0.0-beta-2
> Reporter: Andrew Rubinger
> Assignee: Michal Matloka
>
> Using code:
> {code}war.addAsLibrary("xerces/xercesImpl.jar", "xercesImpl.jar");{code}
> ..if the resourceName doesn't exist, results in:
> {code}Caused by: java.lang.NullPointerException
> at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsLibrary(ContainerBase.java:1353)
> at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsLibrary(ContainerBase.java:1338)
> at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsLibrary(ContainerBase.java:1289)
> at org.jboss.as.test.spec.xerces.ws.XercesUsageInWebServiceTestCase.createWebServiceDeployment(XercesUsageInWebServiceTestCase.java:74)
> ... 59 more{code}
--
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