com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMappingException: Field com.kamcord.stream.data.dynamo.model.v1.StreamSessionTable[started_at] could not unconvert

GitHub | knap1930 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Issue with DynamoDBTypeConverted

    GitHub | 6 months ago | knap1930
    com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMappingException: Field com.kamcord.stream.data.dynamo.model.v1.StreamSessionTable[started_at] could not unconvert

    Root Cause Analysis

    1. 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()
    2. AWS Java SDK for Amazon DynamoDB
      DynamoDBMapper.marshallIntoObject
      1. com.amazonaws.services.dynamodbv2.datamodeling.StandardAttributeTypes$Conversions$1.unconvert(StandardAttributeTypes.java:321)
      2. com.amazonaws.services.dynamodbv2.datamodeling.StandardAttributeTypes$Conversions$1.unconvert(StandardAttributeTypes.java:315)
      3. com.amazonaws.services.dynamodbv2.datamodeling.StandardTypeConverters$2.unconvert(StandardTypeConverters.java:614)
      4. com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperFieldModel.unconvert(DynamoDBMapperFieldModel.java:202)
      5. com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperFieldModel.unconvertAndSet(DynamoDBMapperFieldModel.java:286)
      6. com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel.unconvert(DynamoDBMapperTableModel.java:250)
      7. com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.privateMarshallIntoObject(DynamoDBMapper.java:547)
      8. com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper.marshallIntoObject(DynamoDBMapper.java:533)
      8 frames
    3. com.kamcord.stream
      SessionQueueWorker.run
      1. com.kamcord.stream.data.dynamo.DynamoDataAccessor.updateStreamSession(DynamoDataAccessor.java:3728)
      2. com.kamcord.stream.data.dynamo.DynamoDataAccessor$Proxy$_$$_WeldClientProxy.updateStreamSession(Unknown Source)
      3. com.kamcord.stream.manager.StreamManager.updateStreamSession(StreamManager.java:1223)
      4. com.kamcord.stream.manager.StreamManager$Proxy$_$$_WeldClientProxy.updateStreamSession(Unknown Source)
      5. com.kamcord.stream.data.dynamo.helper.SessionQueueWorker.run(SessionQueueWorker.java:87)
      5 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame