Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-467

ShrinkWrapFileSystemProvider NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.2.1
    • 1.2.0
    • None
    • None
    • Workaround Exists
    • Hide

      Pass in the archive to the environment

      Show
      Pass in the archive to the environment

    Description

      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.

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

      Attachments

        Activity

          People

            arubinge@redhat.com Andrew Rubinger (Inactive)
            arubinge@redhat.com Andrew Rubinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: