Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-199

Introduction of XZ breaks OSGi support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.1
    • 1.5
    • Compressors
    • Windows Vista & RHEL 6.2, Java 1.6.0_33, Equinox org.eclipse.osgi_3.7.2.v20120110-1415.jar.

    Description

      The introduction of XZ seems to break the OSGi support for the compress bundle.

      The XZ component doesn't seem to be included or referred to (dependency).

      !ENTRY org.apache.commons.compress 4 0 2012-08-20 17:06:19.339
      !MESSAGE FrameworkEvent ERROR
      !STACK 0
      org.osgi.framework.BundleException: The bundle "org.apache.commons.compress_1.4.1 [20]" could not be resolved. Reason: Missing Constraint: Import-Package: org.tukaani.xz; version="0.0.0"
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
      at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
      at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

      Included in my project by maven and
      <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-compress</artifactId>
      <version>1.4.1</version>
      </dependency>

      Attachments

        Activity

          People

            Unassigned Unassigned
            gertoft Niklas Gertoft
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: