java.lang.reflect.InvocationTargetException

GitHub | cdavisafc | 3 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.
  1. 0

    Config server failing to start

    GitHub | 3 months ago | cdavisafc
    java.lang.reflect.InvocationTargetException
  2. 0

    GitHub comment 3#87065887

    GitHub | 2 years ago | kkilaru
    java.lang.NoSuchMethodError: org.springframework.boot.env.YamlPropertySourceLoader$Processor.getFlattenedMap(Ljava/util/Map;)Ljava/util/Map;
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Report invalid line number for bad yaml file

    GitHub | 3 years ago | markpollack
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
  5. 0

    java.lang.NoSuchMethodError: org.springframework.boot.env.YamlPropertySourceLoader$Processor.getFlattenedMap(Ljava/util/Map;)Ljava/util/Map while running Unit test

    GitHub | 2 years ago | roo104
    java.lang.NoSuchMethodError: org.springframework.boot.env.YamlPropertySourceLoader$Processor.getFlattenedMap(Ljava/util/Map;)Ljava/util/Map;
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.NoSuchMethodError

    org.springframework.core.CollectionFactory.createStringAdaptingProperties()Ljava/util/Properties;

    at org.springframework.beans.factory.config.YamlProcessor.process()
  2. Spring Beans
    YamlProcessor.process
    1. org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:222)
    2. org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:161)
    3. org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:138)
    3 frames
  3. Spring Boot
    ConfigFileApplicationListener.onApplicationEvent
    1. org.springframework.boot.env.YamlPropertySourceLoader$Processor.process(YamlPropertySourceLoader.java:101)
    2. org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:58)
    3. org.springframework.boot.env.PropertySourcesLoader.load(PropertySourcesLoader.java:127)
    4. org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadIntoGroup(ConfigFileApplicationListener.java:469)
    5. org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:456)
    6. org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:380)
    7. org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:215)
    8. org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:184)
    9. org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:171)
    10. org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:157)
    10 frames
  4. Spring Context
    SimpleApplicationEventMulticaster.multicastEvent
    1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
    2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
    3. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
    3 frames
  5. Spring Boot
    SpringApplicationBuilder.run
    1. org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:69)
    2. org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
    3. org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:335)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:306)
    5. org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
    5 frames
  6. org.springframework.cloud
    ConfigServerApplication.main
    1. org.springframework.cloud.config.server.ConfigServerApplication.main(ConfigServerApplication.java:14)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  8. Spring Boot Maven Plugin
    AbstractRunMojo$LaunchRunner.run
    1. org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
    1 frame
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:744)
    1 frame