hudson.plugins.cobertura.targets.CoverageMetric

Jenkins JIRA | jbdefard | 9 years ago
  1. 0

    Hudson 214 + Cobertura 0.8.4 When I save a job configuration a get a IllegalArgumentException error. Stack Trace: GRAVE: Error while serving http://netinteg1:8090/hudson/view/registrar/job/registrar-dnslu-site/configSubmit java.lang.reflect.InvocationTargetException 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:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:359) at org.kohsuke.stapler.Stapler.service(Stapler.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:52) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:28) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:42) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85) 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:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.cobertura.targets.CoverageMetric at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:262) at org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:212) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:380) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:312) at hudson.model.Descriptor.newInstance(Descriptor.java:133) at hudson.model.AbstractProject.buildDescribable(AbstractProject.java:914) at hudson.model.Project.submit(Project.java:154) at hudson.model.Job.doConfigSubmit(Job.java:756) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:294) ... 51 more 15 mai 2008 10:52:21 org.apache.catalina.core.StandardWrapperValve invoke GRAVE: "Servlet.service()" pour la servlet Stapler a généré une exception java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.cobertura.targets.CoverageMetric at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:262) at org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:212) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:380) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:312) at hudson.model.Descriptor.newInstance(Descriptor.java:133) at hudson.model.AbstractProject.buildDescribable(AbstractProject.java:914) at hudson.model.Project.submit(Project.java:154) at hudson.model.Job.doConfigSubmit(Job.java:756) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:294) 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:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:359) at org.kohsuke.stapler.Stapler.service(Stapler.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:52) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:28) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:42) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85) 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:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 9 years ago | jbdefard
    hudson.plugins.cobertura.targets.CoverageMetric
  2. 0

    Lately when trying to configure the cobertura plugin the first time, I get the following exception when I press 'Save' on the configuration page for the job: Status Code: 500 Exception: Stacktrace: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.cobertura.targets.CoverageMetric at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:262) at org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:212) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:373) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:310) at hudson.model.Descriptor.newInstance(Descriptor.java:133) at hudson.model.AbstractProject.buildDescribable(AbstractProject.java:914) at hudson.model.Project.submit(Project.java:154) at hudson.model.Job.doConfigSubmit(Job.java:756) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:294) 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:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:359) at org.kohsuke.stapler.Stapler.service(Stapler.java:119) 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.security.HudsonFilter.doFilter(HudsonFilter.java:88) 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:595) Workaround: I am copying the xml pertinent to the Cobertura plugin from another project that had already been configured into the new <job>/config.xml. Versions: Hudson v1.214 and the following plugins/versions: jira — ver.1.12 findbugs — ver.2.6 accurev — ver.0.6.1 build-timeout — ver.1.3 ci-game — ver.1.2 cobertura — ver.0.8.4 violations — ver.0.6.0

    Jenkins JIRA | 9 years ago | spfister
    hudson.plugins.cobertura.targets.CoverageMetric
  3. 0

    Hudson 214 + Cobertura 0.8.4 When I save a job configuration a get a IllegalArgumentException error. Stack Trace: GRAVE: Error while serving http://netinteg1:8090/hudson/view/registrar/job/registrar-dnslu-site/configSubmit java.lang.reflect.InvocationTargetException 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:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:359) at org.kohsuke.stapler.Stapler.service(Stapler.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:52) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:28) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:42) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85) 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:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.cobertura.targets.CoverageMetric at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:262) at org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:212) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:380) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:312) at hudson.model.Descriptor.newInstance(Descriptor.java:133) at hudson.model.AbstractProject.buildDescribable(AbstractProject.java:914) at hudson.model.Project.submit(Project.java:154) at hudson.model.Job.doConfigSubmit(Job.java:756) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:294) ... 51 more 15 mai 2008 10:52:21 org.apache.catalina.core.StandardWrapperValve invoke GRAVE: "Servlet.service()" pour la servlet Stapler a généré une exception java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.cobertura.targets.CoverageMetric at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:262) at org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:212) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:380) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:312) at hudson.model.Descriptor.newInstance(Descriptor.java:133) at hudson.model.AbstractProject.buildDescribable(AbstractProject.java:914) at hudson.model.Project.submit(Project.java:154) at hudson.model.Job.doConfigSubmit(Job.java:756) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:294) 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:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:359) at org.kohsuke.stapler.Stapler.service(Stapler.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:52) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:28) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:42) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85) 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:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 9 years ago | jbdefard
    hudson.plugins.cobertura.targets.CoverageMetric
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Lately when trying to configure the cobertura plugin the first time, I get the following exception when I press 'Save' on the configuration page for the job: Status Code: 500 Exception: Stacktrace: java.lang.IllegalArgumentException: Unable to convert to class hudson.plugins.cobertura.targets.CoverageMetric at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:262) at org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:212) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:373) at hudson.plugins.cobertura.CoberturaPublisher$DescriptorImpl.newInstance(CoberturaPublisher.java:310) at hudson.model.Descriptor.newInstance(Descriptor.java:133) at hudson.model.AbstractProject.buildDescribable(AbstractProject.java:914) at hudson.model.Project.submit(Project.java:154) at hudson.model.Job.doConfigSubmit(Job.java:756) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:294) 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:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:431) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:359) at org.kohsuke.stapler.Stapler.service(Stapler.java:119) 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.security.HudsonFilter.doFilter(HudsonFilter.java:88) 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:595) Workaround: I am copying the xml pertinent to the Cobertura plugin from another project that had already been configured into the new <job>/config.xml. Versions: Hudson v1.214 and the following plugins/versions: jira — ver.1.12 findbugs — ver.2.6 accurev — ver.0.6.1 build-timeout — ver.1.3 ci-game — ver.1.2 cobertura — ver.0.8.4 violations — ver.0.6.0

    Jenkins JIRA | 9 years ago | spfister
    hudson.plugins.cobertura.targets.CoverageMetric

    Root Cause Analysis

    1. hudson.plugins.cobertura.targets.CoverageMetric

      No message provided

      at org.kohsuke.stapler.RequestImpl.bindParameters()
    2. Stapler
      RequestImpl.bindParametersToList
      1. org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:262)
      2. org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:212)
      2 frames