# Blank ireports from jasper

**URL:** <https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038>\
**Category:** Rails\
**Created:** [March 5, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038 "2008-03-05T13:31:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [March 5, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038/1 "2008-03-05T13:31:27Z")

</div>

hi all

i have successfully integrated jasper with my application but the  
problem is that when i m generating reports thru it…its giving me a  
blank rtf file…

if i write a xml file its giving me the xml data but the conversion of  
xml to text is not taking place…

Is there a way to solve it

pls let me know

thanks

---

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [March 5, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038/2 "2008-03-05T14:46:01Z")

</div>

Hi,  
First, lets say that I am not using ireports from jasper, I am using  
BIRT on glassfish and have it integrated through html links.  
I would first check out the database statement that you are issuing,  
as sometimes if data on joins it may not bring back anything.  
If that sql statement gives you a result set, I would try running the  
report on a local machine where the repository is, to see if you get  
results.  
If you are successful with running the report on the db machine, run  
it on another machine outside of your program.  
If successful there run it on that machine, check to see if your  
program can connect to the database.

I know that jasper, like birt , is a java program and it needs to be  
run on a java server. Integration is usually done through links, but  
can be fully integrated if you use jRuby. If you do it through html  
links, take a look at the servers log files, they usually are a gold  
mine of information.

WW

---

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [March 5, 2008, 3:21pm UTC](https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038/3 "2008-03-05T15:21:57Z")

</div>

i think you should check your log info.  
if not,check the component size,assure it is proper in the band.

On 3ÔÂ5ÈÕ, ÏÂÎç8Ê±31·Ö, Dhaval P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [March 7, 2008, 8:32am UTC](https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038/4 "2008-03-07T08:32:28Z")

</div>

ok i figured it out there was some java installation problem and it  
wasnt able to locate the [java.io](http://java.io) file…So integration is now done

can ne one now tell me if they have generated graph dynamically using  
ireport??  
if so pls tell me the method for it

thanks

---

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [March 6, 2008, 7:08am UTC](https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038/5 "2008-03-06T07:08:07Z")

</div>

Vincent.Z wrote:

> i think you should check your log info.  
> if not,check the component size,assure it is proper in the band.
> 
> On 3ï¿½ï¿½5ï¿½ï¿½, ï¿½ï¿½ï¿½ï¿½8Ê±31ï¿½ï¿½, Dhaval P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Compiling to file… ./custrep.jasper →   
/opt/jasperserver-2.1/ireport/bin/customer\_report.java  
Errors compiling ./custrep.jasper.  
net.sf.jasperreports.engine.JRException: Error saving expressions class  
file :  
/opt/jasperserver-2.1/ireport/bin/customer\_report\_1204782512448\_72908.java  
at  
net.sf.jasperreports.engine.util.JRSaver.saveClassSource(JRSaver.java:171)  
at  
net.sf.jasperreports.engine.design.JRAbstractCompiler.getSourceFile(JRAbstractCompiler.java:297)  
at  
net.sf.jasperreports.engine.design.JRAbstractCompiler.createCompileUnit(JRAbstractCompiler.java:271)  
at  
net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:168)  
at  
it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:587)  
at java.lang.Thread.run(Thread.java:675) Caused by:  
java.io.FileNotFoundException:  
/opt/jasperserver-2.1/ireport/bin/customer\_report\_1204782512448\_72908.java  
(Permission denied) at java.io.FileOutputStream.open(Native Method)

this is the error i m getting

can ne one tell me how to sove it

thanks
