java.lang.ClassCastException: org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to com.assembla.jenkinsci.plugin.AssemblaAuthenticationToken

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Jakub Czaplicki, 1 year ago
org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to com.assembla.jenkinsci.plugin.AssemblaAuthenticationToken
via Jenkins JIRA by Jakub Czaplicki, 1 year ago
org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to com.assembla.jenkinsci.plugin.AssemblaAuthenticationToken
via Google Groups by doro...@gmail.com (JIRA), 1 year ago
org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be to com.assembla.jenkinsci.plugin.AssemblaAuthenticationToken
via Google Groups by jakub.c...@gmail.com (JIRA), 1 year ago
org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be <span class="code-keyword" style="color: #000091">cast</span> to com.assembla.jenkinsci.plugin.AssemblaAuthenticationToken
java.lang.ClassCastException: org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to com.assembla.jenkinsci.plugin.AssemblaAuthenticationToken
at com.assembla.jenkinsci.plugin.AssemblaSecurityRealm.loadUserByUsername(AssemblaSecurityRealm.java:333)
at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1050)
at hudson.model.User.get(User.java:395)
at hudson.model.User.get(User.java:364)
at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:374)
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:350)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669)
at hudson.model.Run.execute(Run.java:1766)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.