2005 IR Help Posted August 27, 2006 Share Posted August 27, 2006 By: Ilya Olhovsky - fake01 0.5.3 -> 0.6.3 IllegalArgumentException 2004-12-08 13:12 The problem is that one of the report fields (of type String) must display string, that contains symols like <tab> and <new line>: \t and \n. With 0.5.3 worked well. With 0.6.3 works only when I am not using such symbols. java.lang.IllegalArgumentException: Invalid substring range at java.text.AttributedString.<init>(AttributedString.java:210) at java.text.AttributedString.<init>(AttributedString.java:174) at net.sf.jasperreports.engine.fill.TextMeasurer.renderParagraph(TextMeasurer.java:290) at net.sf.jasperreports.engine.fill.TextMeasurer.measure(TextMeasurer.java:273) at net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:459) at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:527) at net.sf.jasperreports.engine.fill.JRFillBand.prepareElements(JRFillBand.java:561) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:476) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:447) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1300) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:630) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:275) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:166) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:684) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:160) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:472) at ... By: Ilya Olhovsky - fake01 RE: 0.5.3 -> 0.6.3 IllegalArgumentException 2004-12-17 01:03 so, this forum is useless By: Gregory A. Swarthout - gswarthout RE: 0.5.3 -> 0.6.3 IllegalArgumentException 2004-12-17 10:50 Evidently. Now go away. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now