commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35923] - [digester] SetNestedPropertiesRule throws a ClassCastException
Date Fri, 29 Jul 2005 14:52:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35923>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35923





------- Additional Comments From logan.allred@convergys.com  2005-07-29 16:52 -------
(In reply to comment #1)
> By "using Commons Digester 1.7 with Jasper Reports", do you mean that you have
> written code that explicitly sets up digester rules to parse the report document?

No, I'm just using the built-in functionality of JasperReports. They use
digester internally to parse the XML report files, I never interract with
digester directly.

 
> This is a pretty odd problem. Some initial thoughts are:
> * is this parsing occurring within a multi-threaded program, with the same
> Digester instance potentially being used by multiple threads at once?
> * are some custom Digester rules being used [which might be incorrectly messing
> with Digester's Rules object]?

This application is multi-threaded, but the error occurred when we updated our
test system to JasperReports 1.0, so the reports were all being run on a single
thread, one at a time. In the production system, it will not be likely/common
that 2 users will print a report at exactly the same time, but it is a definite
possibility. Though I don't believe they would use the same digester instance,
unless JasperReports reuses the same instance for all report parsing. I will
check into that.

I suppose JasperReports could be using some custom Digester rules. I will
research that today and see what I can find out.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message