javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter from {"":["0","0","0","1","0"],"commitShaSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.BuildDataRevisionShaSource","$class":"org.jenkinsci.plugins.github.status.sources.BuildDataRevisionShaSource"},"reposSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.AnyDefinedRepositorySource","$class":"org.jenkinsci.plugins.github.status.sources.AnyDefinedRepositorySource"},"contextSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.DefaultCommitContextSource","$class":"org.jenkinsci.plugins.github.status.sources.DefaultCommitContextSource"},"statusResultSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.DefaultStatusResultSource","$class":"org.jenkinsci.plugins.github.status.sources.DefaultStatusResultSource"},"statusBackrefSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.BuildRefBackrefSource","$class":"org.jenkinsci.plugins.github.status.sources.BuildRefBackrefSource"},"errorHandling":false,"stapler-class":"org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter","$class":"org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter"}

Google Groups | ken...@lausdahl.com (JIRA) | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JIRA] (JENKINS-38665) GitHub plugin Set status for GitHub commit throws exception on job save

    Google Groups | 7 months ago | ken...@lausdahl.com (JIRA)
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter from {"":["0","0","0","1","0"],"commitShaSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.BuildDataRevisionShaSource","$class":"org.jenkinsci.plugins.github.status.sources.BuildDataRevisionShaSource"},"reposSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.AnyDefinedRepositorySource","$class":"org.jenkinsci.plugins.github.status.sources.AnyDefinedRepositorySource"},"contextSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.DefaultCommitContextSource","$class":"org.jenkinsci.plugins.github.status.sources.DefaultCommitContextSource"},"statusResultSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.DefaultStatusResultSource","$class":"org.jenkinsci.plugins.github.status.sources.DefaultStatusResultSource"},"statusBackrefSource":{"stapler-class":"org.jenkinsci.plugins.github.status.sources.BuildRefBackrefSource","$class":"org.jenkinsci.plugins.github.status.sources.BuildRefBackrefSource"},"errorHandling":false,"stapler-class":"org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter","$class":"org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter"}

    Root Cause Analysis

    1. org.kohsuke.stapler.NoStaplerConstructorException

      There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.github.status.sources.BuildRefBackrefSource

      at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames()
    2. Stapler
      RequestImpl$TypePair.convertJSON
      1. org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:177)
      2. org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:684)
      3. org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:81)
      4. org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:600)
      4 frames