I have been trying to do a little project that needs an appendable ObjectOutputStream. I have gone through a couple of solutions and i found this It seemed to solve my probl
No clear answer for you, but some thoughts and things to try:
The stack trace includes at java.util.ArrayList.readObject(Unknown Source), which indicates the problem occurs while deserializing a class containing an ArrayList. Narrow your problem down by commenting out the private ArrayList
Do you have the same problem if you generate a single file without using your appender? If so, create two forms of the same content: one with appender, one without. Diffs?
I do see one other reference to a similar problem, no solution. Also uses the same appender: Serialization/deserialization ClassCastException: x cannot be cast to java.io.ObjectStreamClass