there is a new version of gradle (milestone-5) but may not be in the unix packages yet. You can also try gradlew which doesn't require having gradle install. SImply use 'gradlew test'. I just added gradlew to the repo.
-leo On Sat, Oct 29, 2011 at 9:31 AM, Matthieu Morel (Commented) (JIRA) <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/S4-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139353#comment-13139353 > ] > > Matthieu Morel commented on S4-18: > ---------------------------------- > > I was able to reproduce the issue on ubuntu when installing gradle through > apt. Even after looking at gradle's source, the cause of the issue is still > unclear to me. But it might be related to something in the apt apt package > itself. > > Indeed, here is a solution that worked for me: instead of installing gradle > through apt, install it by downloading from the gradle website, and changing > paths accordingly. (you should event remove the apt package with "apt-get > remove gradle") > > Please try this out and tell us if that works for you as well! > >> gradle test fails >> ----------------- >> >> Key: S4-18 >> URL: https://issues.apache.org/jira/browse/S4-18 >> Project: Apache S4 >> Issue Type: Bug >> Affects Versions: 0.5 >> Environment: Ubuntu 11.10; gradle version - 1.0-milestone-3, >> installed via 'apt-get install gradle' >> Reporter: Karthik Kambatla >> Labels: gradle, test >> Fix For: 0.5 >> >> Attachments: gradle-test-stacktrace-info.txt >> >> >> gradle test fails with a NullPointerException while executing the >> non-existent tests under s4-base > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators: > https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > -- Leo Neumeyer (@leoneu)