Grails

MalformedByteSequenceException with Grails jasper plugin 1.1.6

Hi All, I was facing a lot of problems with creating pdf reports using jasper plugin 1.1.6 in grails, Though I had earlier worked with 0.9.5 and 0.9.7 versions of the plugin with a lot of ease but some how 1.1.6 version of plugin was not generating reports  it always ended up throwing MalformedByteSequenceException: Invalid […]

Sachin
Sachin
Read

Technology

Passing parameters to sub-reports in Jasper

In one of our recent project, we made quite a good use of Grails Jasper plugin (v-0.9.7) to generate reports in the form of PDFs and Excel sheets. The reports contain sub-reports, which in many cases, contain sub-reports again. The way to pass parameters to sub-reports at the deeper level is to use the following […]

Abhishek Tejpaul
Abhishek Tejpaul
Read

Technology

Passing Optional Parameters in jasper reports

Hi Guys, In one of my projects, While working with jasper reports, one of the requirement I faced was of passing optional parameter to the sql query in jasper  report. For eg. I had to write a query to find all new customers which were added between two given dates and if an optional status […]

Sachin
Sachin
Read

Grails

Compiling sub-reports in Jasper reports

In my project we needed to generate pdf reports. The tool we used to design reports is IReport 2.0.5 & the plugin used is grails jasper plugin.The plugin works fine with simple reports but fails when it come to complex report which uses subreport.The problem is that the plugin compiles .jrxml file to .jasper file […]

Technology

Error Compiling .jrxml file with iReport 2.0.5

Recently I encountered an error , while working  on iReports , iReport it was not able to compile .jrxml file to generate .jasper file , whilst  it used to show  compile time. Error : Compiling to file… ./<filename>.jasper -> /usr/share/iReport/bin/<filename>.java Errors compiling ./<filename>.jasper. net.sf.jasperreports.engine.JRException: Error saving expressions class file : /usr/share/iReport/bin/<filename>_1267071292035_83340.java Compilation running time: 80 Basically I found two way out this […]

Hitesh Bhatia
Hitesh Bhatia
Read

Grails

My experience of using jasper reports with grails application

In my project we needed to generate certain pdf reports. Then while exploring the options available, I encountered a PDF plugin, which renders gsp page and returns the PDF report. It looked good for the simple reports but may not be a good idea if the report are complex. Then with the help of one […]

Amit Jain
Amit Jain
Read
Services