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

GitHub | wilkinsona | 8 months 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

    Publishing build fails due to Artifactory plugin requiring Groovy 2.3

    GitHub | 8 months ago | wilkinsona
    org.gradle.listener.ListenerNotificationException: Failed to notify build listener.

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.codehaus.groovy.runtime.typehandling.ShortTypeHandling

      at org.jfrog.gradle.plugin.artifactory.extractor.listener.ProjectsEvaluatedBuildListener.defineResolvers()
    2. org.jfrog.gradle
      ProjectsEvaluatedBuildListener.projectsEvaluated
      1. org.jfrog.gradle.plugin.artifactory.extractor.listener.ProjectsEvaluatedBuildListener.defineResolvers(ProjectsEvaluatedBuildListener.groovy:46)
      2. org.jfrog.gradle.plugin.artifactory.extractor.listener.ProjectsEvaluatedBuildListener.this$3$defineResolvers(ProjectsEvaluatedBuildListener.groovy)
      3. org.jfrog.gradle.plugin.artifactory.extractor.listener.ProjectsEvaluatedBuildListener$_projectsEvaluated_closure1.doCall(ProjectsEvaluatedBuildListener.groovy:37)
      4. org.jfrog.gradle.plugin.artifactory.extractor.listener.ProjectsEvaluatedBuildListener.projectsEvaluated(ProjectsEvaluatedBuildListener.groovy:35)
      4 frames
    3. Gradle Core
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      2. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      3. org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
      4. org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31)
      5. org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
      6. org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31)
      7. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      7 frames
    4. com.sun.proxy
      $Proxy11.projectsEvaluated
      1. com.sun.proxy.$Proxy11.projectsEvaluated(Unknown Source)
      1 frame
    5. Gradle Core
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      2. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      3. org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
      4. org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31)
      5. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      5 frames
    6. com.sun.proxy
      $Proxy11.projectsEvaluated
      1. com.sun.proxy.$Proxy11.projectsEvaluated(Unknown Source)
      1 frame
    7. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:145)
      2. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
      3. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
      3 frames
    8. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64)
      2. org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
      3. org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
      4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
      6. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
      6 frames
    9. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
      1 frame
    10. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
      3. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
      4. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
      5. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      6. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      7. org.gradle.launcher.Main.doAction(Main.java:46)
      8. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      9. org.gradle.launcher.Main.main(Main.java:37)
      10. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
      11. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
      12. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      12 frames
    11. org.gradle.wrapper
      GradleWrapperMain.main
      1. org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
      2. org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
      3. org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
      3 frames