Jump to content
Changes to the Jaspersoft community edition download ×

Exception using JRRtfExporter


2004 IR Help

Recommended Posts

By: tiecheng - tiecheng

Exception using JRRtfExporter

2005-10-04 07:32

I have used jasperReport 1.0.2 to export a report in RTF format and got NullPointerException. Where exporting the same report with same data to PDF has no Problem. Any idea?

 

java.lang.NullPointerException

at net.sf.jasperreports.engine.export.JRRtfExporter.createColorAndFontEntries(JRRtfExporter.java:312)

at net.sf.jasperreports.engine.export.JRRtfExporter.exportReportToStream(JRRtfExporter.java:221)

at net.sf.jasperreports.engine.export.JRRtfExporter.exportReportToBuffer(JRRtfExporter.java:201)

 

 

 

 

By: Flavius Sana - flavius_sana

RE: Exception using JRRtfExporter

2005-10-04 07:51

Hello,

 

Can you show me the code that you use for exporting in .rtf format? The fragment in which you call exportReportToBuffer.

 

Regards,

Flavius

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