Jump to content

Eception while using subreports


2005 IR Help

Recommended Posts

By: Manish Hatwalne - manish_hatwalne

Eception while using subreports

2004-03-10 08:53

I get this exception at runtime when I am trying to run my subreport -

dori.jasper.engine.JRException: Could not load object from location : PictureSubreport.jasper

at dori.jasper.engine.util.JRLoader.loadObjectFromLocation(JRLoader.java :242)

at dori.jasper.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java)

 

What does it mean, where should I look now for correction? My subreport is simply displaying some static text at the moment...

 

TIA,

- Manish

 

 

 

 

By: Jorge Augusto Pizzato - pizzato

RE: Eception while using subreports

2004-03-10 09:58

compile your xml for generate the file PictureSubreport.jasper.

verify if the tag <jasperReport name="PictureSubreport" ...> in the xml is correct.

verify if PictureSubreport.jasper is in classpath or absolute path name for loadReport().

 

 

 

 

 

By: Manish Hatwalne - manish_hatwalne

RE: Eception while using subreports

2004-03-10 10:14

The name is correct, when I give complete path of the subreport, it shows. How can I set it to red from the current directory, without giving complete path?

 

TIA,

- Manish

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...