This here:

looks a lot like what you have seen. Does it fit your case?

bye Jochen

On 08.08.2017 19:24, Les Hartzman wrote:
I'm getting an error on startup of a Spring Boot app when a properties file (not is being read in.

The property that is supposedly missing, doesn't exist as a class member (not supposed to) - only as a method variable.

The error that comes out is:

*groovy.lang.MissingPropertyException: No such property: approvedCreatives for class: DUMMY*

The full stacktrace leading to this is:

*groovy.lang.MissingPropertyException: No such property: approvedCreatives for class: DUMMY* at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap( at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty( at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(
at DUMMY$_closure1.doCall(DUMMY.groovy:1)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.codehaus.groovy.reflection.CachedMethod.invoke(
at groovy.lang.MetaMethod.doMethodInvoke(
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(
at groovy.lang.MetaClassImpl.invokeMethod(
at org.codehaus.groovy.runtime.metaclass.ClosureStaticMetaMethod.invoke(
at groovy.lang.MetaMethod.doMethodInvoke(
at groovy.lang.MetaClassImpl.invokeStaticMethod(
at groovy.lang.ExpandoMetaClass.invokeStaticMethod( at com.examples.eservice.config.AppConfig.propertySourcesPlaceholderConfigurer(AppConfig.groovy:16)

The properties file being read in is a key/value type where the values are JSON strings for most of the keys; some are just simple values.

So my first question is if DUMMY is a compiler-generated class and is there anyway of seeing it?

But my most important question is if anyone has any idea what is happening here?



Reply via email to