java.lang.ExceptionInInitializerError

GitHub | coelho | 5 months ago
  1. 0

    v1_8_R3 broken

    GitHub | 5 months ago | coelho
    java.lang.ExceptionInInitializerError
  2. 0

    Jenkins issues - [JIRA] (JENKINS-14707) Failed to instantiate class hudson.plugins.git.GitSCM

    nabble.com | 1 year ago
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"": ,"authorOrCommitter":false,"branches":{"name":"**"},"buildChooser":{"stapler-class":"org.jfrog.hudson.util.Credentials"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":" ","gitConfigName":"optimatics","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"optimizer-documentation-origin","refspec":"","url":" :optimatics/optimizer-documentation.git"},"value":"0","wipeOutWorkspace":false}
  3. 0

    On saving changes with Publish build - Discard Old Builds, I get the following exception: Status Code: 500 Exception: Stacktrace: java.lang.RuntimeException: Failed to instantiate class hudson.tasks.LogRotator from {"kind":"hudson.plugins.build_publisher.BuildPublisher","publicLogrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":""},"publishFailedBuilds":true,"publishUnstableBuilds":true,"stapler-class":"hudson.plugins.build_publisher.BuildPublisher"} at hudson.model.Descriptor.newInstance(Descriptor.java:575) at hudson.plugins.build_publisher.BuildPublisher$BuildPublisherDescriptor.newInstance(BuildPublisher.java:148) at hudson.plugins.build_publisher.BuildPublisher$BuildPublisherDescriptor.newInstance(BuildPublisher.java:110) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:912) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:899) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:184) at hudson.matrix.MatrixProject.submit(MatrixProject.java:722) at hudson.model.Job.doConfigSubmit(Job.java:990) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:665) 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:616) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:197) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:171) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.tasks.LogRotator from {"kind":"hudson.plugins.build_publisher.BuildPublisher","publicLogrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":""},"publishFailedBuilds":true,"publishUnstableBuilds":true,"stapler-class":"hudson.plugins.build_publisher.BuildPublisher"} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:633) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:373) at hudson.model.Descriptor.newInstance(Descriptor.java:566) ... 78 more Caused by: java.lang.IllegalArgumentException: Specified type class hudson.plugins.build_publisher.BuildPublisher is not assignable to the expected class hudson.tasks.LogRotator at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:603) ... 81 more

    Jenkins JIRA | 5 years ago | Stefan Rohleder
    java.lang.RuntimeException: Failed to instantiate class hudson.tasks.LogRotator from {"kind":"hudson.plugins.build_publisher.BuildPublisher","publicLogrotate":{"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":""},"publishFailedBuilds":true,"publishUnstableBuilds":true,"stapler-class":"hudson.plugins.build_publisher.BuildPublisher"}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sometimes (about once out of 10 times), when I do this: - click Configure of a job, - change something (not GitSCM related), - click on Save, I get the exception below. The workaround is to simply click Configure again, make the same change again and Save, and then it succeeds. {code}Status Code: 500 Exception: Stacktrace: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.host.domain/my-project/my-repo/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/my-project/my-repo","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.host.domain:my-project/my-repo.git"},"value":"2","wipeOutWorkspace":false} at hudson.model.Descriptor.newInstance(Descriptor.java:602) at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1484) at hudson.plugins.git.GitSCM$DescriptorImpl.newInstance(GitSCM.java:1405) at hudson.scm.SCMS.parseSCM(SCMS.java:63) at hudson.model.AbstractProject.submit(AbstractProject.java:1878) at hudson.model.Project.submit(Project.java:195) at hudson.model.Job.doConfigSubmit(Job.java:1045) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:729) at sun.reflect.GeneratedMethodAccessor1439.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.service(Stapler.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.corp.mobile.de/mobile-platform/testautomation-generic-suite/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/mobile-platform/testautomation-generic-suite","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.corp.mobile.de:mobile-platform/testautomation-generic-suite.git"},"value":"2","wipeOutWorkspace":false} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:582) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:373) at hudson.model.Descriptor.newInstance(Descriptor.java:593) ... 95 more Caused by: java.lang.IllegalArgumentException: Failed to convert the buildChooser parameter of the constructor public hudson.plugins.git.GitSCM(java.lang.String,java.util.List,java.util.List,hudson.plugins.git.UserMergeOptions,java.lang.Boolean,java.util.Collection,boolean,boolean,hudson.plugins.git.util.BuildChooser,hudson.plugins.git.browser.GitRepositoryBrowser,java.lang.String,boolean,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean,boolean,boolean,boolean,java.lang.String,java.lang.String,boolean,java.lang.String,boolean,boolean) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:576) ... 98 more Caused by: java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.git.util.BuildChooser from {"stapler-class":"hudson.tasks.Maven"} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:582) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:377) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:574) ... 98 more Caused by: java.lang.IllegalArgumentException: Specified type class hudson.tasks.Maven is not assignable to the expected class hudson.plugins.git.util.BuildChooser at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:552) ... 100 more {code} Interesting bits extracted: - IllegalArgumentException: Failed to instantiate class hudson.plugins.git.GitSCM from {...} - Failed to convert the buildChooser parameter of the constructor public hudson.plugins.git.GitSCM(...) - Failed to instantiate class hudson.plugins.git.util.BuildChooser from {"stapler-class":"hudson.tasks.Maven"} - Specified type class *hudson.tasks.Maven is not assignable to* the expected class *hudson.plugins.git.util.BuildChooser* Why would it want to instantiate a {{hudson.plugins.git.util.BuildChooser}} from a {{hudson.tasks.Maven}}? The big map at the beginning of the excption looks like this: - "":["hudson.plugins.git.util.DefaultBuildChooser","6"] - "authorOrCommitter":false - "branches":{"name":"master"} - "browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb" - "url":"http://git.corp.mobile.de/mobile-platform/testautomation-generic-suite/"} - "buildChooser":{"stapler-class":"hudson.tasks.Maven"} - "clean":false - "disableSubmodules":false - "excludedRegions":"" - "excludedUsers":"" - "gitConfigEmail":"" - "gitConfigName":"" - "gitTool":"Default" - "ignoreNotifyCommit":false - "includedRegions":"" - "localBranch":"master" - "pruneBranches":true - "recursiveSubmodules":true - "reference":"/home/jenkins/reference_repositories/mobile-platform/testautomation-generic-suite" - "relativeTargetDir":"" - "remotePoll":true - "scmName":"" - "skipTag":false - "useShallowClone":false - "userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.corp.mobile.de:mobile-platform/testautomation-generic-suite.git"} - "value":"2" - "wipeOutWorkspace":false And sure enough it contains the suspicious line: - "buildChooser":{"stapler-class":"hudson.tasks.Maven"} There is a similar issue (JENKINS-14707), where that line reads: - "buildChooser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb"} Why would stapler put that completely unrelated class name there? When I look at the {{config.xml}} of the project, I see this: {{<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>}} which looks reasonable.

    Jenkins JIRA | 3 years ago | Marc G√ľnther
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","6"],"authorOrCommitter":false,"branches":{"name":"master"},"browser":{"stapler-class":"hudson.plugins.git.browser.GitoriousWeb","url":"http://git.host.domain/my-project/my-repo/"},"buildChooser":{"stapler-class":"hudson.tasks.Maven"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"master","pruneBranches":true,"recursiveSubmodules":true,"reference":"/home/jenkins/reference_repositories/my-project/my-repo","relativeTargetDir":"","remotePoll":true,"scmName":"","skipTag":false,"useShallowClone":false,"userRemoteConfigs":{"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"git@git.host.domain:my-project/my-repo.git"},"value":"2","wipeOutWorkspace":false}
  6. 0

    Jenkins PHP Sample Test Project

    Stack Overflow | 4 years ago | Michael Irey
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","7"],"authorOrCommitter":false,"branches":{"name":"**"},"browser":{"stapler-class":"hudson.plugins.dry.DryPublisher","url":"http://dev.evanta.com/gitweb/?p=mydemo.git"},"buildChooser":{"stapler-class":"hudson.scm.browsers.FishEyeSVN"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":false,"userRemoteConfigs":{"name":"","refspec":"","url":"file:///home/mirey/mydemo"},"value":"1","wipeOutWorkspace":false}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Expected type boolean isn't assignable from double

      at net.techcable.sonarpet.utils.reflection.SonarField.getField()
    2. net.techcable.sonarpet
      SonarField.getField
      1. net.techcable.sonarpet.utils.reflection.SonarField.getField(SonarField.java:127)[?:?]
      1 frame
    3. com.dsh105.echopet
      EntityInsentientPet.<clinit>
      1. com.dsh105.echopet.compat.nms.v1_8_R3.entity.EntityInsentientPet.<clinit>(EntityInsentientPet.java:50)[?:?]
      1 frame
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)[?:1.8.0_91]
      2. java.lang.Class.forName(Class.java:264)[?:1.8.0_91]
      2 frames
    5. com.dsh105.echopet
      EchoPetPlugin.onEnable
      1. com.dsh105.echopet.compat.api.entity.PetType.<init>(PetType.java:96)[?:?]
      2. com.dsh105.echopet.compat.api.entity.PetType.<clinit>(PetType.java:32)[?:?]
      3. com.dsh105.echopet.compat.api.registration.PetRegistry.<init>(PetRegistry.java:67)[?:?]
      4. com.dsh105.echopet.EchoPetPlugin.onEnable(EchoPetPlugin.java:124)[?:?]
      4 frames
    6. net.techcable.sonarpet
      Bootstrap.onEnable
      1. net.techcable.sonarpet.Bootstrap.onEnable(Bootstrap.java:43)[?:?]
      1 frame
    7. Bukkit
      SimplePluginManager.enablePlugin
      1. org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)[spigot.jar:git-PaperSpigot-a861cc6]
      2. org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)[spigot.jar:git-PaperSpigot-a861cc6]
      3. org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)[spigot.jar:git-PaperSpigot-a861cc6]
      3 frames
    8. com.rylinaux.plugman
      PlugManCommandHandler.onCommand
      1. com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:285)[PlugMan.jar:?]
      2. com.rylinaux.plugman.command.LoadCommand.execute(LoadCommand.java:114)[PlugMan.jar:?]
      3. com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:104)[PlugMan.jar:?]
      3 frames
    9. Bukkit
      SimpleCommandMap.dispatch
      1. org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)[spigot.jar:git-PaperSpigot-a861cc6]
      2. org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:142)[spigot.jar:git-PaperSpigot-a861cc6]
      2 frames
    10. org.bukkit.craftbukkit
      CraftServer.dispatchCommand
      1. org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:665)[spigot.jar:git-PaperSpigot-a861cc6]
      1 frame
    11. net.minecraft.server
      PlayerConnectionUtils$1.run
      1. net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1188)[spigot.jar:git-PaperSpigot-a861cc6]
      2. net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1000)[spigot.jar:git-PaperSpigot-a861cc6]
      3. net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)[spigot.jar:git-PaperSpigot-a861cc6]
      4. net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)[spigot.jar:git-PaperSpigot-a861cc6]
      5. net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)[spigot.jar:git-PaperSpigot-a861cc6]
      5 frames
    12. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_91]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_91]
      2 frames
    13. net.minecraft.server
      MinecraftServer.run
      1. net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)[spigot.jar:git-PaperSpigot-a861cc6]
      2. net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:772)[spigot.jar:git-PaperSpigot-a861cc6]
      3. net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)[spigot.jar:git-PaperSpigot-a861cc6]
      4. net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:711)[spigot.jar:git-PaperSpigot-a861cc6]
      5. net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:614)[spigot.jar:git-PaperSpigot-a861cc6]
      5 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      1 frame