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 Google Groups by herbert...@crossengage.io (JIRA), 1 year ago
org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to org.jenkinsci.plugins.BitbucketAuthenticationToken
via Jenkins JIRA by Herbert Fischer, 1 year ago
org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to org.jenkinsci.plugins.BitbucketAuthenticationToken
via Jenkins JIRA by Herbert Fischer, 1 year ago
org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to org.jenkinsci.plugins.BitbucketAuthenticationToken
via GitHub by shuraa
, 8 months ago
org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to org.jenkinsci.plugins.BitbucketAuthenticationToken
java.lang.ClassCastException: org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to org.jenkinsci.plugins.BitbucketAuthenticationToken	at org.jenkinsci.plugins.BitbucketSecurityRealm.loadUserByUsername(BitbucketSecurityRealm.java:162)	at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1048)	at hudson.model.User.get(User.java:394)	at hudson.model.User.get(User.java:363)	at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:374)	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:435)	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:350)	at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:72)	at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:104)	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:859)	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)	at hudson.model.Run.execute(Run.java:1738)	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:410)