yomisma2 - 2012-01-12

Hello,

I'm trying to create a new report with i-report. I've follow this link to do that:
http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/How_to_develop_a_report

But when I try to execute the process I get the next error:

java.io.FileNotFoundException:
D:\apache-tomcat-6.0.32\webapps\openbravo\src-loc\design\org\teru\reports\ad_report\Terceros.jrxml
(El nombre de archivo, directorio o etiqueta del volumen no es válido)

If I go to this directory I can see the Terceros.jrxml and Terceros.jasper. Do you
know what I'm doing wrong?

In openbravo's log file I get the next error:

90d552f7 2012-01-11 18:26:30,437  ERROR org.openbravo.erpCommon.utility.PrintJR - Error captured:
javax.servlet.ServletException: java.io.FileNotFoundException: D:\apache-tomcat-6.0.32\webapps\openbravo\src-loc\design\org\teru\reports\ad_report\Terceros.jrxml
(El nombre de archivo, directorio o etiqueta del volumen no es válido)
at org.openbravo.erpCommon.utility.PrintJR.createParameters(PrintJR.java:87)
at org.openbravo.erpCommon.utility.PrintJR.doPost(PrintJR.java:57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:483)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81)
at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)
at java.lang.Thread.run(Thread.java:619)
Caused by: net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException: D:\apache-tomcat-6.0.32\webapps\openbravo\src-loc\design\org\teru\reports\ad_report\Terceros.jrxml
(El nombre de archivo, directorio o etiqueta del volumen no es válido)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:172)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)
at org.openbravo.erpCommon.utility.PrintJR.createParameters(PrintJR.java:81)
… 28 more
Caused by: java.io.FileNotFoundException: D:\apache-tomcat-6.0.32\webapps\openbravo\src-loc\design\org\teru\reports\ad_report\Terceros.jrxml
(El nombre de archivo, directorio o etiqueta del volumen no es válido)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
… 30 more
90d552f7 2012-01-11 18:26:30,437  INFO  org.openbravo.erpCommon.utility.ErrorTextParserPOSTGRE - did not find constraint name for error message: java.io.FileNotFoundException: D:\apache-tomcat-6.0.32\webapps\openbravo\src-loc\design\org\teru\reports\ad_report\Terceros.jrxml
(El nombre de archivo, directorio o etiqueta del volumen no es válido)

I hope you can tell me what is happening.

Thank you.