Joda-time serialization problem

I have no direct clues, but an exception with following message

Caused by: 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               : be.vlaanderen.winterdienst.eigenpersoneel.domain.Winterperiode
required-type       : org.joda.time.chrono.ISOChronology
path                : /be.vlaanderen.winterdienst.eigenpersoneel.domain.Winterperiode/aanvangsDatum/iChronology
line number         : 15
-------------------------------

Was caused by using Java7. Reverting to Java6 fixed the problem.
This was using joda-time 1.5. It may be fixed in more recent versions.

Leave a Reply

Your email address will not be published. Required fields are marked *

question razz sad evil exclaim smile redface biggrin surprised eek confused cool lol mad twisted rolleyes wink idea arrow neutral cry mrgreen

*