Hello,

I have a working application that is running on Tomcat-6
on 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(StatusReportInte
gration.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

-- 
View this message in context: 
http://www.nabble.com/NullPointerException-while-compiling-the-report-tf3286576.html#a9142003
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to