luis-vieira Posted November 4, 2009 Share Posted November 4, 2009 Good morning guys, I'm trying to generate a report with iReport/Jasper/JBossI already debugged all project and everything happens normally until the moment of generating the reportThe message Error: getAwtFontFromBundles Arial getAwtFontFromBundles returning: null I got many erros like this, in my count i have the same number of error that the number of labels in my report. Thanks for attetion. Post Edited by luis-vieira at 11/04/2009 12:49 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted December 3, 2009 Share Posted December 3, 2009 Hi, I don't think this is the error message that JasperReports raises.These must be some log trace statements that you have put yourself in the code somewhere when debugging. In any case, what JasperRerports tries to tell you by raising the exception is that you are using fonts that are not available on the machine where you are running. If you use Arial in your reports, but run on Linux, you probably notices by now that there is no Arial font on Linux. All you need to know is explained in the Javadoc here:http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/util/JRFontNotFoundException.html (I'm pretty sure the exception message already pointed you to this piece of Javadoc, and no debugging would have been required.) I hope this helps.Teodor 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