java.lang.NoClassDefFoundError: Could not initialize class org.joda.time.Period

Jenkins JIRA | windyroad | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0
  2. 0

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.joda.time.Period

      at net.masterthought.cucumber.util.Util.formatDuration()
    2. net.masterthought.cucumber
      ReportBuilder.generateReports
      1. net.masterthought.cucumber.util.Util.formatDuration(Util.java:131)
      2. net.masterthought.cucumber.ReportInformation.getTotalDurationAsString(ReportInformation.java:100)
      3. net.masterthought.cucumber.ReportBuilder.generateFeatureOverview(ReportBuilder.java:148)
      4. net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.java:77)
      4 frames
    3. net.masterthought.jenkins
      CucumberReportPublisher.perform
      1. net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:113)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724)
      6. hudson.model.Run.execute(Run.java:1600)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:237)
      9 frames