[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-467) Using the following nio2 call: FileSystems.newFileSystem(ShrinkWrapFileSystems.getRootUri(archive), new HashMap()); An NPE appears instead of an IllegalArgumentException because the Map was not containing the Archive object.

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Fri Oct 25 04:54:01 EDT 2013


Andrew Rubinger created SHRINKWRAP-467:
------------------------------------------

             Summary: Using the following nio2 call:  FileSystems.newFileSystem(ShrinkWrapFileSystems.getRootUri(archive), new HashMap()); An NPE appears instead of an IllegalArgumentException because the Map was not containing the Archive object.
                 Key: SHRINKWRAP-467
                 URL: https://issues.jboss.org/browse/SHRINKWRAP-467
             Project: ShrinkWrap
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Andrew Rubinger
            Assignee: Andrew Rubinger
             Fix For: 1.2.1


Using the following nio2 call:

{code}FileSystems.newFileSystem(ShrinkWrapFileSystems.getRootUri(archive), new HashMap());{code}

...An NPE appears instead of an IllegalArgumentException because the Map was not containing the Archive object.

Submitted via: https://github.com/ALRubinger/shrinkwrap/issues/3

--
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