[GRADLE-2904] Build fails with: "Corrupted IndexBlock 619" Created: 30/Sep/13  Updated: 30/Sep/13  Resolved: 30/Sep/13

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Gradle Forums Assignee: Unassigned
Resolution: Duplicate Votes: 0


 Description   

Testing out Gradle (and Groovy). When I do a "gradle clean build" it fails, encouraging me to submit a report here

Root cause seems to be:
"Caused by: org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 6198 found in cache '/Users/stoyle/projects/repos/km-groovy-testing/.gradle/1.8/taskArtifacts/outputFileStates.bin'."

All details, gradle build file, groovy test file and build output can be found here:
[1]https://gist.github.com/stoyle/a3507c...

On MacOSX 10.8.5, Gradle 1.8, Groovy 2.1.7. Testing with IntelliJ 12.1.4.

All I did was to paste some code into the Greet.groovy file, and rename the Greet class to Greet1, since the Groovy compiler complained.

Workaround was to remove the .gradle folder.

Cheers,
Alf
----------------------------------------------------------------------------------------
[1] https://gist.github.com/stoyle/a3507c90bc2c51b420b5



 Comments   
Comment by Peter Niederwieser [ 30/Sep/13 ]

duplicate of GRADLE-2905

Generated at Wed Jun 30 12:34:36 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.