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:14FAILURE: 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:14Could
> 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:14Run 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.


> Since it appears to be an old Gradle version, I'm gonna suggest the
> Codehaus admin to install a more recent one.
> Hopefully that'll help.
>
>
> Any reason you aren't using the wrapper?
>

No good reason not to.
We'll definitely have to adapt our builds to use the wrapper.

-- 
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware

Blog: http://glaforge.appspot.com/
Social: @glaforge <http://twitter.com/glaforge> /
Google+<https://plus.google.com/u/0/114130972232398734985/posts>

Reply via email to