java.lang.RuntimeException: An error occured executing doInBackground()

amazon.com | 4 months ago
  1. 0

    AWS Developer Forums: Android Amazon DynamoDb error in basic ...

    amazon.com | 4 months ago
    java.lang.RuntimeException: An error occured executing doInBackground()
  2. 0

    Android Amazon DynamoDb error in basic action

    Stack Overflow | 1 year ago | An Lin
    java.lang.RuntimeException: An error occured while executing doInBackground()

    Root Cause Analysis

    1. com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMappingException

      No com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBHashKey annotation found in com.example.an.myapplication.customers

      at com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMapper.needAutoGenerateAssignableKey()
    2. AWS SDK for Android
      DynamoDBMapper.save
      1. com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMapper.needAutoGenerateAssignableKey(DynamoDBMapper.java:720)
      2. com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMapper.save(DynamoDBMapper.java:780)
      3. com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMapper.save(DynamoDBMapper.java:688)
      3 frames
    3. com.example.an
      MainActivity$db.doInBackground
      1. com.example.an.myapplication.MainActivity$db.doInBackground(MainActivity.java:67)
      2. com.example.an.myapplication.MainActivity$db.doInBackground(MainActivity.java:56)
      2 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:292)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    6. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames