• Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Jenkins 2.55,2.56,2.57, email ext plugin 2.57.2

      {code}

      27-Apr-2017 09:49:21.464 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:475)
      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:464)
      at hudson.model.User.getById(User.java:535)
      at hudson.model.User.get(User.java:519)
      at hudson.model.User.current(User.java:503)
      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:475)
      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:1544)
      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:1088)
      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)

      {code}

          [JENKINS-43885] Email-ext plugin throws dependency error

          Chanda Unmack added a comment -

          still seeing this on Jenkins 2.107.2 and email-ext 2.62

          Chanda Unmack added a comment - still seeing this on Jenkins 2.107.2 and email-ext 2.62

          I tracked this to changes in CopyArtifact plugin, it may have nothing to do with email-ext but more related to the recently changed CopyArtifact. At least that is what my initial investigation is leading me to. I will downgrade CopyArtifact to 1.40 or 1.39.1 to verify this.

          Alexander Volanis added a comment - I tracked this to changes in CopyArtifact plugin, it may have nothing to do with email-ext but more related to the recently changed CopyArtifact. At least that is what my initial investigation is leading me to. I will downgrade CopyArtifact to 1.40 or 1.39.1 to verify this.

          Andrei Petcu added a comment -

          Seeing this on Jenkins ver. 2.136. This is my list of plugins. Please share yours if you have this issue:

           

          Amazon Web Services SDK 1.11.341
          AnsiColor 0.5.2
          Ant Plugin 1.8
          Apache HttpComponents Client 4.x API Plugin 4.5.5-3.0
          Authentication Tokens API Plugin 1.3
          Autofavorite for Blue Ocean 1.2.2
          Bitbucket Branch Source Plugin 2.2.12
          Bitbucket Build Status Notifier Plugin 1.4.0
          Bitbucket Pipeline for Blue Ocean 1.7.2
          Bitbucket Plugin 1.1.8
          Blue Ocean 1.7.2
          Blue Ocean Core JS 1.7.2
          Blue Ocean Pipeline Editor 1.7.2
          bouncycastle API Plugin 2.16.3
          Branch API Plugin 2.0.20
          Build Failure Analyzer 1.20.0
          Build Timeout 1.19
          Claim Plugin 2.15
          CloudBees Amazon Web Services Credentials Plugin 1.23
          Cobertura Plugin 1.12.1
          Command Agent Launcher Plugin 1.2
          Common API for Blue Ocean 1.7.2
          Conditional BuildStep 1.3.6
          Config API for Blue Ocean 1.7.2
          Config File Provider Plugin 2.18
          Configuration Slicing plugin 1.47
          Credentials Binding Plugin 1.16
          Credentials Plugin 2.1.18
          Dashboard for Blue Ocean 1.7.2
          Dashboard View 2.9.11
          Design Language 1.7.2
          Display URL API 2.2.0
          Display URL for Blue Ocean 2.2.0
          Docker Commons Plugin 1.13
          Docker Pipeline 1.17
          Durable Task Plugin 1.24
          EC2 Fleet Jenkins Plugin 1.1.8-SNAPSHOT (private-b9f3f4cb-cyrilb)
          Email Extension Plugin 2.63
          Events API for Blue Ocean 1.7.2
          External Monitor Job Type Plugin 1.7
          Favorite 2.3.2
          Folders Plugin 6.5.1
          Git client plugin 2.7.3
          Git Pipeline for Blue Ocean 1.7.2
          Git plugin 3.9.1
          GIT server Plugin 1.7
          GitHub API Plugin 1.92
          GitHub Branch Source Plugin 2.3.6
          GitHub Pipeline for Blue Ocean 1.7.2
          GitHub plugin 1.29.2
          Gradle Plugin 1.29
          Green Balls 1.15
          Handy Uri Templates 2.x API Plugin 2.1.6-1.0
          HipChat Plugin 2.1.1
          HTML Publisher plugin 1.16
          i18n for Blue Ocean 1.7.2
          Icon Shim Plugin 2.0.3
          Jackson 2 API Plugin 2.8.11.3
          Javadoc Plugin 1.4
          JavaScript GUI Lib: ACE Editor bundle plugin 1.1
          JavaScript GUI Lib: Handlebars bundle plugin 1.1.1
          JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin 1.2.1
          JavaScript GUI Lib: Moment.js bundle plugin 1.1.1
          JDK Tool Plugin 1.1
          JIRA Integration for Blue Ocean 1.7.2
          JIRA plugin 3.0.0
          Job DSL 1.70
          jQuery plugin 1.12.4-0
          JSch dependency plugin 0.1.54.2
          JUnit Plugin 1.24
          JWT for Blue Ocean 1.7.2
          LDAP Plugin 1.20
          Lockable Resources plugin 2.3
          Mailer Plugin 1.21
          MapDB API Plugin 1.0.9.0
          Matrix Authorization Strategy Plugin 2.3
          Matrix Project Plugin 1.13
          Maven Integration plugin 3.1.2
          Maven Release Plug-in Plug-in 0.14.0
          Mercurial plugin 2.4
          Metrics Plugin 4.0.2.2
          Multiple SCMs plugin 0.6
          Naginator 1.17.2
          Node Iterator API Plugin 1.5.0
          OWASP Dependency-Check Plugin 3.3.1
          OWASP Markup Formatter Plugin 1.5
          PAM Authentication plugin 1.3
          Parameterized Trigger plugin 2.35.2
          Personalization for Blue Ocean 1.7.2
          Pipeline 2.5
          Pipeline Graph Analysis Plugin 1.7
          Pipeline implementation for Blue Ocean 1.7.2
          Pipeline Maven Integration Plugin 3.5.11
          Pipeline NPM Integration Plugin 0.9.2
          Pipeline SCM API for Blue Ocean 1.7.2
          Pipeline Utility Steps 2.1.0
          Pipeline: API 2.29
          Pipeline: Basic Steps 2.9
          Pipeline: Build Step 2.7
          Pipeline: Declarative 1.3.1
          Pipeline: Declarative Agent API 1.1.1
          Pipeline: Declarative Extension Points API 1.3.1
          Pipeline: Groovy 2.54
          Pipeline: Input Step 2.8
          Pipeline: Job 2.24
          Pipeline: Milestone Step 1.3.1
          Pipeline: Model API 1.3.1
          Pipeline: Multibranch 2.20
          Pipeline: Nodes and Processes 2.20
          Pipeline: REST API Plugin 2.10
          Pipeline: SCM Step 2.6
          Pipeline: Shared Groovy Libraries 2.9
          Pipeline: Stage Step 2.3
          Pipeline: Stage Tags Metadata 1.3.1
          Pipeline: Stage View Plugin 2.10
          Pipeline: Step API 2.16
          Pipeline: Supporting APIs 2.20
          Plain Credentials Plugin 1.4
          Pub-Sub "light" Bus 1.12
          Release Plugin 2.10.1
          REST API for Blue Ocean 1.7.2
          REST Implementation for Blue Ocean 1.7.2
          Run Condition Plugin 1.0
          SCM API Plugin 2.2.7
          Script Security Plugin 1.44
          Server Sent Events (SSE) Gateway Plugin 1.15
          SonarQube Scanner for Jenkins 2.8
          SSH Agent Plugin 1.16
          SSH Credentials Plugin 1.14
          SSH Slaves plugin 1.26
          Static Analysis Utilities 1.95
          Structs Plugin 1.14
          Subversion Plug-in 2.11.1
          Test stability history 2.3
          Token Macro Plugin 2.5
          user build vars plugin 1.5
          Variant Plugin 1.1
          Warnings Plug-in 4.68
          Web for Blue Ocean 1.7.2
          Windows Slaves Plugin 1.3.1

          Andrei Petcu added a comment - Seeing this on Jenkins ver. 2.136. This is my list of plugins. Please share yours if you have this issue:   Amazon Web Services SDK 1.11.341 AnsiColor 0.5.2 Ant Plugin 1.8 Apache HttpComponents Client 4.x API Plugin 4.5.5-3.0 Authentication Tokens API Plugin 1.3 Autofavorite for Blue Ocean 1.2.2 Bitbucket Branch Source Plugin 2.2.12 Bitbucket Build Status Notifier Plugin 1.4.0 Bitbucket Pipeline for Blue Ocean 1.7.2 Bitbucket Plugin 1.1.8 Blue Ocean 1.7.2 Blue Ocean Core JS 1.7.2 Blue Ocean Pipeline Editor 1.7.2 bouncycastle API Plugin 2.16.3 Branch API Plugin 2.0.20 Build Failure Analyzer 1.20.0 Build Timeout 1.19 Claim Plugin 2.15 CloudBees Amazon Web Services Credentials Plugin 1.23 Cobertura Plugin 1.12.1 Command Agent Launcher Plugin 1.2 Common API for Blue Ocean 1.7.2 Conditional BuildStep 1.3.6 Config API for Blue Ocean 1.7.2 Config File Provider Plugin 2.18 Configuration Slicing plugin 1.47 Credentials Binding Plugin 1.16 Credentials Plugin 2.1.18 Dashboard for Blue Ocean 1.7.2 Dashboard View 2.9.11 Design Language 1.7.2 Display URL API 2.2.0 Display URL for Blue Ocean 2.2.0 Docker Commons Plugin 1.13 Docker Pipeline 1.17 Durable Task Plugin 1.24 EC2 Fleet Jenkins Plugin 1.1.8-SNAPSHOT (private-b9f3f4cb-cyrilb) Email Extension Plugin 2.63 Events API for Blue Ocean 1.7.2 External Monitor Job Type Plugin 1.7 Favorite 2.3.2 Folders Plugin 6.5.1 Git client plugin 2.7.3 Git Pipeline for Blue Ocean 1.7.2 Git plugin 3.9.1 GIT server Plugin 1.7 GitHub API Plugin 1.92 GitHub Branch Source Plugin 2.3.6 GitHub Pipeline for Blue Ocean 1.7.2 GitHub plugin 1.29.2 Gradle Plugin 1.29 Green Balls 1.15 Handy Uri Templates 2.x API Plugin 2.1.6-1.0 HipChat Plugin 2.1.1 HTML Publisher plugin 1.16 i18n for Blue Ocean 1.7.2 Icon Shim Plugin 2.0.3 Jackson 2 API Plugin 2.8.11.3 Javadoc Plugin 1.4 JavaScript GUI Lib: ACE Editor bundle plugin 1.1 JavaScript GUI Lib: Handlebars bundle plugin 1.1.1 JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin 1.2.1 JavaScript GUI Lib: Moment.js bundle plugin 1.1.1 JDK Tool Plugin 1.1 JIRA Integration for Blue Ocean 1.7.2 JIRA plugin 3.0.0 Job DSL 1.70 jQuery plugin 1.12.4-0 JSch dependency plugin 0.1.54.2 JUnit Plugin 1.24 JWT for Blue Ocean 1.7.2 LDAP Plugin 1.20 Lockable Resources plugin 2.3 Mailer Plugin 1.21 MapDB API Plugin 1.0.9.0 Matrix Authorization Strategy Plugin 2.3 Matrix Project Plugin 1.13 Maven Integration plugin 3.1.2 Maven Release Plug-in Plug-in 0.14.0 Mercurial plugin 2.4 Metrics Plugin 4.0.2.2 Multiple SCMs plugin 0.6 Naginator 1.17.2 Node Iterator API Plugin 1.5.0 OWASP Dependency-Check Plugin 3.3.1 OWASP Markup Formatter Plugin 1.5 PAM Authentication plugin 1.3 Parameterized Trigger plugin 2.35.2 Personalization for Blue Ocean 1.7.2 Pipeline 2.5 Pipeline Graph Analysis Plugin 1.7 Pipeline implementation for Blue Ocean 1.7.2 Pipeline Maven Integration Plugin 3.5.11 Pipeline NPM Integration Plugin 0.9.2 Pipeline SCM API for Blue Ocean 1.7.2 Pipeline Utility Steps 2.1.0 Pipeline: API 2.29 Pipeline: Basic Steps 2.9 Pipeline: Build Step 2.7 Pipeline: Declarative 1.3.1 Pipeline: Declarative Agent API 1.1.1 Pipeline: Declarative Extension Points API 1.3.1 Pipeline: Groovy 2.54 Pipeline: Input Step 2.8 Pipeline: Job 2.24 Pipeline: Milestone Step 1.3.1 Pipeline: Model API 1.3.1 Pipeline: Multibranch 2.20 Pipeline: Nodes and Processes 2.20 Pipeline: REST API Plugin 2.10 Pipeline: SCM Step 2.6 Pipeline: Shared Groovy Libraries 2.9 Pipeline: Stage Step 2.3 Pipeline: Stage Tags Metadata 1.3.1 Pipeline: Stage View Plugin 2.10 Pipeline: Step API 2.16 Pipeline: Supporting APIs 2.20 Plain Credentials Plugin 1.4 Pub-Sub "light" Bus 1.12 Release Plugin 2.10.1 REST API for Blue Ocean 1.7.2 REST Implementation for Blue Ocean 1.7.2 Run Condition Plugin 1.0 SCM API Plugin 2.2.7 Script Security Plugin 1.44 Server Sent Events (SSE) Gateway Plugin 1.15 SonarQube Scanner for Jenkins 2.8 SSH Agent Plugin 1.16 SSH Credentials Plugin 1.14 SSH Slaves plugin 1.26 Static Analysis Utilities 1.95 Structs Plugin 1.14 Subversion Plug-in 2.11.1 Test stability history 2.3 Token Macro Plugin 2.5 user build vars plugin 1.5 Variant Plugin 1.1 Warnings Plug-in 4.68 Web for Blue Ocean 1.7.2 Windows Slaves Plugin 1.3.1

          Andrei Petcu added a comment -

          My stack trace is slighty different

          Aug 08, 2018 10:29:30 AM 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:432)
          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:394)
          at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:385)
          at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:493)
          at hudson.ExtensionList.load(ExtensionList.java:380)
          at hudson.ExtensionList.ensureLoaded(ExtensionList.java:318)
          at hudson.ExtensionList.getComponents(ExtensionList.java:183)
          at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:192)
          at hudson.ExtensionList.ensureLoaded(ExtensionList.java:318)
          at hudson.ExtensionList.iterator(ExtensionList.java:172)
          at hudson.model.User.load(User.java:207)
          at hudson.model.User.<init>(User.java:161)
          at hudson.model.User.getOrCreate(User.java:532)
          at hudson.model.User.getOrCreate(User.java:479)
          at hudson.model.User.getById(User.java:668)
          at hudson.model.User.get(User.java:651)
          at hudson.model.User.current(User.java:635)
          at org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext.withCurrentUser(ApprovalContext.java:72)
          at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.setDefaultPostsendScript(ExtendedEmailPublisherDescriptor.java:575)
          at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.<init>(ExtendedEmailPublisherDescriptor.java:191)
          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:432)
          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:394)
          at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:385)
          at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:493)
          at hudson.ExtensionList.load(ExtensionList.java:380)
          at hudson.ExtensionList.ensureLoaded(ExtensionList.java:318)
          at hudson.ExtensionList.iterator(ExtensionList.java:172)
          at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1522)
          at hudson.plugins.git.GitSCM.onLoaded(GitSCM.java:1887)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
          at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
          at jenkins.model.Jenkins$5.runTask(Jenkins.java:1066)
          at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
          at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)

          Andrei Petcu added a comment - My stack trace is slighty different Aug 08, 2018 10:29:30 AM 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:432) 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:394) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:385) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:493) at hudson.ExtensionList.load(ExtensionList.java:380) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:318) at hudson.ExtensionList.getComponents(ExtensionList.java:183) at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:192) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:318) at hudson.ExtensionList.iterator(ExtensionList.java:172) at hudson.model.User.load(User.java:207) at hudson.model.User.<init>(User.java:161) at hudson.model.User.getOrCreate(User.java:532) at hudson.model.User.getOrCreate(User.java:479) at hudson.model.User.getById(User.java:668) at hudson.model.User.get(User.java:651) at hudson.model.User.current(User.java:635) at org.jenkinsci.plugins.scriptsecurity.scripts.ApprovalContext.withCurrentUser(ApprovalContext.java:72) at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.setDefaultPostsendScript(ExtendedEmailPublisherDescriptor.java:575) at hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.<init>(ExtendedEmailPublisherDescriptor.java:191) 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:432) 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:394) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:385) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:493) at hudson.ExtensionList.load(ExtensionList.java:380) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:318) at hudson.ExtensionList.iterator(ExtensionList.java:172) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1522) at hudson.plugins.git.GitSCM.onLoaded(GitSCM.java:1887) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1066) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

          "Tried proxying hudson.plugins.emailext.ExtendedEmailPublisherDescriptor to support a circular dependency, but it is not an interface." is entirely valid this can't be an interface as its a descriptor and the backtrace gives no clues as to why, unless you have a post send script that somehow has a decency on something that in turn depends on email-ext but that seems unlikly

          David van Laatum added a comment - "Tried proxying hudson.plugins.emailext.ExtendedEmailPublisherDescriptor to support a circular dependency, but it is not an interface." is entirely valid this can't be an interface as its a descriptor and the backtrace gives no clues as to why, unless you have a post send script that somehow has a decency on something that in turn depends on email-ext but that seems unlikly

          Andrei Petcu added a comment -

          davidvanlaatum we actually have a presendScript.

          presendScript: """List<String> domainWhiteList = ["@mydomain.com", "@mydomain.nl"]List<String> containsBlackList = ["noreply"]def recipients = msg.getRecipients(javax.mail.Message.RecipientType.TO)def filtered = recipients.findAll { emailAddress -> def emailAddressString = emailAddress.toString() return domainWhiteList.any { domain -> emailAddressString.endsWith(domain) } && !containsBlackList.any { value -> emailAddressString.contains(value) }{color:#6a8759}}
          msg.setRecipients(javax.mail.Message.RecipientType.TO, filtered as javax.mail.Address[])"""

          Andrei Petcu added a comment - davidvanlaatum we actually have a presendScript. presendScript : """ List<String> domainWhiteList = ["@mydomain.com", "@mydomain.nl"] List<String> containsBlackList = ["noreply"] def recipients = msg.getRecipients(javax.mail.Message.RecipientType.TO) def filtered = recipients.findAll { emailAddress -> def emailAddressString = emailAddress.toString() return domainWhiteList.any { domain -> emailAddressString.endsWith(domain) } && !containsBlackList.any { value -> emailAddressString.contains(value) } {color:#6a8759}} msg.setRecipients(javax.mail.Message.RecipientType.TO, filtered as javax.mail.Address[]) """

          does it happen without the presend script?

          David van Laatum added a comment - does it happen without the presend script?

          Alex Earl added a comment -

          Waiting on user input, reopen with requested information.

          Alex Earl added a comment - Waiting on user input, reopen with requested information.

          I have a similar looking Stacktrace with Jenkins 2.190.1, email-ext 2.68.

          We are using the Filter Recipients On White List presend recipe. Without it, I am not getting the stacktrace.

          slide_o_mix: should I attach the stacktrace here, or do you prefer a new issue?

          Stefan Völkel added a comment - I have a similar looking Stacktrace with Jenkins 2.190.1, email-ext 2.68. We are using the Filter Recipients On White List presend recipe. Without it, I am not getting the stacktrace. slide_o_mix : should I attach the stacktrace here, or do you prefer a new issue?

          Alex Earl added a comment -

          A new issue please.

          Alex Earl added a comment - A new issue please.

            slide_o_mix Alex Earl
            vikulin Vadym Vikulin
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: