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 21:59:12 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


logan.allred@convergys.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From logan.allred@convergys.com  2005-07-29 23:59 -------
We went through the JasperReports source and did find that they are using
several rule classes, including SetNestedPropertiesRule in their code. We
reverted just their jar from 1.0 to 0.6.8, and the problem went away, so it
appears that Jasper is doing something wrong with their rules.

We did notice, however, that digester.getRules() will return a RulesBase if the
rules are null, and this should throw a ClassCastException since I don't believe
that RulesBase will cast to AnyChildRules. As long as the API contract disallows
having null rules in this state, that will be fine, otherwise, that could be a
potential error. Forgive my ignorance of digester if I'm speaking nonsense :).

This bug can be closed for now, as it appears to be a fault in Jasper, unles the
Jasper folks think they're doing things correctly. I've logged a bug with them
for this.



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