You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by Santhosh <sa...@oracle.com> on 2016/10/21 09:53:42 UTC

Re: Exception in groovy 2.4.6 while creating groovy script

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: http://groovy.329449.n5.nabble.com/Exception-in-groovy-2-4-6-while-creating-groovy-script-tp5736224p5736242.html
Sent from the Groovy Users mailing list archive at Nabble.com.