Jump to content
We've recently updated our Privacy Statement, available here ×

Duplicate declaration of report font : Arial_


2004 IR Help

Recommended Posts

By: MonkeyJoe - monkeyjoe

Duplicate declaration of report font : Arial_

2004-03-26 08:21

Hello there,

 

I got this error when trying to run a report that has two subreports in its detail section. When I take away the second subreport, it works. Your help is appreciated.

 

dori.jasper.engine.JRException: Duplicate declaration of report font : Arial_Normal

at dori.jasper.engine.JasperPrint.addFont(JasperPrint.java:235)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:538)

at dori.jasper.engine.fill.JRFillSubreport.run(JRFillSubreport.java:415)

at java.lang.Thread.run(Thread.java:536)

 

m

 

 

 

 

 

By: MonkeyJoe - monkeyjoe

RE: Duplicate declaration of report font : Arial_

2004-03-26 12:24

More details on the above error.

 

This happens when the dataSource to my 2nd subReport exceeded a certain limit size. I suspect this has something to do with the rows exceeding what the page can contain, but I am not sure.

 

Any ideas?

 

m

 

 

 

 

By: MonkeyJoe - monkeyjoe

RE: Duplicate declaration of report font : Arial_

2004-03-26 12:52

Fixed the problem. I unselect 'print in first whole band' and 'print when detail overflows' for both sub reports and I was able to display both sub reports. Can somebody help me to understand what's happening here?

 

Thanks

 

m

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...