Jump to content

Recommended Posts

Posted

Hi

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

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