Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by madhu1707
, 1 year ago
java.lang.reflect.Invocat ionTargetException
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62) at java.lang.Thread.run(Unknown Source)Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) ... 1 moreCaused by: org.springframework.context.ApplicationContextException: Exception Creating PropertySource; nested exception is java.lang.IllegalArgumentException: Property source name must contain at least one character at com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.loadEncryptablePropertySource(EncryptablePropertySourcesInitializer.java:71) at com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.lambda$postProcessBeanFactory$0(EncryptablePropertySourcesInitializer.java:58) at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(Unknown Source) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source) at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) at com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.postProcessBeanFactory(EncryptablePropertySourcesInitializer.java:58) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:174) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134) at demo.SimpleDemoApplication.main(SimpleDemoApplication.java:42) ... 6 moreCaused by: java.lang.IllegalArgumentException: Property source name must contain at least one character at org.springframework.util.Assert.hasText(Assert.java:168) at org.springframework.core.env.PropertySource.<init>(PropertySource.java:71) at org.springframework.core.env.PropertySource.<init>(PropertySource.java:85) at org.springframework.core.env.EnumerablePropertySource.<init>(EnumerablePropertySource.java:51) at org.springframework.core.env.CompositePropertySource.<init>(CompositePropertySource.java:52) at com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.createPropertySource(EncryptablePropertySourcesInitializer.java:79) at com.ulisesbocchio.jasyptspringboot.configuration.EncryptablePropertySourcesInitializer$EncryptablePropertySourceAnnotationBeanFactoryPostProcessor.loadEncryptablePropertySource(EncryptablePropertySourcesInitializer.java:63) ... 32 more