• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Windows 7, Jenkins 1.606, most recent Java runtime x64, a lot of plugins

      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-27748] Jenkins loses history (task page and overview)

          Kevin Zellner created issue -

          Daniel Beck added a comment -

          Please provide all build.xml files of the affected project, as well as a full list of all installed plugins and their respective versions.

          Daniel Beck added a comment - Please provide all build.xml files of the affected project, as well as a full list of all installed plugins and their respective versions.
          Daniel Beck made changes -
          Labels Original: history run task New: lazy-loading robustness

          Kevin Zellner added a comment -

          Folder contains a broken history build. If you remove builds 9-23, the history list will be displayed again.

          Kevin Zellner added a comment - Folder contains a broken history build. If you remove builds 9-23, the history list will be displayed again.
          Kevin Zellner made changes -
          Attachment New: Broken_History_Project.7z [ 29202 ]

          Kevin Zellner added a comment -

          Find attached the list of all installed plugins.

          Kevin Zellner added a comment - Find attached the list of all installed plugins.
          Kevin Zellner made changes -
          Attachment New: InstalledPlugins.txt [ 29203 ]

          Daniel Beck added a comment -

          This is, once again, after JENKINS-27537 and JENKINS-27615, caused by Build Pipeline plugin (with some help from Xstream).

          Edit the build.xml of 21 and 23 and remove the attribute 'reference' of the element 'comparator' inside hudson.plugins.parameterizedtrigger.CapturedEnvironmentAction.

          Reload configuration from disk, or restart Jenkins.

          Daniel Beck added a comment - This is, once again, after JENKINS-27537 and JENKINS-27615 , caused by Build Pipeline plugin (with some help from Xstream). Edit the build.xml of 21 and 23 and remove the attribute 'reference' of the element 'comparator' inside hudson.plugins.parameterizedtrigger.CapturedEnvironmentAction . Reload configuration from disk, or restart Jenkins.
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-27615 [ JENKINS-27615 ]

          Daniel Beck added a comment -

          Actually, it appears this duplicates JENKINS-27615.

          Daniel Beck added a comment - Actually, it appears this duplicates JENKINS-27615 .
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Unassigned Unassigned
            kevin75 Kevin Zellner
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: