java.util.concurrent.CompletionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NettyMessagingManagerTest.testSendAndReceive() sometimes occurs time out. Here is a log when it occured. [https://jenkins.onosproject.org/job/onos-gerrit-buck/5014/console] {quote} 08:33:20 FAIL CACHED 1 Passed 0 Skipped 1 Failed org.onosproject.store.cluster.messaging.impl.NettyMessagingManagerTest 08:33:20 FAILURE org.onosproject.store.cluster.messaging.impl.NettyMessagingManagerTest testSendAndReceive: java.util.concurrent.TimeoutException: Timedout waiting for reply 08:33:20 java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException: Timedout waiting for reply 08:33:20 at java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:326) 08:33:20 at java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:338) 08:33:20 at java.util.concurrent.CompletableFuture.uniRelay(CompletableFuture.java:911) 08:33:20 at java.util.concurrent.CompletableFuture$UniRelay.tryFire(CompletableFuture.java:899) 08:33:20 at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) 08:33:20 at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977) 08:33:20 at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$Callback.lambda$completeExceptionally$1(NettyMessagingManager.java:598) 08:33:20 at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:456) 08:33:20 at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$Callback.completeExceptionally(NettyMessagingManager.java:598) 08:33:20 at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$1.onRemoval(NettyMessagingManager.java:117) 08:33:20 at com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:1960) 08:33:20 at com.google.common.cache.LocalCache$Segment.runUnlockedCleanup(LocalCache.java:3475) 08:33:20 at com.google.common.cache.LocalCache$Segment.postWriteCleanup(LocalCache.java:3451) 08:33:20 at com.google.common.cache.LocalCache$Segment.remove(LocalCache.java:3122) 08:33:20 at com.google.common.cache.LocalCache.remove(LocalCache.java:4188) 08:33:20 at com.google.common.cache.LocalCache$LocalManualCache.invalidate(LocalCache.java:4816) 08:33:20 at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.dispatchLocally(NettyMessagingManager.java:556) 08:33:20 at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.access$900(NettyMessagingManager.java:94) 08:33:20 at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:503) 08:33:20 at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) 08:33:20 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) 08:33:20 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) 08:33:20 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) 08:33:20 at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) 08:33:20 at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) 08:33:20 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) 08:33:20 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) 08:33:20 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) 08:33:20 at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) 08:33:20 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) 08:33:20 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) 08:33:20 at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) 08:33:20 at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) 08:33:20 at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:572) 08:33:20 at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:513) 08:33:20 at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:427) 08:33:20 at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:399) 08:33:20 at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) 08:33:20 at java.lang.Thread.run(Thread.java:745) 08:33:20 Caused by: java.util.concurrent.TimeoutException: Timedout waiting for reply 08:33:20 ... 30 more 08:33:20 {quote}
    via by Shimizu Sho,
    • java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException: Timedout waiting for reply at java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:326) at java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:338) at java.util.concurrent.CompletableFuture.uniRelay(CompletableFuture.java:911) at java.util.concurrent.CompletableFuture$UniRelay.tryFire(CompletableFuture.java:899) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977) at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$Callback.lambda$completeExceptionally$1(NettyMessagingManager.java:598) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:456) at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$Callback.completeExceptionally(NettyMessagingManager.java:598) at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$1.onRemoval(NettyMessagingManager.java:117) at com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:1960) at com.google.common.cache.LocalCache$Segment.runUnlockedCleanup(LocalCache.java:3475) at com.google.common.cache.LocalCache$Segment.postWriteCleanup(LocalCache.java:3451) at com.google.common.cache.LocalCache$Segment.remove(LocalCache.java:3122) at com.google.common.cache.LocalCache.remove(LocalCache.java:4188) at com.google.common.cache.LocalCache$LocalManualCache.invalidate(LocalCache.java:4816) at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.dispatchLocally(NettyMessagingManager.java:556) at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.access$900(NettyMessagingManager.java:94) at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:503) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:572) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:513) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:427) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:399) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) at java.lang.Thread.run(Thread.java:745) Caused by: java.util.concurrent.TimeoutException: Timedout waiting for reply ... 30 more
    No Bugmate found.