java.lang.InstantiationError: hudson.plugins.rubyMetrics.rcov.model.MetricTarget

Jenkins JIRA | jamie_jamison | 6 years ago
  1. 0

    When I attempt to save a job that runs code coverage tests and is configured to publish an rcov report I get the error message listed below and the changes I made aren't saved. This problem cropped up with Hudson version 1.362 and exists in 1.363. If I uncheck the "Publish coverage report" checkbox the job can be saved. Status Code: 500 Exception: Stacktrace: java.lang.InstantiationError: hudson.plugins.rubyMetrics.rcov.model.MetricTarget at org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:271) at hudson.plugins.rubyMetrics.rcov.RcovPublisher$DescriptorImpl.newInstance(RcovPublisher.java:143) at hudson.plugins.rubyMetrics.rcov.RcovPublisher$DescriptorImpl.newInstance(RcovPublisher.java:104) at hudson.util.DescribableList.rebuild(DescribableList.java:147) at hudson.model.Project.submit(Project.java:198) at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97) at hudson.model.Job.doConfigSubmit(Job.java:1050) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:555) 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:235) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:116) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(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:525) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:441) at org.kohsuke.stapler.Stapler.service(Stapler.java:123) 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.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.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)

    Jenkins JIRA | 6 years ago | jamie_jamison
    java.lang.InstantiationError: hudson.plugins.rubyMetrics.rcov.model.MetricTarget
  2. 0

    When I attempt to save a job that runs code coverage tests and is configured to publish an rcov report I get the error message listed below and the changes I made aren't saved. This problem cropped up with Hudson version 1.362 and exists in 1.363. If I uncheck the "Publish coverage report" checkbox the job can be saved. Status Code: 500 Exception: Stacktrace: java.lang.InstantiationError: hudson.plugins.rubyMetrics.rcov.model.MetricTarget at org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:271) at hudson.plugins.rubyMetrics.rcov.RcovPublisher$DescriptorImpl.newInstance(RcovPublisher.java:143) at hudson.plugins.rubyMetrics.rcov.RcovPublisher$DescriptorImpl.newInstance(RcovPublisher.java:104) at hudson.util.DescribableList.rebuild(DescribableList.java:147) at hudson.model.Project.submit(Project.java:198) at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97) at hudson.model.Job.doConfigSubmit(Job.java:1050) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:555) 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:235) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:116) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(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:525) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:441) at org.kohsuke.stapler.Stapler.service(Stapler.java:123) 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.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.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)

    Jenkins JIRA | 6 years ago | jamie_jamison
    java.lang.InstantiationError: hudson.plugins.rubyMetrics.rcov.model.MetricTarget
  3. 0

    Cofiguration Rmetrics with Rcov in hudson error

    Stack Overflow | 6 years ago | Sinal
    java.lang.InstantiationError: hudson.plugins.rubyMetrics.rcov.model.MetricTarget
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClientLogin

    GitHub | 2 years ago | wonderfly
    java.lang.InstantiationError: com.google.api.client.http.HttpTransport

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

      hudson.plugins.rubyMetrics.rcov.model.MetricTarget

      at org.kohsuke.stapler.RequestImpl.bindParametersToList()
    2. Stapler
      RequestImpl.bindParametersToList
      1. org.kohsuke.stapler.RequestImpl.bindParametersToList(RequestImpl.java:271)
      1 frame
    3. hudson.plugins.rubyMetrics
      RcovPublisher$DescriptorImpl.newInstance
      1. hudson.plugins.rubyMetrics.rcov.RcovPublisher$DescriptorImpl.newInstance(RcovPublisher.java:143)
      2. hudson.plugins.rubyMetrics.rcov.RcovPublisher$DescriptorImpl.newInstance(RcovPublisher.java:104)
      2 frames
    4. Hudson
      AbstractProject.doConfigSubmit
      1. hudson.util.DescribableList.rebuild(DescribableList.java:147)
      2. hudson.model.Project.submit(Project.java:198)
      3. hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97)
      4. hudson.model.Job.doConfigSubmit(Job.java:1050)
      5. hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:555)
      5 frames
    5. 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
    6. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:235)
      2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:116)
      3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:57)
      4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
      5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      6. org.kohsuke.stapler.Stapler.invoke(Stapler.java:525)
      7. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
      8. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      9. org.kohsuke.stapler.Stapler.invoke(Stapler.java:525)
      10. org.kohsuke.stapler.Stapler.invoke(Stapler.java:441)
      11. org.kohsuke.stapler.Stapler.service(Stapler.java:123)
      11 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      1 frame
    8. 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
    9. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      2 frames
    10. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    11. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      1 frame
    12. winstone
      RequestDispatcher.doFilter
      1. winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      2 frames
    13. Hudson
      HudsonFilter.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      3 frames
    14. 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
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame