java.lang.IndexOutOfBoundsException: Not enough readable bytes - Need 4, maximum is 0))))

Stack Overflow | AnYa | 10 months 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.
  1. 0

    Not enough readable bytes - Need 4, maximum is 0

    Stack Overflow | 10 months ago | AnYa
    java.lang.IndexOutOfBoundsException: Not enough readable bytes - Need 4, maximum is 0))))

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Not enough readable bytes - Need 4, maximum is 0))))

    at com.datastax.driver.core.ControlConnection.reconnectInternal()
  2. DataStax Java Driver for Apache Cassandra - Core
    Cluster.connect
    1. com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:196)
    2. com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79)
    3. com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104)
    4. com.datastax.driver.core.Cluster.init(Cluster.java:121)
    5. com.datastax.driver.core.Cluster.connect(Cluster.java:198)
    5 frames
  3. com.hadoop.reloaded
    CassandraOne.main
    1. com.hadoop.reloaded.cassandra.CassandraOne.main(CassandraOne.java:13)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame