From the mailing list (http://markmail.org/message/eqrtl73zf2buh76u):
I have a not serializable object X stored in a page. It leads to an
NotSerializableException during page storing. The problem is that this
page contains also a DetachableArrayList (from WicketStuff minis)
which raises an exception when is stored as attached.
1. JavaSerializer tries to serialize page and calls:
2. NotSerializableException is catched for object X and
SerializableChecker is called:
new SerializableChecker(outputStream, nsx).writeObject(obj);
3. During that call exception is raised from
AbstractDetachableCollection.writeObject and this new exception is
The original NotSerializableException from step 2 is lost and we don't
know what really causes problem.