com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMappingException

Field com.kamcord.stream.data.dynamo.model.v1.StreamSessionTable[started_at] could not unconvert

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via GitHub by knap1930
    , 11 months ago
    Field com.kamcord.stream.data.dynamo.model.v1.StreamSessionTable[started_at] could not unconvert
  • Field com.dynamodb.testpackage.Person[updated] must not have auto-generated key with ALWAYS strategy
  • via activeintelligence.org by Unknown author, 1 year ago
    Class org.activeintel.al.crawler.LocationRecord does not map a @DynamoDBHashKey attribute; ensure a public, zero-parameter get method/field is annotated
  • Stack trace

    • com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMappingException: Field com.kamcord.stream.data.dynamo.model.v1.StreamSessionTable[started_at] could not unconvert at com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperFieldModel.unconvert(DynamoDBMapperFieldModel.java:204) at com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperFieldModel.unconvertAndSet(DynamoDBMapperFieldModel.java:286) at com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel.unconvert(DynamoDBMapperTableModel.java:250) at com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.privateMarshallIntoObject(DynamoDBMapper.java:547) at com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.marshallIntoObject(DynamoDBMapper.java:533) at com.kamcord.stream.data.dynamo.DynamoDataAccessor.updateStreamSession(DynamoDataAccessor.java:3728) at com.kamcord.stream.data.dynamo.DynamoDataAccessor$Proxy$_$$_WeldClientProxy.updateStreamSession(Unknown Source) at com.kamcord.stream.manager.StreamManager.updateStreamSession(StreamManager.java:1223) at com.kamcord.stream.manager.StreamManager$Proxy$_$$_WeldClientProxy.updateStreamSession(Unknown Source) at com.kamcord.stream.data.dynamo.helper.SessionQueueWorker.run(SessionQueueWorker.java:87) at java.lang.Thread.run(Thread.java:745) Caused by: com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMappingException: type [DEFAULT[class org.joda.time.DateTime]] is not supported; requires @DynamoDBDocument or @DynamoDBTypeConverted at com.amazonaws.services.dynamodbv2.datamodeling.StandardAttributeTypes$Conversions$1.unconvert(StandardAttributeTypes.java:321) at com.amazonaws.services.dynamodbv2.datamodeling.StandardAttributeTypes$Conversions$1.unconvert(StandardAttributeTypes.java:315) at com.amazonaws.services.dynamodbv2.datamodeling.StandardTypeConverters$2.unconvert(StandardTypeConverters.java:614) at com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperFieldModel.unconvert(DynamoDBMapperFieldModel.java:202) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.