Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: Map values cannot be null	at com.datastax.driver.core.TypeCodec$MapCodec.serialize(TypeCodec.java:1872)	at com.datastax.driver.core.TypeCodec$MapCodec.serialize(TypeCodec.java:1756)	at com.datastax.driver.core.AbstractData.set(AbstractData.java:555)	at com.datastax.driver.core.AbstractData.set(AbstractData.java:541)	at com.datastax.driver.core.BoundStatement.set(BoundStatement.java:840)	at com.datastax.driver.mapping.Mapper.setObject(Mapper.java:229)	at com.datastax.driver.mapping.Mapper.saveQuery(Mapper.java:205)	at com.datastax.driver.mapping.Mapper.saveQuery(Mapper.java:162)	at com.datastax.driver.mapping.Mapper.save(Mapper.java:240)	at com.genesys.ucs.CassandraTestor.test(CassandraTestor.java:70)