davemssavage / essence-rmi

Automatically exported from code.google.com/p/essence-rmi
Apache License 2.0
0 stars 0 forks source link

AsynchronousCloseException during tests #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[08-02 13:49:20] INFO  org.freshvanilla.throughput.ThroughputTest: Async 
messages, size 4,096, bandwidth= 29.4 MB/s, rate= 7,517 msg/s
java.lang.reflect.UndeclaredThrowableException
        at org.freshvanilla.throughput.$Proxy8.echo(Unknown Source)
        at org.freshvanilla.throughput.ThroughputTest$BatchingEchoClient.run(ThroughputTest.java:215)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:637)
Caused by: java.nio.channels.AsynchronousCloseException
        at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:341)
        at org.freshvanilla.net.VanillaDataSocket.writeChannel(VanillaDataSocket.java:219)
        at org.freshvanilla.net.VanillaDataSocket.writeFully(VanillaDataSocket.java:195)
        at org.freshvanilla.net.VanillaDataSocket.flush(VanillaDataSocket.java:246)
        at org.freshvanilla.net.BinaryWireFormat.flush(BinaryWireFormat.java:65)
        at org.freshvanilla.rmi.RmiInvocationHandler.invoke(RmiInvocationHandler.java:100)
        ... 8 more
[08-02 13:49:34] WARN  org.freshvanilla.rmi.VanillaRmiServer: echo-service:2: 
Unable to send result=[[B@1fdf2925, [B@74064c7b, [B@49875abf, [B@5556d74f, 
[B@3851af4e, [B@7acc46c4, [B@793a2cd7, [B@5a56156e, [B@49991717, [B@61bb0cc0, 
[B@3f424360, [B@17557412, [B@6b3755b5, [B@7ddc1510, [B@7beb0dfd, [B@4e39c9a, 
[B@7b3e44f7, [B@3521f357, [B@47eef001, [B@17cef68c, [B@149c6d8a, [B@29db8998, 
[B@c266fa0, [B@2f6a779b, [B@76d2796e, [B@742261b3, [B@7d3c6a55, [B@96932af, 
[B@597e83fc, [B@10b434b, [B@a6ef176, [B@79ae7f53, [B@2f29608e, [B@458222d2, 
[B@62bc2ca4, [B@3016f5a0, [B@3357f40a, [B@5356d6db, [B@6a33ee9b, [B@77763895, 
[B@727cfb78, [B@6b61be00, [B@5e012913, [B@1e2fce9c, [B@54a5733f, [B@3a315883, 
[B@7daa1e4d, [B@2bab91af, [B@ce98e8f, [B@398e54e8, [B@2f6868dd, [B@6fbc9d7b, 
[B@48072f8c, [B@4fc2b545, [B@780aedeb, [B@158a1cdf, [B@1e6d7f85, [B@26cf045e, 
[B@6127cb39, [B@7b8f3d03, [B@78eecf54, [B@66dd1d3, [B@13ea76f1, [B@626d26e] as 
client has disconnected java.io.EOFException

After this the test hung

This was running svn revision 15 on OSX 10.6.4 Intel 2.66 GHz i5

Original issue reported on code.google.com by davemssa...@gmail.com on 2 Aug 2010 at 12:53

GoogleCodeExporter commented 9 years ago
Despite the fact that I've never seen this anywhere else (?) and after actually 
looking at the stack trace :-) I won't rule out a race or timing problem, 
possibly in the test case itself. Except for OSX implementation bugs an 
AsynchronousCloseException makes no other sense.

Original comment by holger.h...@googlemail.com on 23 May 2011 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by holger.h...@googlemail.com on 23 May 2011 at 10:19