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.

Solutions on the web15302

  • via Google Groups by Bruce Mitchener, 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 Ahmet AKYOL, 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 Spring JIRA by Jennifer Hickey, 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.
  • Stack trace

    • 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)[netty-3.6.2.Final.jar:na] at org.jboss.netty.channel.DefaultChannelFuture.awaitUninterruptibly(DefaultChannelFuture.java:256)[netty-3.6.2.Final.jar:na] at com.datastax.driver.core.Connection.write(Connection.java:259)[cassandra-driver-core-1.0.0-beta1.jar:na] at com.datastax.driver.core.RetryingCallback.query(RetryingCallback.java:108)[cassandra-driver-core-1.0.0-beta1.jar:na] at com.datastax.driver.core.RetryingCallback.sendRequest(RetryingCallback.java:91)[cassandra-driver-core-1.0.0-beta1.jar:na] at com.datastax.driver.core.Session$Manager.execute(Session.java:370)[cassandra-driver-core-1.0.0-beta1.jar:na] at com.datastax.driver.core.Session$Manager.executeQuery(Session.java:406)[cassandra-driver-core-1.0.0-beta1.jar:na] at com.datastax.driver.core.Session.executeAsync(Session.java:154)[cassandra-driver-core-1.0.0-beta1.jar:na] at com.datastax.driver.core.Session.execute(Session.java:106)[cassandra-driver-core-1.0.0-beta1.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.