java.lang.IllegalArgumentException: Failed to instantiate class org.jfrog.hudson.ArtifactoryServer from {"bypassProxy":false,"deployerCredentials":{"password":"xyz","username":"xyz"},"stapler-class":["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"],"timeout":"","url":"http://xyz:8081/artifactory"}

JFrog JIRA | Alphonse Bendt | 6 years ago
  1. 0

    i'm trying to reconfigure my hudson artifactory plugin. after submitting the new config i get the following error: {noformat} Status Code: 500 Exception: Stacktrace: java.lang.IllegalArgumentException: Failed to instantiate class org.jfrog.hudson.ArtifactoryServer from {"bypassProxy":false,"deployerCredentials":{"password":"xyz","username":"xyz"},"stapler-class":["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"],"timeout":"","url":"http://xyz:8081/artifactory"} at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:383) at org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:418) at org.jfrog.hudson.ArtifactoryBuilder$DescriptorImpl.configure(ArtifactoryBuilder.java:149) at hudson.model.Hudson.configureDescriptor(Hudson.java:2467) at hudson.model.Hudson.doConfigSubmit(Hudson.java:2424) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:102) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) 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.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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 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: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(Thread.java:619) Caused by: java.lang.IllegalArgumentException: Class ["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"] is specified in JSON, but no such class found in hudson.PluginManager$UberClassLoader@f79f36b at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:356) ... 56 more Caused by: java.lang.ClassNotFoundException: ["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"] at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:628) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:351) ... 56 more Generated by Winstone Servlet Engine v0.9.10 at Fri Dec 03 11:31:08 CET 2010 {noformat}

    JFrog JIRA | 6 years ago | Alphonse Bendt
    java.lang.IllegalArgumentException: Failed to instantiate class org.jfrog.hudson.ArtifactoryServer from {"bypassProxy":false,"deployerCredentials":{"password":"xyz","username":"xyz"},"stapler-class":["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"],"timeout":"","url":"http://xyz:8081/artifactory"}
  2. 0

    i'm trying to reconfigure my hudson artifactory plugin. after submitting the new config i get the following error: {noformat} Status Code: 500 Exception: Stacktrace: java.lang.IllegalArgumentException: Failed to instantiate class org.jfrog.hudson.ArtifactoryServer from {"bypassProxy":false,"deployerCredentials":{"password":"xyz","username":"xyz"},"stapler-class":["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"],"timeout":"","url":"http://xyz:8081/artifactory"} at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:383) at org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:418) at org.jfrog.hudson.ArtifactoryBuilder$DescriptorImpl.configure(ArtifactoryBuilder.java:149) at hudson.model.Hudson.configureDescriptor(Hudson.java:2467) at hudson.model.Hudson.doConfigSubmit(Hudson.java:2424) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:102) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) 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.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) 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.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 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: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(Thread.java:619) Caused by: java.lang.IllegalArgumentException: Class ["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"] is specified in JSON, but no such class found in hudson.PluginManager$UberClassLoader@f79f36b at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:356) ... 56 more Caused by: java.lang.ClassNotFoundException: ["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"] at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:628) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:351) ... 56 more Generated by Winstone Servlet Engine v0.9.10 at Fri Dec 03 11:31:08 CET 2010 {noformat}

    JFrog JIRA | 6 years ago | Alphonse Bendt
    java.lang.IllegalArgumentException: Failed to instantiate class org.jfrog.hudson.ArtifactoryServer from {"bypassProxy":false,"deployerCredentials":{"password":"xyz","username":"xyz"},"stapler-class":["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"],"timeout":"","url":"http://xyz:8081/artifactory"}
  3. 0

    Deploying Jenkins Sectioned View Plugin extension

    Stack Overflow | 3 years ago | Max Saichuk
    java.lang.ClassNotFoundException: <packageName>.<mainExtensionClassName>$DescriptorImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins won't start: WARNING: Failed to load hudson.scm.Cvs

    Stack Overflow | 4 years ago | Shaun Abram
    java.lang.InstantiationException: file:/data/trg/tar5/jenkins/plugins/cvs/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt: java.lang.ClassNotFoundException: hudson.scm.CvsRepositoryItem$CvsRepositoryItemDescriptor

  1. davidvanlaatum 10 times, last 6 months ago
1 unregistered visitors
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.ClassNotFoundException

    ["org.jfrog.hudson.ArtifactoryServer","org.jfrog.hudson.util.Credentials","org.jfrog.hudson.util.Credentials"]

    at hudson.PluginManager$UberClassLoader.findClass()
  2. Hudson
    PluginManager$UberClassLoader.findClass
    1. hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:628)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    2 frames
  4. Stapler
    RequestImpl.bindJSONToList
    1. org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:351)
    2. org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:418)
    2 frames
  5. org.jfrog.hudson
    ArtifactoryBuilder$DescriptorImpl.configure
    1. org.jfrog.hudson.ArtifactoryBuilder$DescriptorImpl.configure(ArtifactoryBuilder.java:149)
    1 frame
  6. Hudson
    Hudson.doConfigSubmit
    1. hudson.model.Hudson.configureDescriptor(Hudson.java:2467)
    2. hudson.model.Hudson.doConfigSubmit(Hudson.java:2424)
    2 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  8. Stapler
    Stapler.service
    1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
    2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
    3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
    4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:102)
    5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
    6. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562)
    7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:640)
    8. org.kohsuke.stapler.Stapler.invoke(Stapler.java:478)
    9. org.kohsuke.stapler.Stapler.service(Stapler.java:160)
    9 frames
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
    1 frame
  10. winstone
    RequestDispatcher.doFilter
    1. winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
    2. winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
    3. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
    3 frames
  11. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
    1 frame
  12. hudson.plugins.audit_trail
    AuditTrailFilter.doFilter
    1. hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64)
    1 frame
  13. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
    1 frame
  14. hudson.plugins.greenballs
    GreenBallFilter.doFilter
    1. hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)
    1 frame
  15. Hudson
    PluginServletFilter.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
    2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
    2 frames
  16. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
    2 frames
  17. Hudson
    CrumbFilter.doFilter
    1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
    1 frame
  18. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
    2 frames
  19. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
    2. hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
    3. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    3 frames
  20. Acegi Security Core
    ExceptionTranslationFilter.doFilter
    1. org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
    1 frame
  21. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  22. Acegi Security Core
    AnonymousProcessingFilter.doFilter
    1. org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    1 frame
  23. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  24. Acegi Security Core
    RememberMeProcessingFilter.doFilter
    1. org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    1 frame
  25. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  26. Acegi Security Core
    AbstractProcessingFilter.doFilter
    1. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    1 frame
  27. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  28. Acegi Security Core
    BasicProcessingFilter.doFilter
    1. org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
    1 frame
  29. Hudson
    ChainedServletFilter$1.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    1 frame
  30. Acegi Security Core
    HttpSessionContextIntegrationFilter.doFilter
    1. org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    1 frame
  31. Hudson
    HudsonFilter.doFilter
    1. hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
    2. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    3. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
    4. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
    4 frames
  32. winstone
    RequestHandlerThread.run
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
    3. winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
    4. winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
    5. winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
    5 frames
  33. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame