I had put an attempted fix in on this issue previously due to these proxy serialization issues (See
KULRICE-5566) but that created another problem w/ circular references when there were bidirectional proxied OJB relationships. The nature of the problems w/ XStream 1.4.1 seems to relate to the CGLIB support being removed (see http://xstream.codehaus.org/faq.html#Serialization_CGLIB), but my attempt at configuring XStream w/ the CGLIBMapper and CGLIBEnhancedConverter resulted in an exception that CGLIBMapper$Marker couldn't be instantiated as it doesn't have a no args constructor.
To reproduce the problem (which I am thinly documenting here as I don't have things setup to repro it currently) pull in r21210 of XmlObjectSerializerServiceImpl.java and set the XStream version in the root pom to 1.4.1 – you'll also have to make a small change to SerializerServiceBase.java to deal with a renamed method (see line 105, serializableFieldsFor -> fieldsFor). Then:
- go to Rice portal Main tab
- Under KRMS Rules, click the Agenda Lookup link
- Do an empty search
- Click the "edit" link on My Fabulous Agenda
- Set the Campus to "BL"
- Click the Save button