With version 1.1 of msm-javolution-serializer a
java.util.Collections$EmptyList cannot be deserialized. When a session is
loaded from memcached with such an element (class attribute), this fails
with the following exception:
Jan 4, 2010 12:11:59 AM
de.javakaffee.web.msm.serializer.javolution.ReflectionFormat readElements
SEVERE: Could not set field value for field private final java.util.List
org.app.SomeClass._someField
javolution.xml.stream.XMLStreamException caused by
java.lang.IllegalAccessException: Class javolution.xml.XMLFormat can not
access a member of class java.util.Collections$EmptyList with modifiers
"private"
at javolution.xml.XMLFormat.newInstance(XMLFormat.java:264)
at
javolution.xml.XMLFormat$InputElement.readInstanceOf(XMLFormat.java:499)
at javolution.xml.XMLFormat$InputElement.get(XMLFormat.java:403)
at
de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.readElements(R
eflectionFormat.java:226)
Original issue reported on code.google.com by martin.grotzke on 3 Jan 2010 at 11:16
Original issue reported on code.google.com by
martin.grotzke
on 3 Jan 2010 at 11:16