Issue:
After migrating from 7.1 to 7.9 a report gets an error: The report was not completed. An error occurred while executing it. net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Class net.sf.jasperreports.engine.util.JdkGlyphFixTextMeasurerFactory not found.
at net.sf.jasperreports.engine.util.JRTextMeasurerUtil.getFactory(JRTextMeasurerUtil.java:157)
Resolution:
"JdkGlyphFixTextMeasurerFactory" class has actually been removed and It shouldn't use it anymore. You can see inside the jrxml report where it is referenced so if
it's not in the jrxml, you have to simply remove it from jasperreports.properties. Or You can also try to directly remove the property from jasperreports.properties. if that works, it means that it's not set in the jrxml.
You have to remove this property from the jasperreports.properties file as this class is removed. Then you have to restart the jasperserver.
net.sf.jasperreports.text.measurer.factory=net.sf.jasperreports.engine.util.JdkGlyphFixTextMeasurerFactory
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