org.gradle.listener.ListenerNotificationException: Failed to notify build listener.

JFrog JIRA | Evgeny Goldin | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When I run Gradle {{"1.0-milestone-5"}} with TeamCity {{"7.0 EAP (build 20334)"}} and Artifactory plugin {{"2.1.1"}} I get {code} [00:26:22]: org.gradle.listener.ListenerNotificationException: Failed to notify build listener. [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:97) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) [00:26:22]: BUILD FAILED [00:26:22]: Total time: 6.686 secs [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) [00:26:22]: at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:75) [00:26:22]: at $Proxy6.projectsEvaluated(Unknown Source) [00:26:22]: at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [00:26:22]: at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) [00:26:22]: at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:75) [00:26:22]: at $Proxy6.projectsEvaluated(Unknown Source) [00:26:22]: at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142) [00:26:22]: at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) [00:26:22]: at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80) [00:26:22]: at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42) [00:26:22]: at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28) [00:26:22]: at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:32) [00:26:22]: at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:21) [00:26:22]: at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:233) [00:26:22]: at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:217) [00:26:22]: at org.gradle.launcher.Main.doAction(Main.java:48) [00:26:22]: at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:53) [00:26:22]: at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:51) [00:26:22]: at org.gradle.launcher.exec.Execution.execute(Execution.java:28) [00:26:22]: at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:39) [00:26:22]: at org.gradle.launcher.Main.main(Main.java:39) [00:26:22]: at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:51) [00:26:22]: at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:33) [00:26:22]: at org.gradle.launcher.GradleMain.main(GradleMain.java:24) [00:26:22]: Caused by: groovy.lang.MissingMethodException: No signature of method: static org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin.injectMatrixParamExistingResolvers() is applicable for argument types: (org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler_Decorated, org.jfrog.build.client.ArtifactoryClientConfiguration$ResolverHandler) values: [[org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository_Decorated@6e1f5438, org.gradle.api.internal.artifacts.repositories.FixedResolverArtifactRepository@4ad26103, org.gradle.api.internal.artifacts.repositories.FixedResolverArtifactRepository@39df3255], org.jfrog.build.client.ArtifactoryClientConfiguration$ResolverHandler@6c618821] [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.methodMissing(ArtifactoryPlugin.groovy) [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.defineResolvers(ArtifactoryPlugin.groovy:103) [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.this$3$defineResolvers(ArtifactoryPlugin.groovy) [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$_ProjectEvaluatedBuildListener_projectsEvaluated_closure1.doCall(ArtifactoryPlugin.groovy:76) [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.projectsEvaluated(ArtifactoryPlugin.groovy:75) [00:26:22]: at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [00:26:22]: at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) [00:26:22]: ... 29 more {code}

    JFrog JIRA | 5 years ago | Evgeny Goldin
    org.gradle.listener.ListenerNotificationException: Failed to notify build listener.
  2. 0

    When I run Gradle {{"1.0-milestone-5"}} with TeamCity {{"7.0 EAP (build 20334)"}} and Artifactory plugin {{"2.1.1"}} I get {code} [00:26:22]: org.gradle.listener.ListenerNotificationException: Failed to notify build listener. [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:97) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) [00:26:22]: BUILD FAILED [00:26:22]: Total time: 6.686 secs [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) [00:26:22]: at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:75) [00:26:22]: at $Proxy6.projectsEvaluated(Unknown Source) [00:26:22]: at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [00:26:22]: at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) [00:26:22]: at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:75) [00:26:22]: at $Proxy6.projectsEvaluated(Unknown Source) [00:26:22]: at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142) [00:26:22]: at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) [00:26:22]: at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80) [00:26:22]: at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42) [00:26:22]: at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28) [00:26:22]: at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:32) [00:26:22]: at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:21) [00:26:22]: at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:233) [00:26:22]: at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:217) [00:26:22]: at org.gradle.launcher.Main.doAction(Main.java:48) [00:26:22]: at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:53) [00:26:22]: at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:51) [00:26:22]: at org.gradle.launcher.exec.Execution.execute(Execution.java:28) [00:26:22]: at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:39) [00:26:22]: at org.gradle.launcher.Main.main(Main.java:39) [00:26:22]: at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:51) [00:26:22]: at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:33) [00:26:22]: at org.gradle.launcher.GradleMain.main(GradleMain.java:24) [00:26:22]: Caused by: groovy.lang.MissingMethodException: No signature of method: static org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin.injectMatrixParamExistingResolvers() is applicable for argument types: (org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler_Decorated, org.jfrog.build.client.ArtifactoryClientConfiguration$ResolverHandler) values: [[org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository_Decorated@6e1f5438, org.gradle.api.internal.artifacts.repositories.FixedResolverArtifactRepository@4ad26103, org.gradle.api.internal.artifacts.repositories.FixedResolverArtifactRepository@39df3255], org.jfrog.build.client.ArtifactoryClientConfiguration$ResolverHandler@6c618821] [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.methodMissing(ArtifactoryPlugin.groovy) [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.defineResolvers(ArtifactoryPlugin.groovy:103) [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.this$3$defineResolvers(ArtifactoryPlugin.groovy) [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$_ProjectEvaluatedBuildListener_projectsEvaluated_closure1.doCall(ArtifactoryPlugin.groovy:76) [00:26:22]: at org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin$ProjectEvaluatedBuildListener.projectsEvaluated(ArtifactoryPlugin.groovy:75) [00:26:22]: at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [00:26:22]: at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [00:26:22]: at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) [00:26:22]: ... 29 more {code}

    JFrog JIRA | 5 years ago | Evgeny Goldin
    org.gradle.listener.ListenerNotificationException: Failed to notify build listener.
  3. 0

    Failed to notify action. Cannot invoke method containers() on null object - Gradle Forums

    gradle.org | 2 years ago
    org.gradle.api.GradleScriptException: A problem occurred evaluating project ':bghw_fav_jadice_web'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.gradle.listener.ListenerNotificationException

      Failed to notify build listener.

      at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch()
    2. Gradle Core
      BroadcastDispatch.dispatch
      1. org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:97)
      2. org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32)
      3. org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88)
      3 frames