• [SOLVED] Error generating report

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #5035  by daniel
 
When I try to generate any report in admin panel, I get following error:
Code: Select all
2010-05-17 23:55:24,717 DEBUG [net.sf.jasperreports.engine.xml.JRXmlDigesterFactory] Using SAX parser factory class net.sf.jasperreports.engine.xml.JRReportSaxParserFactory
2010-05-17 23:55:24,717 DEBUG [net.sf.jasperreports.engine.xml.JRXmlDigesterFactory] Instantiated SAX parser factory of type org.apache.xerces.jaxp.SAXParserFactoryImpl
2010-05-17 23:55:24,718 DEBUG [net.sf.jasperreports.engine.xml.JRXmlDigesterFactory] Adding components schema at jar:file:/home/OpenKM/server/default/tmp/deploy/tmp7697638163905280037OpenKM-exp.war/WEB-INF/lib/jasperreports-3.5.3.jar!/net/sf/jasperreports/components/components.xsd
2010-05-17 23:55:24,762 DEBUG [net.sf.jasperreports.engine.fill.JRBaseFiller] Fill 17917073: created for Report Registered Users
2010-05-17 23:55:24,763 DEBUG [net.sf.jasperreports.engine.fill.JRBaseFiller] Fill 17917073: filling report
2010-05-17 23:55:24,773 DEBUG [net.sf.jasperreports.engine.fill.JRBaseFiller] Fill 17917073: adding page 1
2010-05-17 23:55:24,773 DEBUG [net.sf.jasperreports.engine.fill.JRVerticalFiller] Fill 17917073: title
2010-05-17 23:55:24,773 ERROR [STDERR] net.sf.jasperreports.engine.JRException: Error generating report
2010-05-17 23:55:24,773 ERROR [STDERR] 	at es.git.openkm.util.ReportUtil.generateReport(ReportUtil.java:73)
2010-05-17 23:55:24,773 ERROR [STDERR] 	at es.git.openkm.backend.server.OKMReportServletAdmin.doGet(OKMReportServletAdmin.java:156)
2010-05-17 23:55:24,773 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
2010-05-17 23:55:24,773 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2010-05-17 23:55:24,773 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
2010-05-17 23:55:24,774 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:619)
2010-05-17 23:55:24,774 ERROR [STDERR] Caused by: net.sf.jasperreports.engine.JRException: Byte data not found at location : 192.168.15.11:8080/OpenKM/es.git.openkm.frontend.Main/../img/logo_report.jpg
2010-05-17 23:55:24,774 ERROR [STDERR] 	at net.sf.jasperreports.engine.util.JRLoader.loadBytesFromLocation(JRLoader.java:488)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.JRImageRenderer.getInstance(JRImageRenderer.java:180)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRFillImage.evaluateImage(JRFillImage.java:948)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRFillImage.evaluate(JRFillImage.java:895)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:260)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:486)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillTitle(JRVerticalFiller.java:312)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:248)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:114)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:911)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:833)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:628)
2010-05-17 23:55:24,775 ERROR [STDERR] 	at es.git.openkm.util.ReportUtil.generateReport(ReportUtil.java:70)
2010-05-17 23:55:24,775 ERROR [STDERR] 	... 22 more
What is the problem? Output PDF was broken.
Last edited by daniel on Wed May 19, 2010 9:09 pm, edited 1 time in total.
 #5040  by jllort
 
Which report have you generated.

Have you make some configuration change ( other database configuration etc... )
 #5058  by daniel
 
Whichever report... Yes, I have made configuration PostgreSQL db.
Last edited by daniel on Tue May 18, 2010 8:32 pm, edited 1 time in total.
 #5064  by jllort
 
Seems the error is caused because have not found some image :
192.168.15.11:8080/OpenKM/es.git.openkm.frontend.Main/../img/logo_report.jpg
Is these image accesible ?
 #5066  by daniel
 
Yes, i have access to 192.168.15.11:8080/OpenKM/es.git.openkm.frontend.Main/../img/logo_report.jpg directly from browser.
 #5082  by jllort
 
in OpenKM.cfg have you put in some place the ip: 192.168.15.11 ? if it's the case could you put http:// in front

Remember you need restarting jboss

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.