Skip to content

Instantly share code, notes, and snippets.

View mathiasbn's full-sized avatar

Mathias Birkkjær Nielsen mathiasbn

View GitHub Profile
@mathiasbn
mathiasbn / gist:a4584d28692f09723291
Created January 12, 2015 11:59
From a '--stacktrace' build
* What went wrong:
Could not add entry 'C:\Projects\[REFERRED-PROJECT]\path\to\SomeFile.class' to cache fileHashes.bin (C:\Projects\[REFERRED-PROJECT]\.gradle\2.2.1\taskArtifacts\fileHashes.bin).
> Corrupted DataBlock 26504 found in cache 'C:\Projects\[REFERRED-PROJECT]\.gradle\2.2.1\taskArtifacts\fileHashes.bin'.
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.UncheckedIOException: Could not add entry 'C:\Projects\[REFERRED-PROJECT]\path\to\SomeFile.class' to cache fileHashes.bin (C:\Projects\[REFERRED-PROJECT]\.gradle\2.2.1\taskArtifacts\fileHashes.bin).
at org.gradle.cache.internal.btree.BTreePersistentIndexedCache.put(BTreePersistentIndexedCache.java:156)
@mathiasbn
mathiasbn / Build af Corrupted DataBlock
Last active August 29, 2015 14:09
Error during parallel build using Gradle 2.1 on Windows. Then the following build gave a ConcurrentModificationException
FAILURE: Build failed with an exception.
* What went wrong:
java.util.ConcurrentModificationException (no error message)
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
java.util.ConcurrentModificationException