[
https://issues.jboss.org/browse/SHRINKWRAP-315?page=com.atlassian.jira.pl...
]
Andrew Rubinger updated SHRINKWRAP-315:
---------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Cannot Reproduce Bug
Looks like you guys have done your due diligence in proving this no longer exists. Should
this re-appear we'll look for an exact failing use case in the test suite. Resolving
and closing.
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