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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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.
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 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.
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:105)
at com.datastax.driver.core.Connection.(Connection.java:51)
at com.datastax.driver.core.Connection$Factory.open(Connection.java:376)
at com.datastax.driver.core.HostConnectionPool.(HostConnectionPool.java:68)
at com.datastax.driver.core.Session$Manager.addOrRenewPool(Session.java:306)
at com.datastax.driver.core.Session$Manager.updateCreatedPools(Session.java:341)
at com.datastax.driver.core.Session$Manager.onDown(Session.java:363)
at com.datastax.driver.core.Cluster$Manager.onDown(Cluster.java:653)
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:392)
at com.datastax.driver.core.Connection$Dispatcher.errorOutAllHandler(Connection.java:492)
at com.datastax.driver.core.Connection.defunct(Connection.java:185)
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.Channels$7.run(Channels.java:499)
at org.jboss.netty.channel.socket.ChannelRunnableWrapper.run(ChannelRunnableWrapper.java:40)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88)
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:662)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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