[GRADLE-1100] gradle -t is looking for String.isEmpty()Z Created: 09/Aug/10  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: 0.9
Fix Version/s: 0.9-rc-2

Type: Bug
Reporter: Robert Fischer Assignee: Adam Murdoch
Resolution: Fixed Votes: 0

Attachments: File build.gradle    

 Description   

plenary-indulgence:gradle-plugins robert$ gradle -S -t
:report

------------------------------------------------------------
Root Project
------------------------------------------------------------

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/robert/wkdir/gradle-plugins/build.gradle'
  • What went wrong:
    Execution failed for task ':report'.
    Cause: java.lang.String.isEmpty()Z
  • Exception is:
    org.gradle.api.tasks.LocationAwareTaskExecutionException: Build file '/Users/robert/wkdir/gradle-plugins/build.gradle'
    Execution failed for task ':report'.
    at org.gradle.api.internal.tasks.DefaultTaskExecuter.executeActions(DefaultTaskExecuter.java:63)
    at org.gradle.api.internal.tasks.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:41)
    at org.gradle.api.internal.project.taskfactory.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:32)
    at org.gradle.api.internal.project.taskfactory.ExecutionShortCircuitTaskExecuter.execute(ExecutionShortCircuitTaskExecuter.java:50)
    at org.gradle.api.internal.tasks.SkipTaskExecuter.doExecute(SkipTaskExecuter.java:57)
    at org.gradle.api.internal.tasks.SkipTaskExecuter.execute(SkipTaskExecuter.java:35)
    at org.gradle.api.internal.tasks.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:32)
    at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:231)
    at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167)
    at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160)
    at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78)
    at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:87)
    at org.gradle.execution.BuiltInTaskBuildExecuter.execute(BuiltInTaskBuildExecuter.java:73)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:153)
    at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:107)
    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:75)
    at org.gradle.launcher.Main.execute(Main.java:93)
    at org.gradle.launcher.Main.main(Main.java:42)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.gradle.launcher.GradleMain.main(GradleMain.java:49)
    Caused by: java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
    at org.gradle.util.GUtil$2.compare(GUtil.java:146)
    at org.gradle.util.GUtil$2.compare(GUtil.java:143)
    at java.util.TreeMap.compare(TreeMap.java:1093)
    at java.util.TreeMap.getEntry(TreeMap.java:347)
    at java.util.TreeMap.get(TreeMap.java:265)
    at com.google.common.collect.AbstractMultimap.getOrCreateCollection(AbstractMultimap.java:205)
    at com.google.common.collect.AbstractMultimap.put(AbstractMultimap.java:194)
    at com.google.common.collect.AbstractSetMultimap.put(AbstractSetMultimap.java:80)
    at com.google.common.collect.TreeMultimap.put(TreeMultimap.java:70)
    at org.gradle.api.tasks.diagnostics.TaskReportModel.calculate(TaskReportModel.java:66)
    at org.gradle.api.tasks.diagnostics.TaskReportTask.generate(TaskReportTask.java:52)
    at org.gradle.api.tasks.diagnostics.AbstractReportTask.generate(AbstractReportTask.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
    at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158)
    at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93)
    at org.gradle.api.tasks.diagnostics.TaskReportTask_Decorated.invokeMethod(Unknown Source)
    at groovy.lang.GroovyObject$invokeMethod$0.call(Unknown Source)
    at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:131)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129)
    at org.gradle.api.internal.tasks.DefaultTaskExecuter.executeActions(DefaultTaskExecuter.java:55)
    ... 22 common frames omitted

BUILD FAILED

Total time: 3.677 secs


Generated at Wed Jun 30 11:46:53 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.