java.lang.Error: java.lang.reflect.InvocationTargetException

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 Oleg Nenashev, 1 year ago
java.lang.reflect.InvocationTargetException
via Jenkins JIRA by Oleg Nenashev, 1 year ago
java.lang.reflect.InvocationTargetException
via Google Groups by dominiquebrice, 5 months ago
java.lang.reflect.InvocationTargetException
via Jenkins JIRA by Oleg Nenashev, 1 year ago
java.lang.reflect.InvocationTargetException
via Jenkins JIRA by Matthew Webber, 1 year ago
java.lang.reflect.InvocationTargetException
via Google Groups by Gavin Mogan, 1 year ago
java.lang.reflect.InvocationTargetException
java.lang.ClassCastException: hudson.plugins.git.GitSCM cannot be cast to hudson.scm.SubversionSCM
at hudson.scm.PerJobCredentialStore.migrateCredentials(PerJobCredentialStore.java:120)
at hudson.scm.SubversionSCM$DescriptorImpl.migratePerJobCredentials(SubversionSCM.java:1651)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:903)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

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.