Activity

Looks to me like you are trying to a use a Integer data type where a String is expected. There are two places in the code that changed with version 0.2.2. I am escaping 'string' column data type values and org.grails.plugins.google.visualization.data.Cell labels. Unfortunately, your stack trace doesn't tell me which one it is.

My guess is that you are defining a 'string' column data type but use an Integer data type as value in the data you pass in or you pass. The other chance could be that the second parameter value you pass into the Cell object (the label) is a Integer data type value.

Let me know if that works for you. If it doesn't please send me an example of your data and taglib declaration.

Benjamin Muschko
added a comment - 30/Aug/10 7:36 AM Looks to me like you are trying to a use a Integer data type where a String is expected. There are two places in the code that changed with version 0.2.2. I am escaping 'string' column data type values and org.grails.plugins.google.visualization.data.Cell labels. Unfortunately, your stack trace doesn't tell me which one it is.
My guess is that you are defining a 'string' column data type but use an Integer data type as value in the data you pass in or you pass. The other chance could be that the second parameter value you pass into the Cell object (the label) is a Integer data type value.
Let me know if that works for you. If it doesn't please send me an example of your data and taglib declaration.

Scott Warren
added a comment - 30/Aug/10 5:12 PM You are right I had a column defined as a "string" however the values in the array where Integers. Would it hurt to put "?.toString()" in the code before passing it to Escape?