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

String index out of bounds when width>36 in.


ktlam1955

Recommended Posts

I get this error below when I set my page width size to 36 inches or more and I output in text(iReport) preview.  Has anyone ever encountered this before?  Does anyone know what could be causing this?  Thanks in advance.

 

Exporting TXT (iReport) to file... C:\Program Files\GEBIT\TREND Analyst Community Edition\GEBIT_workspace\HDP reports\Route List by Geographic Area and Route Attributes\JasperReports\RouteLogAttributeByGeoArea3.txt. Error exporting print...String index out of range: -24 java.lang.StringIndexOutOfBoundsException: String index out of range: -24 
    at java.lang.String.substring(String.java:1938) 
    at java.lang.String.substring(String.java:1905) 
    at it.businesslogic.ireport.export.JRTxtExporter.replaceLineRegion(JRTxtExporter.java:473) 
    at it.businesslogic.ireport.export.JRTxtExporter.layoutGrid(JRTxtExporter.java:407) 
    at it.businesslogic.ireport.export.JRTxtExporter.exportPage(JRTxtExporter.java:281) 
    at it.businesslogic.ireport.export.JRTxtExporter.exportReportToWriter(JRTxtExporter.java:268) 
    at it.businesslogic.ireport.export.JRTxtExporter.exportReport(JRTxtExporter.java:223) 
    at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:1516) 
    at java.lang.Thread.run(Thread.java:619) 

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