Re: [xstream-user] ConversionException when using XStream 1.4.2 caused by CannotResolveClassException

2012-07-26 Thread adimaron
Hi Jörg >as said, this *is* the problem. The XStream that you have configured to read >XStream 1.1.x format cannot read XStream 1.4.x, but it will *always* write >XStream 1.4.x. >For up to date XML you will have to use a second XStream instance. Thanks! It works now. I was using an instance

[xstream-user] Re: ConversionException when using XStream 1.4.2 caused by CannotResolveClassException

2012-07-26 Thread Jörg Schaible
Hi Adi, adimaron wrote: > > Hi Jörg > >>You seem to have written the XML in the new format and then try again to >>read it with the 1.1.x compatibility layer. This will not work. > > This is very strange for I am reading and writing with the exact same > xstream object that is only generated o

Re: [xstream-user] ConversionException when using XStream 1.4.2 caused by CannotResolveClassException

2012-07-26 Thread adimaron
Hi Jörg >You seem to have written the XML in the new format and then try again to >read it with the 1.1.x compatibility layer. This will not work. This is very strange for I am reading and writing with the exact same xstream object that is only generated once when my application runs and I did

[xstream-user] Re: ConversionException when using XStream 1.4.2 caused by CannotResolveClassException

2012-07-26 Thread Jörg Schaible
Hi Adi, adimaron wrote: > > Thanks. > I removed that converter alltogether. > However, I am still getting the following (and this is even as I both save > and load the session using ver 1.4.2 so it is not a cross version issue): > > com.thoughtworks.xstream.converters.ConversionException: Could