org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultAWSCloudClient' defined in URL [jar:file:/home/hygieia/aws-cloud-collector-2.0.2-SNAPSHOT.jar!/com/capitalone/dashboard/collector/DefaultAWSCloudClient.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.capitalone.dashboard.collector.DefaultAWSCloudClient]: Constructor threw exception; nested exception is java.lang.NullPointerException

GitHub | AaoGITKarein | 5 months ago
  1. 0

    GitHub comment 649#228950243

    GitHub | 5 months ago | AaoGITKarein
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultAWSCloudClient' defined in URL [jar:file:/home/hygieia/aws-cloud-collector-2.0.2-SNAPSHOT.jar!/com/capitalone/dashboard/collector/DefaultAWSCloudClient.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.capitalone.dashboard.collector.DefaultAWSCloudClient]: Constructor threw exception; nested exception is java.lang.NullPointerException
  2. 0

    GitHub comment 649#256489548

    GitHub | 1 month ago | JustLeo
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'AWSCloudCollectorTask' defined in URL [jar:file:/home/centos/Hygieia/collectors/cloud/aws/target/aws-cloud-collector-2.0.4-SNAPSHOT.jar!/com/capitalone/dashboard/collector/AWSCloudCollectorTask.class]: Unsatisfied dependency expressed through constructor argument with index 3 of type [com.capitalone.dashboard.collector.AWSCloudClient]: : Error creating bean with name 'defaultAWSCloudClient' defined in URL [jar:file:/home/centos/Hygieia/collectors/cloud/aws/target/aws-cloud-collector-2.0.4-SNAPSHOT.jar!/com/capitalone/dashboard/collector/DefaultAWSCloudClient.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.capitalone.dashboard.collector.DefaultAWSCloudClient]: Constructor threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultAWSCloudClient' defined in URL [jar:file:/home/centos/Hygieia/collectors/cloud/aws/target/aws-cloud-collector-2.0.4-SNAPSHOT.jar!/com/capitalone/dashboard/collector/DefaultAWSCloudClient.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.capitalone.dashboard.collector.DefaultAWSCloudClient]: Constructor threw exception; nested exception is java.lang.NullPointerException
  3. 0

    vdr-binding throws exceptions

    GitHub | 2 years ago | udo1toni
    java.lang.NullPointerException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [astro] NullPointerException

    GitHub | 12 months ago | watou
    java.lang.NullPointerException: null
  6. 0

    using yaml in spring boot

    Stack Overflow | 10 months ago | user2309066
    java.lang.NullPointerException: null

  1. davidvanlaatum 1 times, last 1 month ago
  2. kjhdofjosvs 4 times, last 1 month ago
  3. Justin 2 times, last 5 months ago
  4. poroszd 8 times, last 8 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    null

    at java.util.Hashtable.put()
  2. Java RT
    Hashtable.put
    1. java.util.Hashtable.put(Hashtable.java:459)
    1 frame
  3. com.capitalone.dashboard
    DefaultAWSCloudClient.<init>
    1. com.capitalone.dashboard.collector.DefaultAWSCloudClient.setClients(DefaultAWSCloudClient.java:72)
    2. com.capitalone.dashboard.collector.DefaultAWSCloudClient.<init>(DefaultAWSCloudClient.java:67)
    2 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  5. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
    3. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    8. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    9. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    10. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    12. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
    12 frames
  6. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    2 frames
  7. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
    2. org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
    4 frames
  8. com.capitalone.dashboard
    Application.main
    1. com.capitalone.dashboard.Application.main(Application.java:38)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  10. Spring Boot Loader
    MainMethodRunner.run
    1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
    1 frame
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame