Jump to content

Jasper jrxml will not compile within JBoss


heffingtond

Recommended Posts

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/te

stReport.jrxml

09:17:16,651 ERROR [Digester] Begin event threw exception

java.lang.NullPointerException

at org.apache.commons.digester.FactoryCreateRule.getFactory(FactoryCreat

eRule.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 Sour

ce)

at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou

rce)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Sourc

e)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen

t(Unknown Source)

at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanR

ootElementHook(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent

Dispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un

known 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 Sour

ce)

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(Unknown

Source)

at cpa.app.fiscal.investments.actions.PrintPdfAction.execute(Unknown Sou

rce)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...