java.lang.ClassCastException: hudson.plugins.mercurial.MercurialSCM cannot be cast to hudson.scm.SubversionSCM

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 timmytonyboots, 1 year ago
hudson.plugins.mercurial.MercurialSCM cannot be cast to hudson.scm.SubversionSCM
via Jenkins JIRA by timmytonyboots, 1 year ago
hudson.plugins.mercurial.MercurialSCM cannot be cast to hudson.scm.SubversionSCM
via Jenkins JIRA by abendt, 1 year ago
hudson.plugins.templateproject.ProxySCM cannot be cast to hudson.scm.SubversionSCM
via Jenkins JIRA by abendt, 1 year ago
hudson.plugins.templateproject.ProxySCM cannot be cast to hudson.scm.SubversionSCM
java.lang.ClassCastException: hudson.plugins.mercurial.MercurialSCM cannot be cast to hudson.scm.SubversionSCM
at hudson.scm.SubversionChangeLogSet$LogEntry.preparePath(SubversionChangeLogSet.java:175)
at hudson.scm.SubversionChangeLogSet$LogEntry.access$200(SubversionChangeLogSet.java:118)
at hudson.scm.SubversionChangeLogSet$LogEntry$1.get(SubversionChangeLogSet.java:166)
at hudson.scm.SubversionChangeLogSet$LogEntry$1.get(SubversionChangeLogSet.java:164)
at hudson.maven.MavenModuleSetBuild$1.isDescendantOf(MavenModuleSetBuild.java:200)
at hudson.maven.MavenModuleSetBuild$1.(MavenModuleSetBuild.java:170)
at hudson.maven.MavenModuleSetBuild.getChangeSetFor(MavenModuleSetBuild.java:164)
at hudson.maven.FilteredChangeLogSet.(FilteredChangeLogSet.java:52)
at hudson.maven.MavenBuild.getChangeSet(MavenBuild.java:159)
at hudson.model.View$People.getUserInfo(View.java:480)
at hudson.model.View$People.(View.java:458)
at hudson.model.Hudson.getPeople(Hudson.java:769)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:169)
at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:144)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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