java.lang.NullPointerException: Map values cannot be null

DataStax JIRA | Jacques-Henri Berthemet | 1 year ago
  1. 0
    Elasticsearch 1.x and 2.x nodes are not compatible, make sure your setup contains nodes of the same major version.
    via GitHub by dakrone
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    It is a JDK bug, no workaround currently.
    via GitHub by jroper
  4. 0
    Some of the parametes ar enull

    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. java.lang.NullPointerException

      Map values cannot be null

      at com.datastax.driver.core.TypeCodec$MapCodec.serialize()
    2. DataStax Java Driver for Apache Cassandra - Core
      BoundStatement.set
      1. com.datastax.driver.core.TypeCodec$MapCodec.serialize(TypeCodec.java:1872)
      2. com.datastax.driver.core.TypeCodec$MapCodec.serialize(TypeCodec.java:1756)
      3. com.datastax.driver.core.AbstractData.set(AbstractData.java:555)
      4. com.datastax.driver.core.AbstractData.set(AbstractData.java:541)
      5. com.datastax.driver.core.BoundStatement.set(BoundStatement.java:840)
      5 frames
    3. com.datastax.driver
      Mapper.save
      1. com.datastax.driver.mapping.Mapper.setObject(Mapper.java:229)
      2. com.datastax.driver.mapping.Mapper.saveQuery(Mapper.java:205)
      3. com.datastax.driver.mapping.Mapper.saveQuery(Mapper.java:162)
      4. com.datastax.driver.mapping.Mapper.save(Mapper.java:240)
      4 frames
    4. com.genesys.ucs
      CassandraTestor.test
      1. com.genesys.ucs.CassandraTestor.test(CassandraTestor.java:70)
      1 frame