groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santhosh <>
Subject Re: Exception in groovy 2.4.6 while creating groovy script
Date Fri, 21 Oct 2016 09:53:42 GMT
I did further analysis into groovy code and found that the name for class is
comming as empty string and in
org.codehaus.groovy.reflection.ClassInfo.createCachedClass method there is
an if "(klazz.getName().charAt(0) == '[')" which is throwing the
"java.lang.StringIndexOutOfBoundsException: String index out of range: 0"
exception.  Not sure whether these is any backward compatability issues wiht
groovy-all-1.6.0.jar and groovy-all-2.4.6.jar libraries.   

Can someone throw light on this issue?

View this message in context:
Sent from the Groovy Users mailing list archive at

View raw message