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

Email-ext plugin 2.40.2 warns of a circular dependency error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • email-ext-plugin
    • None
    • Jenkins 1.607, Jenkins 2.55

    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

            davida2009 David Aldrich created issue -
            slide_o_mix Alex Earl added a comment -

            Oh, good. Another one I can't replicate...

            slide_o_mix Alex Earl added a comment - Oh, good. Another one I can't replicate...
            slide_o_mix Alex Earl added a comment -

            Do you have the Mailer plugin enabled?

            slide_o_mix Alex Earl added a comment - Do you have the Mailer plugin enabled?
            davida2009 David Aldrich added a comment -

            Yes, Mailer is enabled. I guess that means I should disable it?

            davida2009 David Aldrich added a comment - Yes, Mailer is enabled. I guess that means I should disable it?
            slide_o_mix Alex Earl added a comment -

            No, it should be enabled. Let me look into it some more.

            slide_o_mix Alex Earl added a comment - No, it should be enabled. Let me look into it some more.
            davida2009 David Aldrich added a comment -

            There is a later error but I assume that is unrelated:

            May 14, 2015 12:26:52 PM WARNING hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser
            Credential exception trying to authenticate against uktm.eu.nec.com domain
            org.acegisecurity.BadCredentialsException: Empty password
            	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:254)
            	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:219)
            	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:163)
            	at org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:122)
            	at org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:200)
            	at org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:47)
            	at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:74)
            	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
            	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:67)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
            	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
            	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
            	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
            	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
            	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
            	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
            	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
            	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
            	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
            	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
            	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
            	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
            	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
            	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
            	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
            	at org.eclipse.jetty.server.Server.handle(Server.java:370)
            	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
            	at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
            	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
            	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
            	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
            	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
            	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
            	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
            	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
            	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)
            
            davida2009 David Aldrich added a comment - There is a later error but I assume that is unrelated: May 14, 2015 12:26:52 PM WARNING hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser Credential exception trying to authenticate against uktm.eu.nec.com domain org.acegisecurity.BadCredentialsException: Empty password at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:254) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:219) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:163) at org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:122) at org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:200) at org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:47) at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:74) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) 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:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) 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)
            davida2009 David Aldrich added a comment -

            Restarted Jenkins and got the same error: "1) Tried proxying hudson.plugins.emailext.ExtendedEmailPublisherDescriptor to support a circular dependency..." but did not get the second error: "WARNING hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser
            Credential exception trying to authenticate against uktm.eu.nec.com domain".

            davida2009 David Aldrich added a comment - Restarted Jenkins and got the same error: "1) Tried proxying hudson.plugins.emailext.ExtendedEmailPublisherDescriptor to support a circular dependency..." but did not get the second error: "WARNING hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider retrieveUser Credential exception trying to authenticate against uktm.eu.nec.com domain".
            slide_o_mix Alex Earl added a comment -

            Yeah, the second error is not related. What version of Jenkins? What version of Mailer?

            slide_o_mix Alex Earl added a comment - Yeah, the second error is not related. What version of Jenkins? What version of Mailer?
            davida2009 David Aldrich added a comment -

            Jenkins 1.607, Mailer 1.15.

            davida2009 David Aldrich added a comment - Jenkins 1.607, Mailer 1.15.
            davida2009 David Aldrich added a comment -

            Upgraded to Jenkins 1.613 and the error is still there.

            davida2009 David Aldrich added a comment - Upgraded to Jenkins 1.613 and the error is still there.
            slide_o_mix Alex Earl added a comment -

            As a workaround, you can edit the hudson.plugins.emailext.ExtendedEmailPublisher.xml (I think that's the name) in JENKINS_HOME and set overrideGlobalSettings to true and restart Jenkins. You will need to reconfigure your mail server information in the Email-ext global config area.

            slide_o_mix Alex Earl added a comment - As a workaround, you can edit the hudson.plugins.emailext.ExtendedEmailPublisher.xml (I think that's the name) in JENKINS_HOME and set overrideGlobalSettings to true and restart Jenkins. You will need to reconfigure your mail server information in the Email-ext global config area.
            davida2009 David Aldrich added a comment -

            Rolled back email-ext plugin to 2.40.1. Error is still there.

            davida2009 David Aldrich added a comment - Rolled back email-ext plugin to 2.40.1. Error is still there.
            slide_o_mix Alex Earl added a comment -

            If you are willing, would you try this version of the plugin? You'd have to install via the advanced tab in the plugin manager.

            slide_o_mix Alex Earl added a comment - If you are willing, would you try this version of the plugin? You'd have to install via the advanced tab in the plugin manager.
            slide_o_mix Alex Earl made changes -
            Field Original Value New Value
            Attachment email-ext.hpi [ 29787 ]
            slide_o_mix Alex Earl made changes -
            Status Open [ 1 ] In Progress [ 3 ]

            Code changed in jenkins
            User: Alex Earl
            Path:
            src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
            src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java
            http://jenkins-ci.org/commit/email-ext-plugin/970c7e18039b2c1c1f8af7e68c1ea48834a90524
            Log:
            Fix JENKINS-28402

            Removed Mailer stuff from readResolve.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java http://jenkins-ci.org/commit/email-ext-plugin/970c7e18039b2c1c1f8af7e68c1ea48834a90524 Log: Fix JENKINS-28402 Removed Mailer stuff from readResolve.
            davida2009 David Aldrich added a comment -

            I will try to try the attached plugin, but can't do so yet.

            davida2009 David Aldrich added a comment - I will try to try the attached plugin, but can't do so yet.
            davida2009 David Aldrich added a comment -

            With your attached plugin the error does not occur .

            davida2009 David Aldrich added a comment - With your attached plugin the error does not occur .
            slide_o_mix Alex Earl added a comment -

            Somehow I missed your comment. I'll get a new version out asap then.

            slide_o_mix Alex Earl added a comment - Somehow I missed your comment. I'll get a new version out asap then.
            slide_o_mix Alex Earl added a comment -

            Removed Mailer accesses from readResolve. Should not have been there.

            slide_o_mix Alex Earl added a comment - Removed Mailer accesses from readResolve. Should not have been there.
            slide_o_mix Alex Earl made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            slide_o_mix Alex Earl made changes -
            Link This issue is duplicated by JENKINS-28507 [ JENKINS-28507 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 163241 ] JNJira + In-Review [ 197144 ]
            vikulin Vadym Vikulin added a comment - - edited

            Reproduced in jenkins 2.55. 

              Email Extension Plugin
            This plugin is a replacement for Jenkins's email publisher
            2.57.2

             

            18-Apr-2017 21:29:51.635 WARNING [Initializing plugin copyartifact] hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.error 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)
            at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
            at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
            at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
            at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
            at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386)
            at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377)
            at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:468)
            at hudson.ExtensionList.load(ExtensionList.java:365)
            at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303)
            at hudson.ExtensionList.getComponents(ExtensionList.java:168)
            at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:191)
            at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303)
            at hudson.ExtensionList.iterator(ExtensionList.java:157)
            at hudson.model.User.load(User.java:201)
            at hudson.model.User.<init>(User.java:155)
            at hudson.model.User.getOrCreate(User.java:463)
            at hudson.model.User.getById(User.java:534)
            at hudson.model.User.get(User.java:518)
            at hudson.model.User.current(User.java:502)
            at org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext.withCurrentUser(ApprovalContext.java:73)
            at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.setDefaultPostsendScript(ExtendedEmailPublisherDescriptor.java:514)
            at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.<init>(ExtendedEmailPublisherDescriptor.java:183)
            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:105)
            at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
            at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
            at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
            at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
            at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
            at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
            at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424)
            at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
            at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
            at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
            at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
            at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386)
            at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377)
            at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:468)
            at hudson.ExtensionList.load(ExtensionList.java:365)
            at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303)
            at hudson.ExtensionList.iterator(ExtensionList.java:157)
            at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1518)
            at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:156)
            at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
            at hudson.PluginManager$2$1$2.run(PluginManager.java:542)
            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:1063)
            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:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:745)

             

            vikulin Vadym Vikulin added a comment - - edited Reproduced in jenkins 2.55.    Email Extension Plugin This plugin is a replacement for Jenkins's email publisher 2.57.2   18-Apr-2017 21:29:51.635 WARNING [Initializing plugin copyartifact] hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.error 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) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:468) at hudson.ExtensionList.load(ExtensionList.java:365) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303) at hudson.ExtensionList.getComponents(ExtensionList.java:168) at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:191) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303) at hudson.ExtensionList.iterator(ExtensionList.java:157) at hudson.model.User.load(User.java:201) at hudson.model.User.<init>(User.java:155) at hudson.model.User.getOrCreate(User.java:463) at hudson.model.User.getById(User.java:534) at hudson.model.User.get(User.java:518) at hudson.model.User.current(User.java:502) at org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext.withCurrentUser(ApprovalContext.java:73) at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.setDefaultPostsendScript(ExtendedEmailPublisherDescriptor.java:514) at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.<init>(ExtendedEmailPublisherDescriptor.java:183) 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:105) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:468) at hudson.ExtensionList.load(ExtensionList.java:365) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303) at hudson.ExtensionList.iterator(ExtensionList.java:157) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1518) at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:156) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:542) 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:1063) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)  
            vikulin Vadym Vikulin made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            vikulin Vadym Vikulin made changes -
            Environment Jenkins 1.607 Jenkins 1.607, Jenkins 2.55
            slide_o_mix Alex Earl added a comment -

            Please open a new issue.

            slide_o_mix Alex Earl added a comment - Please open a new issue.
            slide_o_mix Alex Earl made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Closed [ 6 ]
            vikulin Vadym Vikulin added a comment -

            Please explain why I should create a duplicate? Reopened.

            vikulin Vadym Vikulin added a comment - Please explain why I should create a duplicate? Reopened.
            vikulin Vadym Vikulin added a comment -

            Issue is the same as before and appeared in Jenkins 2.55

            vikulin Vadym Vikulin added a comment - Issue is the same as before and appeared in Jenkins 2.55
            vikulin Vadym Vikulin made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            slide_o_mix Alex Earl added a comment -

            The original issue was fixed, this is a new issue.

            slide_o_mix Alex Earl added a comment - The original issue was fixed, this is a new issue.
            slide_o_mix Alex Earl made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Closed [ 6 ]
            vikulin Vadym Vikulin added a comment -

            There were no resolution about fix version. Reopened.

            vikulin Vadym Vikulin added a comment - There were no resolution about fix version. Reopened.
            vikulin Vadym Vikulin added a comment -

            No fix version.

            vikulin Vadym Vikulin added a comment - No fix version.
            vikulin Vadym Vikulin made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            slide_o_mix Alex Earl added a comment -

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

            slide_o_mix Alex Earl added a comment - Not going to look at this anymore. File a new issue or don't get help. 
            slide_o_mix Alex Earl made changes -
            Assignee Alex Earl [ slide_o_mix ]
            vikulin Vadym Vikulin added a comment -

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

            vikulin Vadym Vikulin added a comment - slide_o_mix , I asked you fix version but you have just ran away.
            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 )
            slide_o_mix Alex Earl made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Closed [ 6 ]
            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

            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

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

              Dates

                Created:
                Updated:
                Resolved: