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

DataStax JIRA | Igor | 2 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Spark SQL Cassandra how to handle timestamp empty value?

    Stack Overflow | 2 years ago | Nicky in the Clouds
    com.datastax.driver.core.exceptions.InvalidTypeException: Invalid 64-bits long value, expecting 8 bytes but got 0
  3. 0

    Can't retrieve by UDT key from cassandra with datastax java driver

    Stack Overflow | 1 year ago | NullProgrammerException
    com.datastax.driver.core.exceptions.InvalidTypeException: Invalid value for CQL type frozen<example_keyspace.my_data_type>, expecting class com.datastax.driver.core.UDTValue but class me.example.Main$MyDataType provided

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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