commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Mistroni" <mmistr...@waersystems.com>
Subject Error with digester and JasperReports / IllegalAccessError & setNestedPropertiesRule
Date Wed, 04 Jan 2006 16:17:34 GMT
Hello all,
	I am running JasperReports v. 1.1.0, that uses Digester 1.7

In running my report I got following exception

04/01/06 15:55:19:797 GMT]  c563211 Digester      E
org.apache.commons.digester.Digester  TRAS0014I: The following exception was
logged java.lang.IllegalAccessError:
org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule tried to
access field org/apache/commons/digester/Digester.log from class 
	at
org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule.body(SetNes
tedPropertiesRule.java:393)
	at org.apache.commons.digester.Rule.body(Rule.java:240)
	at
org.apache.commons.digester.Digester.endElement(Digester.java:1028)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
	at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.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.commons.digester.Digester.parse(Digester.java:1548)
	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(JasperC
ompileManager.java:107)
	at
com.waersystems.reports.util.ReportCompiler.compileReport(ReportCompiler.jav
a:109)
	at
com.waersystems.reports.util.ReportCompiler.getReport(ReportCompiler.java:58
)
	at
com.waersystems.reports.util.ReportGenerator.generateReport(ReportGenerator.
java:118)
	at
com.waersystems.reports.servlet.ReportServlet.doPost(ReportServlet.java:106)
	at
com.waersystems.reports.servlet.ReportServlet.doGet(ReportServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle
tInstance.java:110)
	at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy
cleServlet.java:174)
	at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ
let.java:313)
	at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc
leServlet.java:116)
	at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java
:283)
	at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer
vletReferenceState.java:42)
	at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns
tanceReference.java:40)
	at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(
WebAppRequestDispatcher.java:1019)
	at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques
tDispatcher.java:592)
	at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest
Dispatcher.java:204)
	at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
	at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker
.java:286)
	at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C
achedInvocation.java:71)
	at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq
uestProcessor.java:182)
	at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene
r.java:334)
	at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav
a:56)
	at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)
.
                                 java.lang.IllegalAccessError:
org.apache.commons.digester.SetNestedPropertiesRule$An


I had this error before and fixed long time ago.... but now I don't remember
how I fix it... was it to revert to digester 1.6

Do I have to revert to an earlier version of commons-digester?
I am using following libraries

Digester 1.7
BeanUtils 1.5
Collections 2.1
Logging 1.0.2
Logging-api 1.0.2

Anyone could help?

Thanks in advance and regards
 marco









---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message