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

ListView.expand throws ClassCastException: … cannot be cast to hudson.model.TopLevelItem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      CentOS x64, Java 7, Jenkins v1.538, matrix based security
    • Similar Issues:

      Description

      The resulting HTML page contains no jobs and suggests to add new jobs. Issue is fixed if I revert back to v1.531.

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            Jesse: JENKINS-20143 was backported to 1.532 LTS, so this should probably also be backported.

            Show
            danielbeck Daniel Beck added a comment - Jesse: JENKINS-20143 was backported to 1.532 LTS, so this should probably also be backported.
            Hide
            jglick Jesse Glick added a comment -

            @danielbeck that is why I marked it lts-candidate, but I do not expect it will necessarily be included in 1.532.1 unless a lot of people are running into this error. I just happened to see the stack trace in a user’s log, searched for it, and found this issue.

            Show
            jglick Jesse Glick added a comment - @danielbeck that is why I marked it lts-candidate , but I do not expect it will necessarily be included in 1.532.1 unless a lot of people are running into this error. I just happened to see the stack trace in a user’s log, searched for it, and found this issue.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3038
            [FIXED JENKINS-20415] Lack of type safety in JENKINS-20143 fix sometimes caused CCEs. (Revision bdbac284723940e5b2dfd37dd194524305de29c2)

            Result = SUCCESS
            Jesse Glick : bdbac284723940e5b2dfd37dd194524305de29c2
            Files :

            • test/src/test/java/hudson/model/ListViewTest.java
            • core/src/main/java/hudson/model/ListView.java
            • changelog.html
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3038 [FIXED JENKINS-20415] Lack of type safety in JENKINS-20143 fix sometimes caused CCEs. (Revision bdbac284723940e5b2dfd37dd194524305de29c2) Result = SUCCESS Jesse Glick : bdbac284723940e5b2dfd37dd194524305de29c2 Files : test/src/test/java/hudson/model/ListViewTest.java core/src/main/java/hudson/model/ListView.java changelog.html
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/model/ListView.java
            test/src/test/java/hudson/model/ListViewTest.java
            http://jenkins-ci.org/commit/jenkins/4f3a9d6eadbc9adc25a0cc8025730429f3a0e583
            Log:
            [FIXED JENKINS-20415] Lack of type safety in JENKINS-20143 fix sometimes caused CCEs.
            (cherry picked from commit bdbac284723940e5b2dfd37dd194524305de29c2)

            Conflicts:
            changelog.html

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/ListView.java test/src/test/java/hudson/model/ListViewTest.java http://jenkins-ci.org/commit/jenkins/4f3a9d6eadbc9adc25a0cc8025730429f3a0e583 Log: [FIXED JENKINS-20415] Lack of type safety in JENKINS-20143 fix sometimes caused CCEs. (cherry picked from commit bdbac284723940e5b2dfd37dd194524305de29c2) Conflicts: changelog.html
            Hide
            imakowski Ireneusz Makowski added a comment -

            Is this merged into LTS?

            Show
            imakowski Ireneusz Makowski added a comment - Is this merged into LTS?

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                riccardo_gorza Riccardo Gorza
              • Votes:
                2 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: