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

Jenkins will not start, error message: com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl cannot be cast to hudson.model.UserProperty

    Details

    • Similar Issues:

      Description

      After upgrading from Jenkins 2.60.2 to 2.89.2 Jenkins will not start.

      Also, for Jenkins 2.73.2 same behavior occurs.
      Reverting back to Jenkins 2.60.2 is possible, and gives no problem.

      This is the error trace:

      java.lang.ClassCastException: com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl cannot be cast to hudson.model.UserProperty

      at hudson.model.User.getProperty(User.java:305)

      at hudson.model.User.load(User.java:204)

      at hudson.model.User.<init>(User.java:157)

      at hudson.model.User.getOrCreate(User.java:470)

      at hudson.model.User.access$300(User.java:128)

      at hudson.model.User$AllUsers.scanAll(User.java:1011)

      Caused: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)

      Caused: java.lang.Error

      at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)

      at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)

      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)

      at jenkins.model.Jenkins$7.runTask(Jenkins.java:1090)

      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)

      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

      at java.lang.Thread.run(Thread.java:745)

      Caused: org.jvnet.hudson.reactor.ReactorException

      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)

      at jenkins.InitReactorRunner.run(InitReactorRunner.java:47)

      at jenkins.model.Jenkins.executeReactor(Jenkins.java:1124)

      at jenkins.model.Jenkins.<init>(Jenkins.java:929)

      at hudson.model.Hudson.<init>(Hudson.java:86)

      at hudson.model.Hudson.<init>(Hudson.java:82)

      at hudson.WebAppMain$3.run(WebAppMain.java:235)

      Caused: hudson.util.HudsonFailedToLoad

      at hudson.WebAppMain$3.run(WebAppMain.java:252)

        Attachments

          Activity

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              arjanschuurmans Arjan Schuurmans
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: