java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action

Jenkins JIRA | Kevin Zellner | 2 years ago
  1. 0

    [JENKINS-27748] Jenkins loses history (task page and overview) - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action
  2. 0

    Between two task runs after changing some config, all history of this task isn't shown on the left pane under the task commands (Build, Configure, ...). The links like "view console output of the latest build" are still working, since the builds folder of this task is still existing with (full history). When I was browsing through the jenkins log, I found the following exception, pointing to an error while executing "LazyLoadRunMap" (see below). This bug is a showstopper for my project, since nobody want to use the newly setup build server. This could be the same reason for my missing build history on view level. Some view still have their history, some don't. Apr 06, 2015 12:25:58 AM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: it.resolve(job) in /job/Project_Pack_Data/. Reason: java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action at hudson.model.Run.onLoad(Run.java:348) at hudson.model.RunMap.retrieve(RunMap.java:223) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:465) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:448) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:356) at jenkins.model.lazy.LazyBuildMixIn.getBuildByNumber(LazyBuildMixIn.java:226)

    Jenkins JIRA | 2 years ago | Kevin Zellner
    java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action
  3. 0

    Between two task runs after changing some config, all history of this task isn't shown on the left pane under the task commands (Build, Configure, ...). The links like "view console output of the latest build" are still working, since the builds folder of this task is still existing with (full history). When I was browsing through the jenkins log, I found the following exception, pointing to an error while executing "LazyLoadRunMap" (see below). This bug is a showstopper for my project, since nobody want to use the newly setup build server. This could be the same reason for my missing build history on view level. Some view still have their history, some don't. Apr 06, 2015 12:25:58 AM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: it.resolve(job) in /job/Project_Pack_Data/. Reason: java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action at hudson.model.Run.onLoad(Run.java:348) at hudson.model.RunMap.retrieve(RunMap.java:223) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:465) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:448) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:356) at jenkins.model.lazy.LazyBuildMixIn.getBuildByNumber(LazyBuildMixIn.java:226)

    Jenkins JIRA | 2 years ago | Kevin Zellner
    java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] (JENKINS-37439) hudson.model.RunMap retrieve can't load old builds -> ClassCastException

    Google Groups | 4 months ago | jonas.l...@ericsson.com (JIRA)
    java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action
  6. 0

    [JIRA] (JENKINS-37439) Build Monitor plugin: hudson.model.RunMap retrieve can't load old builds -> ClassCastException

    Google Groups | 4 months ago | jonas.l...@ericsson.com (JIRA)
    java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.model.Action

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to hudson.model.Action

      at hudson.model.Run.onLoad()
    2. Hudson
      RunMap.retrieve
      1. hudson.model.Run.onLoad(Run.java:348)
      2. hudson.model.RunMap.retrieve(RunMap.java:223)
      3. hudson.model.RunMap.retrieve(RunMap.java:57)
      3 frames
    3. jenkins.model.lazy
      LazyBuildMixIn.getBuildByNumber
      1. jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:465)
      2. jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:448)
      3. jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:356)
      4. jenkins.model.lazy.LazyBuildMixIn.getBuildByNumber(LazyBuildMixIn.java:226)
      4 frames