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

CPD/PMD reports fail with EOFException since JENKINS-43446

    Details

    • Similar Issues:

      Description

      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)

       

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

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

                Dates

                • Created:
                  Updated: