Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15626

java.lang.IllegalArgumentException: CloverPublisher is ambiguous; matches both org.jenkinsci.plugins.cloverphp.CloverPublisher and hudson.plugins.clover.CloverPublisher

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • Linux, Jenkins ver. 1.485, java version "1.6.0_24"
      OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
      OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

    Description

      Status Code: 500
      Exception: java.lang.IllegalArgumentException: CloverPublisher is ambiguous; matches both org.jenkinsci.plugins.cloverphp.CloverPublisher and hudson.plugins.clover.CloverPublisher
      Stacktrace:

      javax.servlet.ServletException: java.lang.IllegalArgumentException: CloverPublisher is ambiguous; matches both org.jenkinsci.plugins.cloverphp.CloverPublisher and hudson.plugins.clover.CloverPublisher
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      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:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      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 jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      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:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)
      Caused by: java.lang.IllegalArgumentException: CloverPublisher is ambiguous; matches both org.jenkinsci.plugins.cloverphp.CloverPublisher and hudson.plugins.clover.CloverPublisher
      at jenkins.model.Jenkins.getDescriptor(Jenkins.java:1103)
      at jenkins.model.Jenkins.getDescriptorByName(Jenkins.java:1114)
      at hudson.model.AbstractItem.getDescriptorByName(AbstractItem.java:465)
      at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
      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.MetaClass$6.doDispatch(MetaClass.java:241)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      ... 56 more

      Attachments

        Issue Links

          Activity

            tarjei Tarjei Huse added a comment -

            I think this is a CloverPhp vs Clover conflict.

            tarjei Tarjei Huse added a comment - I think this is a CloverPhp vs Clover conflict.

            Code changed in jenkins
            User: Seiji Sogabe
            Path:
            src/main/java/org/jenkinsci/plugins/cloverphp/CloverBuildAction.java
            src/main/java/org/jenkinsci/plugins/cloverphp/CloverPHPPublisher.java
            src/main/java/org/jenkinsci/plugins/cloverphp/CloverProjectAction.java
            src/main/java/org/jenkinsci/plugins/cloverphp/CloverPublisher.java
            src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPHPPublisher/config.jelly
            src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPHPPublisher/config.properties
            src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPHPPublisher/config_ja.properties
            src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPublisher/config.jelly
            src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPublisher/config.properties
            src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPublisher/config_ja.properties
            src/main/resources/org/jenkinsci/plugins/cloverphp/Messages.properties
            src/main/resources/org/jenkinsci/plugins/cloverphp/Messages_ja.properties
            src/test/java/org/jenkinsci/plugins/cloverphp/ConfigurationRoundtripTest.java
            http://jenkins-ci.org/commit/cloverphp-plugin/4e26c8a4a822b76bd13b146258c8feca31638517
            Log:
            [FIXED JENKINS-15626] Conflict with standard clover plugin


            You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
            For more options, visit https://groups.google.com/groups/opt_out.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: src/main/java/org/jenkinsci/plugins/cloverphp/CloverBuildAction.java src/main/java/org/jenkinsci/plugins/cloverphp/CloverPHPPublisher.java src/main/java/org/jenkinsci/plugins/cloverphp/CloverProjectAction.java src/main/java/org/jenkinsci/plugins/cloverphp/CloverPublisher.java src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPHPPublisher/config.jelly src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPHPPublisher/config.properties src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPHPPublisher/config_ja.properties src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPublisher/config.jelly src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPublisher/config.properties src/main/resources/org/jenkinsci/plugins/cloverphp/CloverPublisher/config_ja.properties src/main/resources/org/jenkinsci/plugins/cloverphp/Messages.properties src/main/resources/org/jenkinsci/plugins/cloverphp/Messages_ja.properties src/test/java/org/jenkinsci/plugins/cloverphp/ConfigurationRoundtripTest.java http://jenkins-ci.org/commit/cloverphp-plugin/4e26c8a4a822b76bd13b146258c8feca31638517 Log: [FIXED JENKINS-15626] Conflict with standard clover plugin – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

            People

              sogabe sogabe
              tarjei Tarjei Huse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: