Project

General

Profile

Task #3624 ยป TestAsyncTcpTransport_output.txt

Anonymous, 05/23/2016 11:36 AM

 
$ mvn test -DclassName=TestAsyncTcpTransport
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jndn-examples test
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jndn-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jefft0/work/jndn/examples/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jndn-examples ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 27 source files to /Users/jefft0/work/jndn/examples/target/classes
[WARNING] /Users/jefft0/work/jndn/examples/src/net/named_data/jndn/tests/TestChronoChat.java: /Users/jefft0/work/jndn/examples/src/net/named_data/jndn/tests/TestChronoChat.java uses unchecked or unsafe operations.
[WARNING] /Users/jefft0/work/jndn/examples/src/net/named_data/jndn/tests/TestChronoChat.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jndn-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jefft0/work/jndn/examples/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jndn-examples ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jndn-examples ---
[INFO] No tests to run.
[INFO]
[INFO] >>> exec-maven-plugin:1.1.1:java (default) > validate @ jndn-examples >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.1.1:java (default) < validate @ jndn-examples <<<
[INFO]
[INFO] --- exec-maven-plugin:1.1.1:java (default) @ jndn-examples ---
May 23, 2016 11:28:10 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:11 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:11 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: received:ping
May 23, 2016 11:28:12 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: received:ping
May 23, 2016 11:28:12 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: exit received
May 23, 2016 11:28:13 AM net.named_data.jndn.transport.AsyncTcpTransport$1 failed
SEVERE: Failed to read from transport
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:508)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:13 AM net.named_data.jndn.transport.AsyncTcpTransport scheduleReconnect
INFO: Scheduled to reconnect in 5000ms
May 23, 2016 11:28:14 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:15 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:16 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:17 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:18 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:19 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:19 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: received:ping1
May 23, 2016 11:28:20 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:20 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: exit received
May 23, 2016 11:28:22 AM net.named_data.jndn.transport.AsyncTcpTransport$1 failed
SEVERE: Failed to read from transport
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:508)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:22 AM net.named_data.jndn.transport.AsyncTcpTransport scheduleReconnect
INFO: Scheduled to reconnect in 5000ms
May 23, 2016 11:28:23 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:24 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:25 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:26 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

[WARNING] an additional exception was thrown
java.nio.channels.ShutdownChannelGroupException
at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:222)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishConnect(UnixAsynchronousSocketChannelImpl.java:280)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:198)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
at sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:301)
at java.lang.Thread.run(Thread.java:745)
May 23, 2016 11:28:27 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:28 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:28 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: received:ping3
May 23, 2016 11:28:28 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: exit received
May 23, 2016 11:28:29 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:32 AM net.named_data.jndn.transport.AsyncTcpTransport$1 failed
SEVERE: Failed to read from transport
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:508)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:32 AM net.named_data.jndn.transport.AsyncTcpTransport scheduleReconnect
INFO: Scheduled to reconnect in 5000ms
May 23, 2016 11:28:33 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:34 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:35 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:36 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:37 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: received:ping4
May 23, 2016 11:28:38 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:38 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: exit received
May 23, 2016 11:28:39 AM net.named_data.jndn.transport.AsyncTcpTransport$1 failed
SEVERE: Failed to read from transport
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:508)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:39 AM net.named_data.jndn.transport.AsyncTcpTransport scheduleReconnect
INFO: Scheduled to reconnect in 5000ms
May 23, 2016 11:28:40 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:41 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:42 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:43 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

[WARNING] an additional exception was thrown
java.nio.channels.ShutdownChannelGroupException
at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:222)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishConnect(UnixAsynchronousSocketChannelImpl.java:280)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:198)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
at sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:301)
at java.lang.Thread.run(Thread.java:745)
May 23, 2016 11:28:44 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:44 AM net.named_data.jndn.tests.TestAsyncTcpTransport stopMockNfd
WARNING: null
java.io.IOException: Cannot send because the socket is not open. Use connect.
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:367)
at net.named_data.jndn.tests.TestAsyncTcpTransport.stopMockNfd(TestAsyncTcpTransport.java:266)
at net.named_data.jndn.tests.TestAsyncTcpTransport.testWithServerRebootWhileSending(TestAsyncTcpTransport.java:148)
at net.named_data.jndn.tests.TestAsyncTcpTransport.main(TestAsyncTcpTransport.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:283)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:45 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:45 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: received:ping2
May 23, 2016 11:28:46 AM net.named_data.jndn.tests.TestAsyncTcpTransport$2 run
INFO: before accept new connection
May 23, 2016 11:28:46 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: received:ping2
May 23, 2016 11:28:47 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: received:ping2
May 23, 2016 11:28:48 AM net.named_data.jndn.tests.TestAsyncTcpTransport$MockNfdChannel run
INFO: exit received
May 23, 2016 11:28:49 AM net.named_data.jndn.transport.AsyncTcpTransport$1 failed
SEVERE: Failed to read from transport
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:508)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
at net.named_data.jndn.transport.AsyncTcpTransport.asyncRead(AsyncTcpTransport.java:351)
at net.named_data.jndn.transport.AsyncTcpTransport.access$200(AsyncTcpTransport.java:70)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:86)
at net.named_data.jndn.transport.AsyncTcpTransport$1.completed(AsyncTcpTransport.java:76)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:49 AM net.named_data.jndn.transport.AsyncTcpTransport scheduleReconnect
INFO: Scheduled to reconnect in 5000ms
May 23, 2016 11:28:50 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:51 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:52 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:53 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

[WARNING] an additional exception was thrown
java.nio.channels.ShutdownChannelGroupException
at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:222)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishConnect(UnixAsynchronousSocketChannelImpl.java:280)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:198)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
at sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:301)
at java.lang.Thread.run(Thread.java:745)
May 23, 2016 11:28:54 AM net.named_data.jndn.tests.TestAsyncTcpTransport$1 run
WARNING: null
java.io.IOException: Cannot send while the socket is reconnecting...
at net.named_data.jndn.transport.AsyncTcpTransport.send(AsyncTcpTransport.java:363)
at net.named_data.jndn.tests.TestAsyncTcpTransport$1.run(TestAsyncTcpTransport.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

May 23, 2016 11:28:54 AM net.named_data.jndn.tests.TestAsyncTcpTransport main
INFO: Tests complete
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.415 s
[INFO] Finished at: 2016-05-23T11:28:54-07:00
[INFO] Final Memory: 16M/328M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default) on project jndn-examples: An exception occured while executing the Java class. null: ShutdownChannelGroupException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    (1-1/1)