Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44966

CPD/PMD reports fail with EOFException since JENKINS-43446

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • maven-plugin
    • None

      Jenkins ver. 2.66 JDK8 Maven Plugin 2.16 maven-pmd-plugin:3.8

      Sample project attached

      Before upgrading to maven plugin 2.6, we already had runtime exceptions from PMD/CPD, but it did not prevent the build to fail. Since 2.6, it does fail :
      [DRY] Successfully parsed file /root/.jenkins/workspace/exemplejar/target/cpd.xml of module exemplejar with 461 unique warnings and 0 duplicates.
      java.io.EOFException
      at java.io.DataInputStream.readInt(DataInputStream.java:392)
      at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2827)
      at java.io.ObjectInputStream.readInt(ObjectInputStream.java:971)
      at com.google.common.collect.Serialization.readCount(Serialization.java:50)

      [PMD] Successfully parsed file /root/.jenkins/workspace/common/common-dep/libcti-java-plugin/target/pmd.xml of module libcti-java-plugin with 0 unique warnings and 0 duplicates.
      java.io.EOFException
      at java.io.DataInputStream.readInt(DataInputStream.java:392)
      at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2827)
      at java.io.ObjectInputStream.readInt(ObjectInputStream.java:971)
      at com.google.common.collect.Serialization.readCount(Serialization.java:50)

       

            Unassigned Unassigned
            laurentperez laurent perez
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: