Joda dateTime Exception

801 Views Asked by At

We are getting this exception only with componentTests (service tests).

> com.thoughtworks.xstream.converters.ConversionException: Cannot create
> org.joda.time.chrono.ISOChronology$Stub by JDK serialization : null :
> Cannot create org.joda.time.chrono.ISOChronology$Stub by JDK
> serialization : null
> ---- Debugging information ---- message             : Cannot create org.joda.time.chrono.ISOChronology$Stub by JDK serialization : null
> cause-exception     :
> com.thoughtworks.xstream.converters.reflection.ObjectAccessException
> cause-message       : Cannot create
> org.joda.time.chrono.ISOChronology$Stub by JDK serialization : null
> class               :
> com.orbitz.tbs.model.txn.reservation.ReservationInfo
> required-type       : org.joda.time.chrono.ISOChronology$Stub
> path                :
> /com.orbitz.tbs.model.txn.reservation.ReservationInfo/reservationsByLocator/entry/com.orbitz.tbs.model.txn.BookReservation/reservationDate/iChronology

When we actually run the code, we don't get any errors. Can anyone tell me what library versions should we use?

We updated to JDK 8 from 6 and that is when we started getting this error.

0

There are 0 best solutions below