java.lang.IllegalArgumentException: "tags" is not a column defined in this metadata

DataStax JIRA | Carlos S | 2 years ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    *_Resolution_* The mapper now subscribes to schema change events and reacts to table and UDT removed / modified notifications: a warning is logged and, for modifications, the manager tries to replace the mapper or codec with a new one (which may or may not work depending on the nature of the change, and whether client code kept a reference to the old mapper instance). In addition, table/UDT names and column/field names are validated earlier, in a fail-fast attempt to detect wrong configurations. ---- *_Initial report_* I made some researches from forums,blogs, also see issue #JAVA-509 but there is resolved status. But, I'm getting this error in 2.2.3 version. Getting below error, but in table I can see "interface_name" is exists in UDT. {code} java.lang.IllegalArgumentException: "interface_name" is not a field defined in this UDT at com.datastax.driver.core.UDTValue.getAllIndexesOf( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.AbstractData.getIndexOf( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.AbstractGettableData.getBytesUnsafe( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.mapping.UDTMapper.toEntity( ~[cassandra-driver-mapping-2.1.5.jar:na] at com.datastax.driver.mapping.UDTMapper.convertUDTsToEntities( ~[cassandra-driver-mapping-2.1.5.jar:na] at com.datastax.driver.mapping.UDTMapper.convertUDTsToEntities( ~[cassandra-driver-mapping-2.1.5.jar:na] at com.datastax.driver.mapping.ReflectionMapper$NestedUDTMapper.setValue( ~[cassandra-driver-mapping-2.1.5.jar:na] at ~[cassandra-driver-mapping-2.1.5.jar:na] at ~[cassandra-driver-mapping-2.1.5.jar:na] at com.datastax.driver.mapping.Mapper.get( ~[cassandra-driver-mapping-2.1.5.jar:na] {code}

    DataStax JIRA | 11 months ago | Zubaidullo
    java.lang.IllegalArgumentException: "interface_name" is not a field defined in this UDT
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      "tags" is not a column defined in this metadata

      at com.datastax.driver.core.ColumnDefinitions.getAllIdx()
    2. DataStax Java Driver for Apache Cassandra - Core
      1. com.datastax.driver.core.ColumnDefinitions.getAllIdx(
      2. com.datastax.driver.core.ColumnDefinitions.getFirstIdx(
      3. com.datastax.driver.core.ArrayBackedRow.getIndexOf(
      4. com.datastax.driver.core.AbstractGettableData.getBytesUnsafe(
      4 frames
    3. com.datastax.driver
      3. com.datastax.driver.mapping.Mapper.get(
      3 frames