Skip to content

XStreamMarshaller doesn't set the converterRegistry field with XStream 1.4.5 [SPR-11147] #15774

@spring-projects-issues

Description

@spring-projects-issues

Tomas Repel opened SPR-11147 and commented

When using XStreamMarshaller, I get following error

XStream marshalling ended with exception org.springframework.oxm.MarshallingFailureException: XStream marshalling exception;
nested exception is com.thoughtworks.xstream.converters.ConversionException: No converter specified for class springtest.xmlmarshalling.Data

After some debugging, I think the problem is that XStreamMarshaller's converterRegistry field is not initialized (it remains NULL, unlike the converterLookup field just a line above) and when the XStream object is being created in constructXStream() method, the NULL value causes that no converter is registered.

Let me know if you need more details or example war to reproduce this.


Affects: 4.0 RC2

Referenced from: commits 26d1438

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions