net.sf.jasperreports.engine.JRRuntimeException: java.io.IOException: can not reading font data -


i trying create pdf report via jasperreport there broblem reading font data. have jasperreports_extension.properties & relevant ttf files in classpath. here error:

java.io.ioexception: problem reading font data.     java.awt.font.createfont(font.java:924)     net.sf.jasperreports.engine.fonts.simplefontface.<init>(simplefontface.java:69)     net.sf.jasperreports.engine.fonts.simplefontfamily.createfontface(simplefontfamily.java:316)     net.sf.jasperreports.engine.fonts.simplefontfamily.setnormal(simplefontfamily.java:85)     net.sf.jasperreports.engine.fonts.simplefontextensionhelper.parsefontfamily(simplefontextensionhelper.java:243)     net.sf.jasperreports.engine.fonts.simplefontextensionhelper.parsefontfamilies(simplefontextensionhelper.java:214)     net.sf.jasperreports.engine.fonts.simplefontextensionhelper.loadfontfamilies(simplefontextensionhelper.java:183)     net.sf.jasperreports.engine.fonts.simplefontextensionhelper.loadfontfamilies(simplefontextensionhelper.java:152)     net.sf.jasperreports.engine.fonts.fontextensionsregistry.getextensions(fontextensionsregistry.java:55)     net.sf.jasperreports.extensions.defaultextensionsregistry.getextensions(defaultextensionsregistry.java:110)     net.sf.jasperreports.engine.util.jrstyledtextparser.<clinit>(jrstyledtextparser.java:83)     net.sf.jasperreports.engine.fill.jrbasefiller.<init>(jrbasefiller.java:121)     net.sf.jasperreports.engine.fill.jrverticalfiller.<init>(jrverticalfiller.java:77)     net.sf.jasperreports.engine.fill.jrverticalfiller.<init>(jrverticalfiller.java:87)     net.sf.jasperreports.engine.fill.jrverticalfiller.<init>(jrverticalfiller.java:57)     net.sf.jasperreports.engine.fill.jrfiller.createfiller(jrfiller.java:142)     net.sf.jasperreports.engine.fill.jrfiller.fillreport(jrfiller.java:78)     net.sf.jasperreports.engine.jasperfillmanager.fillreport(jasperfillmanager.java:624)     org.springframework.web.servlet.view.jasperreports.abstractjasperreportsview.fillreport(abstractjasperreportsview.java:666)     org.springframework.web.servlet.view.jasperreports.abstractjasperreportsview.rendermergedoutputmodel(abstractjasperreportsview.java:559)     org.springframework.web.servlet.view.abstractview.render(abstractview.java:250)     org.springframework.web.servlet.dispatcherservlet.render(dispatcherservlet.java:1063)     org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:801)     org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:719)     org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:644)     org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:549)     javax.servlet.http.httpservlet.service(httpservlet.java:690)     javax.servlet.http.httpservlet.service(httpservlet.java:803) 

who can me it??

thanks!

change permissions on tomcat temp directory allow tomcat/jasper write it.

see: http://community.jaspersoft.com/questions/543492/javaioioexception-problem-reading-font-data


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -