On 16/11/2011, at 4:25 PM, jean-philippe robichaud wrote:

> (sent by mistake to [email protected], sorry about that)
> 
> Hi, 
> 
> I just made the switch from the milestone 3 to milestone 5 version.  while 
> many things are much better (like finding task dependencies, very good!) I 
> hit this issue:
> 
> if I invoke "gradle abc" in the root directory of my project and then, from a 
> different terminal while the abc task still runs,  "gradle def" again in the 
> root directory, then the 2nd invocation dies very quickly with:
> ------------
>  $gradle -Pdestdir=scratch/qa_1115_4 -x validate publish --info
> Starting Build
> 
> FAILURE: Build failed with an exception.
> 
> * What went wrong:
> Could not open cache directory 
> /home/user/.gradle/caches/1.0-milestone-5/scripts/settings_2buct5j0a42gabdlsv4sp5rjsf/SettingsScript/buildscript.
> Cause: java.lang.NullPointerException (no error message)
> 
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --debug option 
> to get more log output.

Can you run with --stacktrace and send in the stack trace?


> 
> BUILD FAILED
> 
> Total time: 1 mins 1.512 secs
> ------------
> 
> As soon as abc is done, this def task starts without problem. 
> 
> Is there something special I would need to do to make this issue go away?  I 
> didn't had that with 1m3...
> 
> Thanks!
> 
> Jp
> 


--
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