heffingtond Posted February 13, 2007 Share Posted February 13, 2007 Hi. I have developed some utility methods to render a PDF from data objects contained in my web application. The web app is running in the JBoss container. I have tested the code outside the JBoss environment and it works fine. However, when I attempt to integrate the code in my web app, the jrxml fails to compile. This is the same jrxml that compiles outside JBoss. A portion of the stack trace is attached to this message. Any ideas why the jrxml would fail to compile under JBoss with a null pointer exception? 09:17:16,323 INFO [sTDOUT] ReportUtil: xmlPathAndName is C:MyServerJbossv4.0.3Customserverdefault.tmpdeploytmp25048investments-exp.war./reporting/testReport.jrxml09:17:16,651 ERROR [Digester] Begin event threw exceptionjava.lang.NullPointerException at org.apache.commons.digester.FactoryCreateRule.getFactory(FactoryCreateRule.java:489) at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:389) at org.apache.commons.digester.Digester.startElement(Digester.java:1361) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1647) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:238) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:213) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:81) at cpa.app.fiscal.investments.reports.ReportUtil.buildPDFReport(UnknownSource) at cpa.app.fiscal.investments.actions.PrintPdfAction.execute(Unknown Source) 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