lena5il Posted February 25, 2007 Share Posted February 25, 2007 Hello, I have a working application that is running on Tomcat-6on WinXp. When I tryed to install it on another machine (Resin-2.1.16 on Win Server 2003), the part of the application which should create jasperreport doesn't work: it falls on the compilation of the jrxml file and I get the following exception: java.lang.NullPointerException [2007-02-25 09:04:05.414] at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899) [2007-02-25 09:04:05.414] at org.apache.commons.digester.Digester.parse(Digester.java:1647) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:238) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:213) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151) [2007-02-25 09:04:05.414] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:81) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.StatusReportIntegration.createCAF(StatusReportIntegration.java:140) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.StatusReportIntegration.compileAndFillReports(StatusReportIntegration.java:120) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.StatusReportIntegration.<init>(StatusReportIntegration.java:38) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.ProductStatusBean.createProductStatusReport(ProductStatusBean.java:111) [2007-02-25 09:04:05.414] at com.modelity.structures.jasperreports.ProductStatusBean.setProductId(ProductStatusBean.java:30) [2007-02-25 09:04:05.414] at _jsp._statusreport__jsp._jspService(_statusreport__jsp.java:53) [2007-02-25 09:04:05.414] at com.caucho.jsp.JavaPage.service(JavaPage.java:75) [2007-02-25 09:04:05.414] at com.caucho.jsp.Page.subservice(Page.java:506) [2007-02-25 09:04:05.414] at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182) [2007-02-25 09:04:05.414] at com.caucho.server.http.Invocation.service(Invocation.java:315) [2007-02-25 09:04:05.414] at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) [2007-02-25 09:04:05.414] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253) [2007-02-25 09:04:05.414] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171) [2007-02-25 09:04:05.414] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [2007-02-25 09:04:05.414] at java.lang.Thread.run(Thread.java:534) Here is my classpath: ..libactivation.jar;..libjdom.jar;..libjtds-1.1.jar;..liblog4j-1.2.8.jar;..libservlet.jar;..libxerces.jar;..libxercesImpl.jar;..libxercesSamples.jar;..libaxis.jar;..libjaxrpc.jar;..libmail.jar;..libcommons-logging.jar;..libcommons-discovery.jar;..libxml-apis.jar;..libsaaj.jar;..libhsqldb.jar;..libaxis.jar;..libwsdl4j.jar;..libvelocity-1.4.jar;..libpoi-2.5.1-final-20040804.jar;..libpoi-scratchpad-2.5.1-final-20040804.jar;..libpoi-contrib-2.5.1-final-20040804.jar;C:resin-2.1.16webappstwWEB-INFclasses;.;..libcommons-beanutils-1.5.jar;..libcommons-collections-2.1.jar;..libcommons-digester-1.7.jar;..libcommons-discovery.jar;..libcommons-logging-1.0.2.jar;..libcommons-logging-api-1.0.2.jar;..libitext-1.3.1.jar;..libeditor.jar;..libjasperreports-1.2.0.jar Can anyone help me with this? Regards,Elena Link to comment Share on other sites More sharing options...
lena5il Posted February 28, 2007 Author Share Posted February 28, 2007 Anyone has an idea? 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