Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3304

Problem with IronJacamar .jar's

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.0.CR1
    • Test Suite
    • None

    Description

      When I use various tools to manipulate AS jars, this happens with IronJacamar jars:

      Caused by: java.util.zip.ZipException: invalid entry compressed size (expected 576 but got 577 bytes)
      at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:206)
      at com.vladium.emma.instr.InstrProcessorST.writeZipEntry(InstrProcessorST.java:838)
      at com.vladium.emma.instr.InstrProcessorST$EntryWriteJob.run(InstrProcessorST.java:905)
      at com.vladium.emma.instr.InstrProcessorST.drainJobQueue(InstrProcessorST.java:943)
      at com.vladium.emma.instr.InstrProcessorST.handleArchiveEnd(InstrProcessorST.java:353)
      ... 5 more

      How are they packaged? Some special buggy tool?
      It prevents me from preparing coverage reports, both Emma and JaCoco are affected.

      STR:

      1) Checkout and build AS7 master
      2) wget --no-check-certificate https://repository.jboss.org/nexus/content/groups/developer/emma/emma/2.1.5320/emma-2.1.5320.jar -O emma.jar
      3)

      for i in `find $AS_DIR/modules/org/jboss/ -name '*.jar'`; do
        echo "============  $i"
        java -cp emma.jar emma instr -outmode overwrite -merge yes -instrpath $i;
      done
      

      Only IronJacamar jars cause problems, others are fine.

      Attachments

        Issue Links

          Activity

            People

              jpederse@redhat.com Jesper Pedersen
              ozizka_jira Ondrej Zizka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: