Category: | Bug report |
Priority: | Normal |
Status: | New |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
When I run a report where preview is set to text or text(ireports) it generates the report correctly, but the file exported is blank.
iReports generates all other formats, but the text preview and the text(iReports) preview with return an error...
If I try and insert values for the width and height (options, export options) I get output, but it is very largely spaced report.
the default option for the export options is 0, but this returns the following error. Help please!!
Exporting Text (JasperReports) to file... C:\Subversion\WMS_Reports\trunk\reports\Unapproved_Orders_Report.txt! Error exporting print... Character width in pixels or page width in characters must be specified and must be greater than zero.
net.sf.jasperreports.engine.JRException: Character width in pixels or page width in characters must be specified and must be greater than zero.
at net.sf.jasperreports.engine.export.JRTextExporter.setReportParameters(JRTextExporter.java:271)
at net.sf.jasperreports.engine.export.JRTextExporter.exportReportToWriter(JRTextExporter.java:333)
at net.sf.jasperreports.engine.export.JRTextExporter.exportReport(JRTextExporter.java:221)
at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:1174)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Export running time: 15
Any assistance will be greatly appriciated.
regards
Aubrey