Also, `ArrayIndexOutOfBoundsException` should be able to be caught by the
try-catch block and ignored, but it is thrown as your stack trace shown...
It's hard to address the issue by looking into the error log...

```
                try {
                    return (CallSite) constr.newInstance(site, metaClass,
this, params, constr);
                } catch (Error e) {
                    skipCompiled=true;
                    throw e;
                } catch (Throwable e) {
                    skipCompiled=true;
                }
```
(
https://github.com/apache/groovy/blob/GROOVY_3_0_0_RC_2/src/main/java/org/codehaus/groovy/reflection/CachedMethod.java#L295-L302
)


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)

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