[jira] [Commented] (S4-18) gradle test fails

2011-10-30 Thread Karthik Kambatla (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/S4-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139775#comment-13139775
 ] 

Karthik Kambatla commented on S4-18:


Fixed - Solution: Don't install gradle by 'apt-get install gradle'

As suggested by Leo and Matthieu, I have installed gradle on the Ubuntu machine 
by downloading 
http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-5-all.zip. 
Now, the gradle test works fine.

Thanks.

> 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




[jira] [Commented] (S4-18) gradle test fails

2011-10-29 Thread Matthieu Morel (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/S4-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139374#comment-13139374
 ] 

Matthieu Morel commented on S4-18:
--

Leo's suggestion (from the dev mailing list):

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.

> 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




Re: [jira] [Commented] (S4-18) gradle test fails

2011-10-29 Thread Matthieu Morel

On Sat Oct 29 18:47:01 2011, Leo Neumeyer wrote:

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.



Hi Leo,

You should probably answer directly on the ticket, so that all 
solutions are in a single place. Indeed, the answer to a ticket comment 
on the mailing list doesn't get posted to the ticket. (Maybe there is a 
way to configure that...)


Matthieu  



Re: [jira] [Commented] (S4-18) gradle test fails

2011-10-29 Thread Leo Neumeyer
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)
 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)


[jira] [Commented] (S4-18) gradle test fails

2011-10-29 Thread Matthieu Morel (Commented) (JIRA)

[ 
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




[jira] [Commented] (S4-18) gradle test fails

2011-10-28 Thread Matthieu Morel (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/S4-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138584#comment-13138584
 ] 

Matthieu Morel commented on S4-18:
--

Can you add the corresponding log in debug + stracktrace mode? 
That will help track down the issue.

> 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




[jira] [Commented] (S4-18) gradle test fails

2011-10-27 Thread Karthik Kambatla (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/S4-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137813#comment-13137813
 ] 

Karthik Kambatla commented on S4-18:


I also tried running gradle test from within subprojects/s4-comm. 
Interestingly, it fails reporting the same error, but only after running all 
the tests. I doubt if it has to do with permissions to write the report.


kkambatl@keka:~/code/s4-piper/subprojects/s4-comm$ gradle clean test
:s4-comm:clean
:s4-base:compileJava UP-TO-DATE
:s4-base:processResources UP-TO-DATE
:s4-base:classes UP-TO-DATE
:s4-base:jar
:s4-comm:compileJava
:s4-comm:processResources
:s4-comm:classes
:s4-comm:compileTestJava
:s4-comm:processTestResources
:s4-comm:testClasses
:s4-comm:test

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':s4-comm:test'.
Cause: Could not generate test report to 
'/home/kkambatl/code/s4-piper/subprojects/s4-comm/build/reports/tests'.
Cause: java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED


> 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