java.lang.RuntimeException: Failed to instantiate class hudson.plugins.copyartifact.CopyArtifact from {"":"0","filter":"","flatten":false,"kind":"hudson.plugins.copyartifact.CopyArtifact$DescriptorImpl","optional":false,"projectName":"test","selector":{"buildNumber":"35","fallback":false,"id":"","parameterName":"BUILD_SELECTOR","stableOnly":false,"stapler-class":["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"]},"stapler-class":"hudson.plugins.copyartifact.CopyArtifact","target":""}

Jenkins JIRA | Johan Peeters | 5 years ago
  1. 0

    Copy Artifact plugin

    Google Groups | 5 years ago | PEETERS JOHAN (SDV/AVO)
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.copyartifact.CopyArtifact from {"":"0","filter":"","flatten":false,"kind":"hudson.plugins.copyartifact.CopyArtifact$DescriptorImpl","optional":false,"projectName":"test","selector":{"buildNumber":"35","fallback":false,"id":"","parameterName":"BUILD_SELECTOR","stableOnly":false,"stapler-class":["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"]},"stapler-class":"hudson.plugins.copyartifact.CopyArtifact","target":""}
  2. 0

    when trying to save a job with a copy artifact build step, a ClassNotFoundException is thrown: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.copyartifact.CopyArtifact from {"":"0","filter":"","flatten":false,"kind":"hudson.plugins.copyartifact.CopyArtifact$DescriptorImpl","optional":false,"projectName":"test","selector":{"buildNumber":"35","fallback":false,"id":"","parameterName":"BUILD_SELECTOR","stableOnly":false,"stapler-class":["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"]},"stapler-class":"hudson.plugins.copyartifact.CopyArtifact","target":""} at hudson.model.Descriptor.newInstance(Descriptor.java:543) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:818) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:805) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:99) ... Caused by: java.lang.ClassNotFoundException: ["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"] at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:642) at java.lang.ClassLoader.loadClass(ClassLoader.java:660) at java.lang.ClassLoader.loadClass(ClassLoader.java:626) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:596) ... 67 more

    Jenkins JIRA | 5 years ago | Johan Peeters
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.copyartifact.CopyArtifact from {"":"0","filter":"","flatten":false,"kind":"hudson.plugins.copyartifact.CopyArtifact$DescriptorImpl","optional":false,"projectName":"test","selector":{"buildNumber":"35","fallback":false,"id":"","parameterName":"BUILD_SELECTOR","stableOnly":false,"stapler-class":["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"]},"stapler-class":"hudson.plugins.copyartifact.CopyArtifact","target":""}
  3. 0

    when trying to save a job with a copy artifact build step, a ClassNotFoundException is thrown: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.copyartifact.CopyArtifact from {"":"0","filter":"","flatten":false,"kind":"hudson.plugins.copyartifact.CopyArtifact$DescriptorImpl","optional":false,"projectName":"test","selector":{"buildNumber":"35","fallback":false,"id":"","parameterName":"BUILD_SELECTOR","stableOnly":false,"stapler-class":["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"]},"stapler-class":"hudson.plugins.copyartifact.CopyArtifact","target":""} at hudson.model.Descriptor.newInstance(Descriptor.java:543) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:818) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:805) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:185) at hudson.model.Project.submit(Project.java:197) at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:99) ... Caused by: java.lang.ClassNotFoundException: ["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"] at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:642) at java.lang.ClassLoader.loadClass(ClassLoader.java:660) at java.lang.ClassLoader.loadClass(ClassLoader.java:626) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:596) ... 67 more

    Jenkins JIRA | 5 years ago | Johan Peeters
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.copyartifact.CopyArtifact from {"":"0","filter":"","flatten":false,"kind":"hudson.plugins.copyartifact.CopyArtifact$DescriptorImpl","optional":false,"projectName":"test","selector":{"buildNumber":"35","fallback":false,"id":"","parameterName":"BUILD_SELECTOR","stableOnly":false,"stapler-class":["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"]},"stapler-class":"hudson.plugins.copyartifact.CopyArtifact","target":""}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JMeter - User - CI - Jenkins + Maven + Jmeter

    nabble.com | 9 months ago
    java.lang.RuntimeException: Failed to instantiate class hudson.plugins.performance.PerformancePublisher from {"parsers":{"glob":"**/*.jtl","kind":"hudson.plugins.performance.JMeterParser$DescriptorImpl"},"modeOfThreshold":"true","errorUnstableThreshold":"","errorFailedThreshold":"","errorUnstableResponseTimeThreshold":"","relativeUnstableThresholdNegative":"2","relativeUnstableThresholdPositive":"5","relativeFailedThresholdNegative":"2","relativeFailedThresholdPositive":"5","compareBuildPrevious":"false","nthBuildNumber":"","comparisonType":"ART","modePerformancePerTestCase":true,"modeThroughput":false,"stapler-class":"hudson.plugins.performance.PerformancePublisher","$class":"hudson.plugins.performance.PerformancePublisher"}
  6. 0

    Repro steps: - start with clean installation - add one slave "slave" - add multi-configuration job - select "Add Axis" then select "Slaves" - select both "master" and "slave" - save the job When saving matrix configuration in Internet Explorer exception occurs: Status Code: 500 Exception: Stacktrace: java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"":[{"values":"master"},{"values":"slave"}],"kind":"hudson.matrix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"} at hudson.model.Descriptor.newInstance(Descriptor.java:497) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:767) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:171) at hudson.matrix.MatrixProject.submit(MatrixProject.java:601) at hudson.model.Job.doConfigSubmit(Job.java:964) ... When saving matrix configuration in Firefox 3.6 everything is ok. Notice that correct instatiation string should be as follows: {"kind":"hudson.matrix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis","values":["master","slave"]} instead of what we have in Internet Explorer: {"":[{"values":"master"},{"values":"slave"}],"kind":"hudson.matrix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}

    Jenkins JIRA | 6 years ago | u127nm
    java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"":[{"values":"master"},{"values":"slave"}],"kind":"hudson.matrix.LabelAxis$DescriptorImpl","name":"label","stapler-class":"hudson.matrix.LabelAxis"}

    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.RuntimeException

      Failed to instantiate class hudson.plugins.copyartifact.CopyArtifact from {"":"0","filter":"","flatten":false,"kind":"hudson.plugins.copyartifact.CopyArtifact$DescriptorImpl","optional":false,"projectName":"test","selector":{"buildNumber":"35","fallback":false,"id":"","parameterName":"BUILD_SELECTOR","stableOnly":false,"stapler-class":["hudson.plugins.copyartifact.StatusBuildSelector","hudson.plugins.copyartifact.SavedBuildSelector","hudson.plugins.copyartifact.TriggeredBuildSelector","hudson.plugins.copyartifact.PermalinkBuildSelector","hudson.plugins.copyartifact.SpecificBuildSelector","hudson.plugins.copyartifact.WorkspaceSelector","hudson.plugins.copyartifact.ParameterizedBuildSelector"]},"stapler-class":"hudson.plugins.copyartifact.CopyArtifact","target":""}

      at hudson.model.Descriptor.newInstance()
    2. Hudson
      FreeStyleProject.submit
      1. hudson.model.Descriptor.newInstance(Descriptor.java:543)
      2. hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:818)
      3. hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:805)
      4. hudson.util.DescribableList.rebuildHetero(DescribableList.java:185)
      5. hudson.model.Project.submit(Project.java:197)
      6. hudson.model.FreeStyleProject.submit(FreeStyleProject.java:99)
      6 frames