javax.servlet.ServletException

java.lang.RuntimeException: Failed to instantiate class com.hp.application.automation.tools.run.RunFromAlmBuilder from {"stapler-class":"com.hp.application.automation.tools.run.RunFromAlmBuilder","kind":"com.hp.application.automation.tools.run.RunFromAlmBuilder"}

Solutions on the web2669

  • via Jenkins JIRA by andrey shkola, 1 year ago
    java.lang.RuntimeException: Failed to instantiate class com.hp.application.automation.tools.run.RunFromAlmBuilder from {"stapler-class":"com.hp.application.automation.tools.run.RunFromAlmBuilder","kind":"com.hp.application.automation.tools.run.RunFromAlmBuilder"}
  • via Jenkins JIRA by andrey shkola, 1 year ago
    java.lang.RuntimeException: Failed to instantiate class com.hp.application.automation.tools.run.RunFromAlmBuilder from {"stapler-class":"com.hp.application.automation.tools.run.RunFromAlmBuilder","kind":"com.hp.application.automation.tools.run.RunFromAlmBuilder"}
  • via Jenkins JIRA by Michael Frame, 11 months ago
    java.lang.RuntimeException: Failed to instantiate class hudson.matrix.LabelAxis from {"name":"label","values":"vs2013","stapler-class":"hudson.matrix.LabelAxis","kind":"hudson.matrix.LabelAxis"}
  • Stack trace

    • javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class com.hp.application.automation.tools.run.RunFromAlmBuilder from {"stapler-class":"com.hp.application.automation.tools.run.RunFromAlmBuilder","kind":"com.hp.application.automation.tools.run.RunFromAlmBuilder"} at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) 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:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:214) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.RuntimeException: Failed to instantiate class com.hp.application.automation.tools.run.RunFromAlmBuilder from {"stapler-class":"com.hp.application.automation.tools.run.RunFromAlmBuilder","kind":"com.hp.application.automation.tools.run.RunFromAlmBuilder"} at hudson.model.Descriptor.newInstance(Descriptor.java:602) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:203) at hudson.model.Project.submit(Project.java:200) at hudson.model.Job.doConfigSubmit(Job.java:1076) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:758) 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:677) ... 39 more Caused by: java.lang.NullPointerException at com.hp.application.automation.tools.model.RunFromAlmModel.<init>(RunFromAlmModel.java:54) at com.hp.application.automation.tools.run.RunFromAlmBuilder.<init>(RunFromAlmBuilder.java:68) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:438) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:76) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:594) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:391) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:387) at hudson.model.Descriptor.newInstance(Descriptor.java:593) ... 55 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.