michal.torba Posted May 14, 2014 Posted May 14, 2014 HiI am trying to input a rather large rtf file into my report (using iReport 5.5.0). I create a Text Field with markup as rtf and paste rtf content into text expression (after modyfying it into required string form). That works for small files, but after I get over a few pages (for example http://www.scottlynch.us/files/rsurs-sample.rtf ) I get StackOverflowException while compiling. Is it how it's supposed to be? Is there another way of loading rtf file into raport to avoid that issue?The same happens with long html .StackTrace:Error compiling the report java source! java.lang.StackOverflowError at java.util.HashMap.getEntry(Unknown Source) at java.util.HashMap.containsKey(Unknown Source) at org.codehaus.groovy.syntax.Types.getText(Types.java:1154) at org.codehaus.groovy.syntax.Token.newSymbol(Token.java:367) at org.codehaus.groovy.antlr.AntlrParserPlugin.makeToken(AntlrParserPlugin.java:3045) at org.codehaus.groovy.antlr.AntlrParserPlugin.binaryExpression(AntlrParserPlugin.java:2247) at org.codehaus.groovy.antlr.AntlrParserPlugin.expressionSwitch(AntlrParserPlugin.java:1882) at org.codehaus.groovy.antlr.AntlrParserPlugin.expression(AntlrParserPlugin.java:1657) at org.codehaus.groovy.antlr.AntlrParserPlugin.expression(AntlrParserPlugin.java:1653) at org.codehaus.groovy.antlr.AntlrParserPlugin.binaryExpression(AntlrParserPlugin.java:2250) at org.codehaus.groovy.antlr.AntlrParserPlugin.expressionSwitch(AntlrParserPlugin.java:1882) at org.codehaus.groovy.antlr.AntlrParserPlugin.expression(AntlrParserPlugin.java:1657) at org.codehaus.groovy.antlr.AntlrParserPlugin.expression(AntlrParserPlugin.java:1653) at org.codehaus.groovy.antlr.AntlrParserPlugin.binaryExpression(AntlrParserPlugin.java:2250) at org.codehaus.groovy.antlr.AntlrParserPlugin.expressionSwitch(AntlrParserPlugin.java:1882) at org.codehaus.groovy.antlr.AntlrParserPlugin.expression(AntlrParserPlugin.java:1657) at org.codehaus.groovy.antlr.AntlrParserPlugin.expression(AntlrParserPlugin.java:1653) at org.codehaus.groovy.antlr.AntlrParserPlugin.binaryExpression(AntlrParserPlugin.java:2250) at org.codehaus.groovy.antlr.AntlrParserPlugin.expressionSwitch(AntlrParserPlugin.java:1882) at org.codehaus.groovy.antlr.AntlrParserPlugin.expression(AntlrParserPlugin.java:1657) at org.codehaus.groovy.antlr.AntlrParserPlugin.expression(AntlrParserPlugin.java:1653) ... and on and on...
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