Uploaded image for project: 'JBoss VFS'
  1. JBoss VFS
  2. JBVFS-142

NPE in VirtualJarInputStream

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.CR4
    • 3.0.0.CR3
    • None
    • None

    Description

      Caused by: java.lang.NullPointerException
      at org.jboss.vfs.VirtualJarInputStream.read(VirtualJarInputStream.java:149)
      at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.readFile(AdaptorUtil.java:75)
      at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:77)
      at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:922)

      In a Deployer I get a bundle location as String from the configuration.
      I pass the String on to a 3rd party library (i.e. Equinox)

      Equinox does
      URLConnection urlcon = new URL(location).openConnection()
      urlcon.openStream();

      Attachments

        Issue Links

          Activity

            People

              johnbailey_jira John Bailey (Inactive)
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: