On 6/02/10 11:20 AM, RenŽé Gröschke wrote:
Hi,
This evening I tested this snapshot too. I detected huge problems with my junit tests. After some tests run, my gradle build hangs up without error message. I have to stop the build via ctrl+c. furthermore a java process which is a running test I think is still listed in my process list. Sometimes, I noticed the following error message between my testresuls:

[ant:junit] Exception in thread "pool-1-thread-1" java.lang.IllegalStateException: Connection is in unexpected state AwaitIncomingEndOfStream. [ant:junit] at org.gradle.messaging.dispatch.DeferredConnection.dispatch(DeferredConnection.java:169) [ant:junit] at org.gradle.messaging.dispatch.DeferredConnection.dispatch(DeferredConnection.java:29) [ant:junit] at org.gradle.messaging.dispatch.AsyncDispatch.dispatchMessages(AsyncDispatch.java:194) [ant:junit] at org.gradle.messaging.dispatch.AsyncDispatch.access$200(AsyncDispatch.java:34) [ant:junit] at org.gradle.messaging.dispatch.AsyncDispatch$2.run(AsyncDispatch.java:84) [ant:junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [ant:junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   [ant:junit]     at java.lang.Thread.run(Thread.java:637)


This is odd. Your tests shouldn't have been using the new stuff yet. Do your classes have any dependencies on Gradle classes?

Regardless, the changes I just checked in should fix this problem. Can you try with a new snapshot?


--
Adam Murdoch
Gradle Developer
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to