Uploaded image for project: 'Jandex'
  1. Jandex
  2. JANDEX-29

Jandex fails to reindex index JAR file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.2.3.Final
    • 1.2.0.Final, 2.0.0.Beta1
    • None

    Description

      If an existing JAR needs reindexing to a newer version of Jandex index, the existing META-INF/jandex.idx will conflict with a new one:

      java.util.zip.ZipException: duplicate entry: META-INF/jandex.idx
      at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:233)
      at org.jboss.jandex.JarIndexer.createJarIndex(JarIndexer.java:143)
      at org.jboss.jandex.JarIndexer.createJarIndex(JarIndexer.java:66)
      at org.jboss.jandex.Main.execute(Main.java:69)
      at org.jboss.jandex.Main.main(Main.java:52)

      Attachments

        Activity

          People

            jgreene@redhat.com Jason Greene
            arcivanov_jira Arcadiy Ivanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: