Monday, August 4, 2008

Jasper Reports Grails Plugin Gotcha

Thought I'd blog this quickly: If you're using iReport to develop reports for use with the Jasper Reports grails plugin, make sure you download the version that matches the version of Jasper that the plugin uses (currently 2.0.5). Otherwise you get terribly unhelpful exceptions like:
java.lang.NullPointerException
 at net.sf.jasperreports.engine.JRPropertiesMap.readObject(JRPropertiesMap.java:185)

2 comments:

Keith Cochran said...

Thanks Lee. I was wondering why I couldn't get my reports working.

Peter Johansson said...

I experienced the problem. running on grails jasper plugin 0.9.7. I have written a blog post about report making and solve this problem for that version.

http://ironicprogrammer.blogspot.com/2009/09/creating-jasper-reports-in-grails.html