org.springframework.context.ApplicationContextException: Exception Creating Prop ertySource; nested exception is java.lang.IllegalArgumentException: Property sou rce name must contain at least one character

GitHub | madhu1707 | 3 months ago
  1. 0

    GitHub comment 1#253541682

    GitHub | 3 months ago | madhu1707
    org.springframework.context.ApplicationContextException: Exception Creating Prop ertySource; nested exception is java.lang.IllegalArgumentException: Property sou rce name must contain at least one character
  2. 0

    Not able to run SimpleDemoApplication.class demo

    GitHub | 3 months ago | madhu1707
    org.springframework.context.ApplicationContextException: Exception Creating PropertySource; nested exception is java.lang.IllegalArgumentException: Property source name must contain at least one character
  3. 0
    samebug tip
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.

    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.IllegalArgumentException

      Property source name must contain at least one character

      at org.springframework.util.Assert.hasText()
    2. Spring Core
      CompositePropertySource.<init>
      1. org.springframework.util.Assert.hasText(Assert.java:168)
      2. org.springframework.core.env.PropertySource.<init>(PropertySource.java:71)
      3. org.springframework.core.env.PropertySource.<init>(PropertySource.java:85)
      4. org.springframework.core.env.EnumerablePropertySource.<init>(EnumerablePropertySource.java:51)
      5. org.springframework.core.env.CompositePropertySource.<init>(CompositePropertySource.java:52)
      5 frames
    3. com.ulisesbocchio.jasyptspringboot
      EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.lambda$postProcessBeanFactory$0
      1. com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.createPropertySource(EncryptablePropertySourcesInitializer.java:79)
      2. com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.loadEncryptablePropertySource(EncryptablePropertySourcesInitializer.java:63)
      3. com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.lambda$postProcessBeanFactory$0(EncryptablePropertySourcesInitializer.java:58)
      3 frames
    4. Java RT
      ReferencePipeline$Head.forEach
      1. java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
      2. java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
      3. java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
      4. java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
      5. java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
      6. java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
      7. java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
      8. java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
      9. java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
      10. java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
      11. java.util.stream.AbstractPipeline.copyInto(Unknown Source)
      12. java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
      13. java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(Unknown Source)
      14. java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source)
      15. java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
      15 frames
    5. com.ulisesbocchio.jasyptspringboot
      EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.postProcessBeanFactory
      1. com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.postProcessBeanFactory(EncryptablePropertySourcesInitializer.java:58)
      1 frame
    6. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)
      2. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:174)
      3. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)
      4. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520)
      4 frames
    7. Spring Boot
      SpringApplicationBuilder.run
      1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
      2. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
      4. org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
      4 frames
    8. demo
      SimpleDemoApplication.main
      1. demo.SimpleDemoApplication.main(SimpleDemoApplication.java:42)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    10. Spring Boot Loader
      MainMethodRunner.run
      1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame