org.gradle.BuildExceptionReporter

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 41#21727981
    via GitHub by thejuan
    ,
  • "apply plugin: 'clover'" failing
    via GitHub by jimsimon
    ,
  • Problem - When the Artifactory Gradle Plugin checkbox is unchecked, Jenkins is to use the Jenkins Artifactory plugin to generate the buildinfo. This causes the matrix build to fail. To Reproduce the problem - Jenkins 1.596 or above Jenkins Artifactory Plugin - 2.4.6 Gradle Artifactory Plugin - 4.0 Create a Jenkins Multi-configuration project Use gradle-examples/4/gradle-example project from github/JFrogDev - the artifactoryPublish.skip = true Uncheck the Artifactory Gradle Plugin in the Jenkins Artifactory Plug In Do the matrix bulid. Expected Result - build should succeed. Actual Result - same as reported by customer - snippets from the logs 17:50:06.883 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. 17:50:06.883 [ERROR] [org.gradle.BuildExceptionReporter] 17:50:06.883 [ERROR] [org.gradle.BuildExceptionReporter] * Where: 17:50:06.884 [ERROR] [org.gradle.BuildExceptionReporter] Build file '/var/jenkins_home/jobs/gradle_matrix/workspace/PLAT/linux/gradle-example/build.gradle' line: 27 17:50:06.884 [ERROR] [org.gradle.BuildExceptionReporter] 17:50:06.885 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 17:50:06.885 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating root project 'gradle-example'. 17:50:06.886 [ERROR] [org.gradle.BuildExceptionReporter] > Cannot cast object 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention@b29a18a' with class 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention' to class 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention' 17:50:06.887 [ERROR] [org.gradle.BuildExceptionReporter] 17:50:06.887 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is: 17:50:06.888 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'gradle-example'. 17:50:06.896 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54) 17:50:06.897 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:187) 17:50:06.897 [ERROR] [org.gradle.BuildExceptionReporter] at
    via by Stanley Fong,
  • Gradle failure in v0.17.2
    via GitHub by jpstotz
    ,
  • NPE in baseline-config on 0.7.0
    via GitHub by robert3005
    ,
    • org.gradle.BuildExceptionReporter at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:148)
    No Bugmate found.