[#2520] - ArrayIndexOutOfBoundsException to txt format

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Hi,
when printing a report to txt format (1.3.3) I get the following exception when the report design has elements beyond it's margins (see attachement). Other formats dont give this and just wrap it. Is this a bug?

Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at net.sf.jasperreports.engine.export.JRTextExporter.exportText(JRTextExporter.java:476)
at net.sf.jasperreports.engine.export.JRTextExporter.exportElements(JRTextExporter.java:345)
at net.sf.jasperreports.engine.export.JRTextExporter.exportPage(JRTextExporter.java:322)
at net.sf.jasperreports.engine.export.JRTextExporter.exportReportToWriter(JRTextExporter.java:298)
at net.sf.jasperreports.engine.export.JRTextExporter.exportReport(JRTextExporter.java:240)

kind regards,
Christiaan

AttachmentSize
File report.xml20.94 KB
christiaan_se's picture
Joined: Jul 18 2006 - 11:57pm
Last seen: 7 years 2 days ago

2 Comments:

#1

This has been fixed on SVN (rev. 1817). The fix will be part of the next release.

Regards,
Lucian

#2
  • Priority:Normal» Urgent
  • Severity:Minor» Critical
  • Resolution:Fixed» Open
  • Status:Closed» New
  • Assigned:nobody»

Hi,
i am facing error as below while generating report in text format, while other formats are working fine. i am using ireport 3.0.0
Jul 23, 2021 2:03:04 AM com.infy.finacle.finrpt.utils.FinLogger logException
SEVERE: 49
at net.sf.jasperreports.engine.export.JRTextExporter in exportText at line:614
at net.sf.jasperreports.engine.export.JRTextExporter in exportElements at line:392
at net.sf.jasperreports.engine.export.JRTextExporter in exportPage at line:369
at net.sf.jasperreports.engine.export.JRTextExporter in exportReportToWriter at line:345
at net.sf.jasperreports.engine.export.JRTextExporter in exportReport at line:194
at com.infy.finacle.finrpt.processor.FinRptFactory in exportReport at line:-1
at com.infy.finacle.finrpt.processor.FinRptFactory in createReportStream at line:-1
at com.infy.finacle.finrpt.processor.FinFlatFileRptProcessor in process at line:-1
at com.infy.finacle.finrpt.FinRptSrvr in processMessage at line:-1
at com.infy.bbu.limos.LiSrvr in runListening at line:272
at com.infy.bbu.limos.LiSrvr in run at line:172

Feedback