Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: output()]], as message server is no longer available.


(Etienne Studer) #1

Hi

we just had these exception and could it be that this is the same issue as this one : http://issues.gradle.org/browse/GRADLE-2131

Is there a solution in progress?

Thanks,

Guy

Test onlyGetTaskDefinitionsForUserTaskActivities(com.edorasware.bpm.execution.core.task.TaskDefinitionServiceTest) PASSED
[09:18:41]Test setPriority(com.edorasware.bpm.execution.core.task.TaskServiceTransitionTest) PASSED
[09:18:43]Could not receive message from connection. Discarding connection.
[09:18:43]org.gradle.messaging.remote.internal.MessageIOException: Could not read message from '/0:0:0:0:0:0:0:1:38690'.
[09:18:43]
  at org.gradle.messaging.remote.internal.inet.SocketConnection.receive(SocketConnection.java:83)
[09:18:43]
  at org.gradle.messaging.remote.internal.DelegatingConnection.receive(DelegatingConnection.java:31)
[09:18:43]
  at org.gradle.messaging.remote.internal.MessageHub$EndOfStreamConnection.receive(MessageHub.java:210)
[09:18:43]
  at org.gradle.messaging.remote.internal.MessageHub$EndOfStreamConnection.receive(MessageHub.java:195)
[09:18:43]
  at org.gradle.messaging.remote.internal.AsyncConnectionAdapter$ConnectionReceive.receive(AsyncConnectionAdapter.java:77)
[09:18:43]
  at org.gradle.messaging.dispatch.AsyncReceive.receiveMessages(AsyncReceive.java:142)
[09:18:43]
  at org.gradle.messaging.dispatch.AsyncReceive.access$000(AsyncReceive.java:36)
[09:18:43]
  at org.gradle.messaging.dispatch.AsyncReceive$1.run(AsyncReceive.java:88)
[09:18:43]
  at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66)
[09:18:43]
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[09:18:43]
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[09:18:43]
  at java.lang.Thread.run(Thread.java:662)
[09:18:43]Caused by: java.io.StreamCorruptedException: unexpected block data
[09:18:43]
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
[09:18:43]
  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
[09:18:43]
  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
[09:18:43]
  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
[09:18:43]
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
[09:18:43]
  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
[09:18:43]
  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
[09:18:43]
  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
[09:18:43]
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
[09:18:43]
  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
[09:18:43]
  at org.gradle.messaging.remote.internal.Message$ExceptionPlaceholder.read(Message.java:93)
[09:18:43]
  at org.gradle.messaging.remote.internal.Message$ExceptionReplacingObjectInputStream.resolveObject(Message.java:158)
[09:18:43]
  at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1376)
[09:18:43]
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
[09:18:43]
  at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666)
[09:18:43]
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322)
[09:18:43]
  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
[09:18:43]
  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
[09:18:43]
  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
[09:18:43]
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
[09:18:43]
  at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
[09:18:43]
  at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
[09:18:43]
  at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
[09:18:43]
  at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
[09:18:43]
  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
[09:18:43]
  at org.gradle.messaging.remote.internal.Message.receive(Message.java:38)
[09:18:43]
  at org.gradle.messaging.remote.internal.DefaultMessageSerializer.read(DefaultMessageSerializer.java:31)
[09:18:43]
  at org.gradle.messaging.remote.internal.inet.SocketConnection.receive(SocketConnection.java:78)
[09:18:43]
  ... 11 more
[09:18:44]Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: output()]], as message server is no longer available.
[09:18:44]Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: output()]], as message server is no longer available.
[09:18:44]Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: completed()]], as message server is no longer available.
[09:18:44]Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: started()]], as message server is no longer available.
[09:18:45]Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: output()]], as message server is no longer available.
[09:18:45]Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: output()]], as message server is no longer available.
[09:18:45]Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: output()]], as message server is no longer available.

(kallin.nagelberg) #2

I’m getting this too. First I get

Could not receive message from connection. Discarding connection. … Caused by: java.lang.ClassCastException: cannot assign instance of org.gradle.messaging.remote.internal.PlaceholderException to field java.sql.SQLException.next of type java.sql.SQLException in instance of java.sql.BatchUpdateException

and then an endless stream of

Discarding message [Request consumer: org.gradle.api.internal.tasks.testing.TestResultProcessor, payload: [MethodInvocation method: output()]], as message server is no longer available.