com.datastax.driver.core.exceptions.InvalidQueryException: no keyspace has been specified

DataStax JIRA | Joaquin Casares | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.InvalidQueryException

      no keyspace has been specified

      at com.datastax.driver.core.ResultSetFuture.convertException()
    2. DataStax Java Driver for Apache Cassandra - Core
      PreparedStatementTest.reprepareOnNewlyUpNodeNoKeyspaceTest
      1. com.datastax.driver.core.ResultSetFuture.convertException(ResultSetFuture.java:270)
      2. com.datastax.driver.core.Session.toPreparedStatement(Session.java:220)
      3. com.datastax.driver.core.Session.prepare(Session.java:170)
      4. com.datastax.driver.core.PreparedStatementTest.reprepareOnNewlyUpNodeTest(PreparedStatementTest.java:288)
      5. com.datastax.driver.core.PreparedStatementTest.reprepareOnNewlyUpNodeNoKeyspaceTest(PreparedStatementTest.java:319)
      5 frames