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

Pipeline dies with `java.lang.String cannot be cast to hudson.model.Fingerprint`

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      All builds that I checked fail with following stack :

      java.lang.ClassCastException: java.lang.String cannot be cast to hudson.model.Fingerprint
       at hudson.model.Fingerprint.load(Fingerprint.java:1369)
       at hudson.model.Fingerprint.load(Fingerprint.java:1357)
       at hudson.model.FingerprintMap.load(FingerprintMap.java:97)
       at hudson.model.FingerprintMap.load(FingerprintMap.java:47)
       at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:161)
       at hudson.model.FingerprintMap.get(FingerprintMap.java:82)
       at hudson.model.FingerprintMap.get(FingerprintMap.java:47)
       at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:111)
       at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:68)
       at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:64)
       at com.cloudbees.plugins.credentials.CredentialsProvider.getOrCreateFingerprintOf(CredentialsProvider.java:1403)
       at com.cloudbees.plugins.credentials.CredentialsProvider.trackAll(CredentialsProvider.java:1457)
       at com.cloudbees.plugins.credentials.CredentialsProvider.track(CredentialsProvider.java:1421)
       at hudson.plugins.git.GitSCM.createClient(GitSCM.java:818)
       at hudson.plugins.git.GitSCM.createClient(GitSCM.java:786)
       at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
       at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
       at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:144)
       at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:120)
       at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:298)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)
       Finished: FAILURE

        Attachments

          Issue Links

            Activity

            jozue_noon Witold Konior created issue -
            jozue_noon Witold Konior made changes -
            Field Original Value New Value
            Description All builds that I checked fail with following stack :

            ```
            java.lang.ClassCastException: java.lang.String cannot be cast to hudson.model.Fingerprint
            at hudson.model.Fingerprint.load(Fingerprint.java:1369)
            at hudson.model.Fingerprint.load(Fingerprint.java:1357)
            at hudson.model.FingerprintMap.load(FingerprintMap.java:97)
            at hudson.model.FingerprintMap.load(FingerprintMap.java:47)
            at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:161)
            at hudson.model.FingerprintMap.get(FingerprintMap.java:82)
            at hudson.model.FingerprintMap.get(FingerprintMap.java:47)
            at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:111)
            at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:68)
            at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:64)
            at com.cloudbees.plugins.credentials.CredentialsProvider.getOrCreateFingerprintOf(CredentialsProvider.java:1403)
            at com.cloudbees.plugins.credentials.CredentialsProvider.trackAll(CredentialsProvider.java:1457)
            at com.cloudbees.plugins.credentials.CredentialsProvider.track(CredentialsProvider.java:1421)
            at hudson.plugins.git.GitSCM.createClient(GitSCM.java:818)
            at hudson.plugins.git.GitSCM.createClient(GitSCM.java:786)
            at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
            at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
            at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:144)
            at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:120)
            at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:298)
            at hudson.model.ResourceController.execute(ResourceController.java:97)
            at hudson.model.Executor.run(Executor.java:429)
            Finished: FAILURE
            ```
            All builds that I checked fail with following stack :
            {code:java}
            java.lang.ClassCastException: java.lang.String cannot be cast to hudson.model.Fingerprint
             at hudson.model.Fingerprint.load(Fingerprint.java:1369)
             at hudson.model.Fingerprint.load(Fingerprint.java:1357)
             at hudson.model.FingerprintMap.load(FingerprintMap.java:97)
             at hudson.model.FingerprintMap.load(FingerprintMap.java:47)
             at hudson.util.KeyedDataStorage.get(KeyedDataStorage.java:161)
             at hudson.model.FingerprintMap.get(FingerprintMap.java:82)
             at hudson.model.FingerprintMap.get(FingerprintMap.java:47)
             at hudson.util.KeyedDataStorage.getOrCreate(KeyedDataStorage.java:111)
             at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:68)
             at hudson.model.FingerprintMap.getOrCreate(FingerprintMap.java:64)
             at com.cloudbees.plugins.credentials.CredentialsProvider.getOrCreateFingerprintOf(CredentialsProvider.java:1403)
             at com.cloudbees.plugins.credentials.CredentialsProvider.trackAll(CredentialsProvider.java:1457)
             at com.cloudbees.plugins.credentials.CredentialsProvider.track(CredentialsProvider.java:1421)
             at hudson.plugins.git.GitSCM.createClient(GitSCM.java:818)
             at hudson.plugins.git.GitSCM.createClient(GitSCM.java:786)
             at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
             at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
             at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:144)
             at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:120)
             at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:298)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:429)
             Finished: FAILURE{code}
            jozue_noon Witold Konior made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-49588 [ JENKINS-49588 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "https://github.com/jenkinsci/jenkins/pull/3439 (Web Link)" [ 20665 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels lts-candidate
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate 2.121.2-fixed
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-23566 [ JENKINS-23566 ]

              People

              Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              jozue_noon Witold Konior
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: