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

Email-ext plugin 2.40.2 warns of a circular dependency error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: email-ext-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.607, Jenkins 2.55
    • Similar Issues:

      Description

      I updated the Email-ext plugin from 2.40.1 to 2.40.2 and now see the following error in the Jenkins log at startup:

      May 14, 2015 11:08:07 AM INFO jenkins.InitReactorRunner$1 onAttained
      Listed all plugins
      May 14, 2015 11:08:09 AM INFO jenkins.InitReactorRunner$1 onAttained
      Prepared all plugins
      May 14, 2015 11:08:17 AM WARNING hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
      Failed to instantiate Key[type=hudson.plugins.emailext.ExtendedEmailPublisherDescriptor, annotation=[none]]; skipping this component
      com.google.inject.ProvisionException: Guice provision 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.Scopes$1$1.get(Scopes.java:65)
      	at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:427)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
      	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)
      	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:389)
      	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:380)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:386)
      	at hudson.ExtensionList.load(ExtensionList.java:300)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253)
      	at hudson.ExtensionList.iterator(ExtensionList.java:143)
      	at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1192)
      	at hudson.tasks.Mailer.descriptor(Mailer.java:197)
      	at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.readResolve(ExtendedEmailPublisherDescriptor.java:454)
      	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:606)
      	at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:229)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
      	at hudson.util.XStream2.unmarshal(XStream2.java:113)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
      	at hudson.XmlFile.unmarshal(XmlFile.java:163)
      	at hudson.model.Descriptor.load(Descriptor.java:780)
      	at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.<init>(ExtendedEmailPublisherDescriptor.java:344)
      	at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor$$FastClassByGuice$$5dfa54d0.newInstance(<generated>)
      	at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
      	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
      	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
      	at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:427)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)
      	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)
      	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:389)
      	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:380)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:386)
      	at hudson.ExtensionList.load(ExtensionList.java:300)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253)
      	at hudson.ExtensionList.iterator(ExtensionList.java:143)
      	at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1192)
      	at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:135)
      	at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
      	at hudson.PluginManager$2$1$2.run(PluginManager.java:389)
      	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      
      May 14, 2015 11:08:18 AM INFO jenkins.InitReactorRunner$1 onAttained
      Started all plugins
      

        Attachments

          Issue Links

            Activity

            Hide
            vikulin Vadym Vikulin added a comment -

            No fix version.

            Show
            vikulin Vadym Vikulin added a comment - No fix version.
            Hide
            slide_o_mix Alex Earl added a comment -

            Not going to look at this anymore. File a new issue or don't get help. 

            Show
            slide_o_mix Alex Earl added a comment - Not going to look at this anymore. File a new issue or don't get help. 
            Hide
            vikulin Vadym Vikulin added a comment -

            Alex Earl, I asked you fix version but you have just ran away.

            Show
            vikulin Vadym Vikulin added a comment - Alex Earl , I asked you fix version but you have just ran away.
            Show
            slide_o_mix Alex Earl added a comment - https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-2.40.3(May20,2015 )
            Hide
            chandau Chanda Unmack added a comment -

            Just wanted to add that I just got the same error on Jenkins 2.46.1 and email ext plugin version 2.57.2

            Show
            chandau Chanda Unmack added a comment - Just wanted to add that I just got the same error on Jenkins 2.46.1 and email ext plugin version 2.57.2

              People

              • Assignee:
                Unassigned
                Reporter:
                davida2009 David Aldrich
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: