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

ClassNotFoundException org.joda.time.ReadablePartial: Jacoco plugin does not work after update from 2.1.0 to 2.2.0

    Details

    • Similar Issues:

      Description

      After update to version 2.2.0 Jacoco plugin does not work any longer.

      ERROR: Step 'Record JaCoCo coverage report' aborted due to exception: 
      java.lang.ClassNotFoundException: org.joda.time.ReadablePartial
      	at java.lang.ClassLoader.findClass(Unknown Source)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at hudson.util.MaskingClassLoader.loadClass(MaskingClassLoader.java:75)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1387)
      	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1080)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      Caused: java.lang.NoClassDefFoundError: org/joda/time/ReadablePartial
      	at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:642)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      	at hudson.model.Run.execute(Run.java:1758)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:405)
      

        Attachments

          Activity

          alexanderv Alexander Veit created issue -
          alexanderv Alexander Veit made changes -
          Field Original Value New Value
          Description After update to version 2.2.0 Jacoco plugin does not work any longer.

          {{14:16:56 ERROR: Step 'Record JaCoCo coverage report' aborted due to exception: }}
          {{ 14:16:56 java.lang.ClassNotFoundException: org.joda.time.ReadablePartial}}
          {{ 14:16:56 at java.lang.ClassLoader.findClass(Unknown Source)}}
          {{ 14:16:56 at java.lang.ClassLoader.loadClass(Unknown Source)}}
          {{ 14:16:56 at hudson.util.MaskingClassLoader.loadClass(MaskingClassLoader.java:75)}}
          {{ 14:16:56 at java.lang.ClassLoader.loadClass(Unknown Source)}}
          {{ 14:16:56 at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1387)}}
          {{ 14:16:56 at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1080)}}
          {{ 14:16:56 at java.lang.ClassLoader.loadClass(Unknown Source)}}
          {{ 14:16:56 Caused: java.lang.NoClassDefFoundError: org/joda/time/ReadablePartial}}
          {{ 14:16:56 at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:642)}}
          {{ 14:16:56 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)}}
          {{ 14:16:56 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}}
          {{ 14:16:56 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)}}
          {{ 14:16:56 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)}}
          {{ 14:16:56 at hudson.model.Build$BuildExecution.post2(Build.java:186)}}
          {{ 14:16:56 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)}}
          {{ 14:16:56 at hudson.model.Run.execute(Run.java:1758)}}
          {{ 14:16:56 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}}
          {{ 14:16:56 at hudson.model.ResourceController.execute(ResourceController.java:97)}}
          {{ 14:16:56 at hudson.model.Executor.run(Executor.java:405)}}
          After update to version 2.2.0 Jacoco plugin does not work any longer.

          {quote}
          ERROR: Step 'Record JaCoCo coverage report' aborted due to exception:
          java.lang.ClassNotFoundException: org.joda.time.ReadablePartial
          at java.lang.ClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at hudson.util.MaskingClassLoader.loadClass(MaskingClassLoader.java:75)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1387)
          at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1080)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          Caused: java.lang.NoClassDefFoundError: org/joda/time/ReadablePartial
          at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:642)
          at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
          at hudson.model.Build$BuildExecution.post2(Build.java:186)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
          at hudson.model.Run.execute(Run.java:1758)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:405)
          {quote}
          alexanderv Alexander Veit made changes -
          Description After update to version 2.2.0 Jacoco plugin does not work any longer.

          {quote}
          ERROR: Step 'Record JaCoCo coverage report' aborted due to exception:
          java.lang.ClassNotFoundException: org.joda.time.ReadablePartial
          at java.lang.ClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at hudson.util.MaskingClassLoader.loadClass(MaskingClassLoader.java:75)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1387)
          at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1080)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          Caused: java.lang.NoClassDefFoundError: org/joda/time/ReadablePartial
          at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:642)
          at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
          at hudson.model.Build$BuildExecution.post2(Build.java:186)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
          at hudson.model.Run.execute(Run.java:1758)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:405)
          {quote}
          After update to version 2.2.0 Jacoco plugin does not work any longer.

          {{
          ERROR: Step 'Record JaCoCo coverage report' aborted due to exception:
          java.lang.ClassNotFoundException: org.joda.time.ReadablePartial
          at java.lang.ClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at hudson.util.MaskingClassLoader.loadClass(MaskingClassLoader.java:75)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1387)
          at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1080)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          Caused: java.lang.NoClassDefFoundError: org/joda/time/ReadablePartial
          at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:642)
          at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
          at hudson.model.Build$BuildExecution.post2(Build.java:186)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
          at hudson.model.Run.execute(Run.java:1758)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:405)
          }}
          alexanderv Alexander Veit made changes -
          Description After update to version 2.2.0 Jacoco plugin does not work any longer.

          {{
          ERROR: Step 'Record JaCoCo coverage report' aborted due to exception:
          java.lang.ClassNotFoundException: org.joda.time.ReadablePartial
          at java.lang.ClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at hudson.util.MaskingClassLoader.loadClass(MaskingClassLoader.java:75)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1387)
          at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1080)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          Caused: java.lang.NoClassDefFoundError: org/joda/time/ReadablePartial
          at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:642)
          at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
          at hudson.model.Build$BuildExecution.post2(Build.java:186)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
          at hudson.model.Run.execute(Run.java:1758)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:405)
          }}
          After update to version 2.2.0 Jacoco plugin does not work any longer.

          {code}
          ERROR: Step 'Record JaCoCo coverage report' aborted due to exception:
          java.lang.ClassNotFoundException: org.joda.time.ReadablePartial
          at java.lang.ClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at hudson.util.MaskingClassLoader.loadClass(MaskingClassLoader.java:75)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1387)
          at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1080)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          Caused: java.lang.NoClassDefFoundError: org/joda/time/ReadablePartial
          at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:642)
          at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
          at hudson.model.Build$BuildExecution.post2(Build.java:186)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
          at hudson.model.Run.execute(Run.java:1758)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:405)
          {code}
          centic centic made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          centic centic made changes -
          Assignee Ognjen Bubalo [ ognjenb ] centic [ centic ]

            People

            • Assignee:
              centic centic
              Reporter:
              alexanderv Alexander Veit
            • Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: