Jump to content
Changes to the Jaspersoft community edition download ×

Error Digester


2004 IR Help

Recommended Posts

By: nauber - nauber

Error Digester

2005-09-20 10:18

I try to compile a jrxml file using the class

JasperCompileManager

.compileReportToFile("c:/relatorios/consulta01.jrxml");

 

and the follow exception is generated:

 

13:55:46 org.apache.commons.digester.Digester startElement

SEVERE: Begin event threw exception

java.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 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.commons.digester.Digester.parse(Digester.java:1647)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:236)

at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:223)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:211)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:165)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:149)

at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:81)

at report.EngineReport.doDinamicReport(EngineReport.java:480)

at report.EngineReportTest.main(EngineReportTest.java:196)

Error at line 19 char 29: null

Error at line 19 char 29: null

java.lang.NullPointerException

 

Somebody can help me?

 

 

 

 

By: Varun Chudiwale - varun_lucky

RE: Error Digester

2005-11-18 12:26

try to use absolute path for jrXML.

-Varun

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