Hi  Romain,

      Could you provide us a standalone runnable code sample?

      BTW, I find the root cause is `ArrayIndexOutOfBoundsException` thrown
in `PojoMetaMethodSite.<clinit>`, but it is weird that no `static { ... }`
in the `PojoMetaMethodSite` source code ( 
)https://github.com/apache/groovy/blob/GROOVY_3_0_0_RC_2/src/main/java/org/codehaus/groovy/runtime/callsite/PojoMetaMethodSite.java

Caused by: java.lang.ArrayIndexOutOfBoundsException: -844304512
    at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.<clinit>
(PojoMetaMethodSite.java)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native
Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance (Constructor.java:423)
    at org.codehaus.groovy.reflection.CachedMethod.createPojoMetaMethodSite
(CachedMethod.java:296)
    at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.createCachedMethodSite
(PojoMetaMethodSite.java:162)
    at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.createPojoMetaMethodSite
(PojoMetaMethodSite.java:151)
    at groovy.lang.MetaClassImpl.createPojoCallSite
(MetaClassImpl.java:3476)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite
(CallSiteArray.java:123)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite
(CallSiteArray.java:160)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall
(CallSiteArray.java:47)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
(AbstractCallSite.java:115)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
(AbstractCallSite.java:119)
    at
org.talend.sdk.component.build.documentation.sample.Bundles$_run_closure1.doCall
(Bundles.groovy:100)

Cheers,
Daniel.Sun



-----
Apache Groovy committer & PMC member 
Blog: http://blog.sunlan.me 
Twitter: @daniel_sun 

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Reply via email to