java.lang.ExceptionInInitializerError

Stack Overflow | user3127060 | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.fasterxml.jackson.databind.cfg.MapperConfig.collectFeatureDefaults()
  2. Jackson
    ObjectMapper.<init>
    1. com.fasterxml.jackson.databind.cfg.MapperConfig.collectFeatureDefaults(MapperConfig.java:88)
    2. com.fasterxml.jackson.databind.cfg.MapperConfigBase.<clinit>(MapperConfigBase.java:31)
    3. com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:531)
    4. com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:448)
    4 frames
  3. AWS SDK for Java - Core
    ClientConfigurationFactory.getDefaultConfig
    1. com.amazonaws.internal.config.InternalConfig.<clinit>(InternalConfig.java:43)
    2. com.amazonaws.internal.config.InternalConfig$Factory.<clinit>(InternalConfig.java:304)
    3. com.amazonaws.util.VersionInfoUtils.userAgent(VersionInfoUtils.java:141)
    4. com.amazonaws.util.VersionInfoUtils.initializeUserAgent(VersionInfoUtils.java:136)
    5. com.amazonaws.util.VersionInfoUtils.getUserAgent(VersionInfoUtils.java:97)
    6. com.amazonaws.ClientConfiguration.<clinit>(ClientConfiguration.java:60)
    7. com.amazonaws.ClientConfigurationFactory.getDefaultConfig(ClientConfigurationFactory.java:46)
    7 frames
  4. AWS Java SDK for Amazon DynamoDB
    AmazonDynamoDBClientConfigurationFactory.getDefaultConfig
    1. com.amazonaws.services.dynamodbv2.AmazonDynamoDBClientConfigurationFactory.getDefaultConfig(AmazonDynamoDBClientConfigurationFactory.java:31)
    1 frame
  5. AWS SDK for Java - Core
    ClientConfigurationFactory.getConfig
    1. com.amazonaws.ClientConfigurationFactory.getConfig(ClientConfigurationFactory.java:36)
    1 frame
  6. AWS Java SDK for Amazon DynamoDB
    AmazonDynamoDBAsyncClient.<init>
    1. com.amazonaws.services.dynamodbv2.AmazonDynamoDBAsyncClient.<init>(AmazonDynamoDBAsyncClient.java:319)
    2. com.amazonaws.services.dynamodbv2.AmazonDynamoDBAsyncClient.<init>(AmazonDynamoDBAsyncClient.java:299)
    2 frames
  7. mycode
    MinimalTest.main
    1. mycode.MinimalTest$.entry(MinimalTest.scala:275)
    2. mycode.MinimalTest$.main(MinimalTest.scala:248)
    3. mycode.MinimalTest.main(MinimalTest.scala)
    3 frames