Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3178

NPE in ResolverImpl

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: framework-4.0.0
    • Fix Version/s: framework-4.0.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Also reproduced on 4.0.1

      Description

      Bundle Resolution fails with NPE in both, Felix 4.0.0 and 4.0.1

      ERROR: Bundle com.springsource.com.sun.tools.xjc [119] Error starting file:bundles/com.springsource.com.sun.tools.xjc.jar (java.lang.NullPointerException)
      java.lang.NullPointerException
      at org.apache.felix.framework.resolver.ResolverImpl.mergeUses(ResolverImpl.java:856)
      at org.apache.felix.framework.resolver.ResolverImpl.calculatePackageSpaces(ResolverImpl.java:659)
      at org.apache.felix.framework.resolver.ResolverImpl.calculatePackageSpaces(ResolverImpl.java:609)
      at org.apache.felix.framework.resolver.ResolverImpl.resolve(ResolverImpl.java:181)
      at org.apache.felix.framework.StatefulResolver.resolve(StatefulResolver.java:168)
      at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3811)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
      at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

        1. MANIFEST.MF
          25 kB
          Andreas Schlosser
        2. npe.z01
          10.00 MB
          Andreas Schlosser
        3. npe.z02
          10.00 MB
          Andreas Schlosser
        4. npe.zip
          9.86 MB
          Andreas Schlosser
        5. npe2.z01
          10.00 MB
          Andreas Schlosser
        6. npe2.z02
          10.00 MB
          Andreas Schlosser
        7. npe2.z03
          10.00 MB
          Andreas Schlosser
        8. npe2.z04
          10.00 MB
          Andreas Schlosser
        9. npe2.zip
          158 kB
          Andreas Schlosser

          Activity

            People

            • Assignee:
              rickhall Richard S. Hall
              Reporter:
              aschloss Andreas Schlosser
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: