On 7/08/10 2:25 AM, Ben Jansen wrote:
Hello,

I have set up a gradle build for a small java project. The build task executes
successfully on some workstations, but on others it fails with the following
error:

ERROR org.gradle.api.tasks.testing.Test - Test process 'Gradle Worker 1' FAILED:
org.gradle.messaging.remote.internal.PlaceholderException:
org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could not
complete execution for test process 'Gradle Worker 1'.

This exception indicates that some kind of unexpected internal exception has happened in the test execution code. You're supposed to get a stack trace at this point, so we can figure out what's gone wrong. However, the exception reporting is broken, which means we're losing the real exception. I've fixed the reporting in trunk.

We still have to fix the actual failure. You can see the details of the exception by adding something like this to your build script:

test {
    afterSuite { suite, result ->
        result.exception?.printStackTrace()
    }
}

(or you could run your build with trunk to see the stack trace)

Could you run this and send in the stack trace?


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz


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

   http://xircles.codehaus.org/manage_email


Reply via email to