com.datastax.driver.core.exceptions.InvalidTypeException: Cannot format values of custom types

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via DataStax JIRA by Rafi Shamim, 1 year ago
Cannot format values of custom types
via DataStax JIRA by Rafi Shamim, 1 year ago
Cannot format values of custom types
com.datastax.driver.core.exceptions.InvalidTypeException: Cannot format values of custom types
at com.datastax.driver.core.DataType$Custom.format(DataType.java:910)
at com.datastax.driver.core.QueryLogger.parameterValueAsString(QueryLogger.java:753)
at com.datastax.driver.core.QueryLogger.appendParameters(QueryLogger.java:723)
at com.datastax.driver.core.QueryLogger.logQuery(QueryLogger.java:650)
at com.datastax.driver.core.QueryLogger$ConstantThresholdQueryLogger.maybeLogSlowQuery(QueryLogger.java:269)
at com.datastax.driver.core.QueryLogger$ConstantThresholdQueryLogger.maybeLogNormalOrSlowQuery(QueryLogger.java:260)
at com.datastax.driver.core.QueryLogger.update(QueryLogger.java:623)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.