File:
net/sf/jasperreports/engine/export/JRRtfExporter.java
Around line 720, it says:
throw new JRException("Invalid text height")
For someone trying to resolve this exception, it takes a lot of time to trial-and-error until you have found the element that causes the problem.
Suggested change:
throw new JRException("Invalid text height of text '" + text.getOriginalText() + "' with height " + textHeight + " in element with height " + height)
When you google on "Invalid text height" with JasperReports, you will see more users having problems analyzing this problem. Such as:
http://stackoverflow.com/questions/2576061/rtf-formatting-in-jasper-reports
Recommended Comments
There are no comments to display.
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