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

Tried proxying hudson.plugins.emailext.ExtendedEmailPublisherDescriptor to support a circular dependency, but it is not an interface.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • email-ext-plugin
    • None

      When using a Pre-send Script, jenkins reports the following stacktrace:

      Oct 31, 2019 4:02:38 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
      WARNING: Failed to instantiate Key[type=hudson.plugins.emailext.ExtendedEmailPublisherDescriptor, annotation=[none]]; skipping this component
      com.google.inject.ProvisionException: Unable to provision, see the following errors:
      
      1) Tried proxying hudson.plugins.emailext.ExtendedEmailPublisherDescriptor to support a circular dependency, but it is not an interface.
      
      1 error
      at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52)
      at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
      at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424)
      ...
      

      Steps to reproduce:

      1. git clone https://github.com/jenkinsci/email-ext-plugin.git
      2. cd email-ext-plugin/
      3. git checkout email-ext-2.68
      4. mvn hpi:run
      5. navigate via http://localhost:8080 to Manage Jenkins > Configure System
      6. enter "// " (without quotes) into the Default Pre-send Script text field.
      7. restart jenkins

            slide_o_mix Alex Earl
            svoelkel Stefan Völkel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: