java.lang.IllegalStateException: await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via DataStax JIRA by Michael Kjellman, 1 year ago
await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.
via DataStax JIRA by Michael Kjellman, 1 year ago
await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.
via GitHub by tester5
, 2 years ago
await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.
via DataStax JIRA by Flavian Alexandru, 1 year ago
await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.
via DataStax JIRA by Joaquin Casares, 1 year ago
await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.
via DataStax JIRA by Joaquin Casares, 1 year ago
await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.
java.lang.IllegalStateException: await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.
at org.jboss.netty.channel.DefaultChannelFuture.checkDeadLock(DefaultChannelFuture.java:342)
at com.datastax.driver.core.Connection.(Connection.java:104)
at com.datastax.driver.core.Connection.(Connection.java:50)
at com.datastax.driver.core.Connection$Factory.open(Connection.java:361)
at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:181)
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:144)
at com.datastax.driver.core.ControlConnection.reconnect(ControlConnection.java:98)
at com.datastax.driver.core.ControlConnection.onDown(ControlConnection.java:402)
at com.datastax.driver.core.Cluster$Manager.onDown(Cluster.java:582)
at com.datastax.driver.core.Host$HealthMonitor.setDown(Host.java:178)
at com.datastax.driver.core.Host$HealthMonitor.signalConnectionFailure(Host.java:195)
at com.datastax.driver.core.HostConnectionPool.returnConnection(HostConnectionPool.java:206)
at com.datastax.driver.core.RequestHandler.onException(RequestHandler.java:390)
at com.datastax.driver.core.Connection$Dispatcher.errorOutAllHandler(Connection.java:468)
at com.datastax.driver.core.Connection.defunct(Connection.java:182)
at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:60)
at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:60)
at org.jboss.netty.handler.codec.frame.FrameDecoder.exceptionCaught(FrameDecoder.java:377)
at org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:525)
at org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:48)
at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:60)
at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:60)
at org.jboss.netty.handler.codec.frame.FrameDecoder.cleanup(FrameDecoder.java:493)
at org.jboss.netty.handler.codec.frame.FrameDecoder.channelClosed(FrameDecoder.java:371)
at org.jboss.netty.channel.Channels.fireChannelClosed(Channels.java:468)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.close(AbstractNioWorker.java:351)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:93)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:107)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.