On 28/01/2013, at 9:05 PM, Guillaume Laforge wrote:

> 
> On Mon, Jan 28, 2013 at 10:59 AM, Luke Daley <[email protected]> wrote:
> 
> On 28/01/2013, at 7:56, Guillaume Laforge <[email protected]> wrote:
> 
>> Hi guys,
>> 
>> The Groovy project is using Codehaus' Bamboo to build its sources.
>> And perhaps because of some disk issue (but I don't know more yet for now), 
>> the Groovy builds are failing with the following message:
>> 
>> 28-Jan-2013 01:44:14 FAILURE: Build failed with an exception.
>> 28-Jan-2013 01:44:14 
>> 28-Jan-2013 01:44:14 * What went wrong:
>> 28-Jan-2013 01:44:14 Could not read cache value from 
>> '/home/j2ee-bamboo/.gradle/daemon/1.0-rc-3/registry.bin'.
>> 28-Jan-2013 01:44:14 
>> 28-Jan-2013 01:44:14 * Try:
>> 28-Jan-2013 01:44:14 Run with --stacktrace option to get the stack trace. 
>> Run with --info or --debug option to get more log output.
>> 
>> Is this something you've ever encountered?
>> Any remedy you might think of?
> 
> Hard to say without seeing the full exception trace.
> 
> Unfortunately that's all I had.
> 
> Somehow, the registry.bin file was zero-length for some reason (probably some 
> disk space issue Ben told me).
> By nuking it, the builds started working again.
> 
> It might be interesting to add some checks perhaps at the Gradle level in 
> case some needed files like that registry.bin file are not corrupt or 
> something.

Definitely. We started doing this some time around the 1.2 or 1.3 release (I 
can't remember exactly which one), plus a bunch of other stability fixes in 
this area.


--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com

Reply via email to