com.datastax.driver.core.exceptions.InvalidTypeException: Invalid 32-bits integer value, expecting 4 bytes but got 8

DataStax JIRA | Igor | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    1 unregistered visitors

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.InvalidTypeException

      Invalid 32-bits integer value, expecting 4 bytes but got 8

      at com.datastax.driver.core.TypeCodec$IntCodec.deserializeNoBoxing()
    2. DataStax Java Driver for Apache Cassandra - Core
      ArrayBackedRow.getInt
      1. com.datastax.driver.core.TypeCodec$IntCodec.deserializeNoBoxing(TypeCodec.java:529)
      2. com.datastax.driver.core.ArrayBackedRow.getInt(ArrayBackedRow.java:80)
      3. com.datastax.driver.core.ArrayBackedRow.getInt(ArrayBackedRow.java:84)
      3 frames