Error: Unable to deserialize object

Yes, the problem was that after upgrading to a newer version of javaassist, serialization-xstream was (potentially) corrupting reports when saving them.

I put the fix to serialization-xstream and released it (v2.9). @arbaughj it does look like you are using the latest version, so you should be okay going forward. However, you will have to manually clean up the existing reports. Thanks for including the dump of your serialization export table!

You’ll need to go in and manually remove all the “_$$_jvst35_41” strings from your database. ie, change:

class=“org.openmrs.User_$$_jvst35_41” class=“org.openmrs.User”

Looks like there are 15 matches the dump you send me. Note that the numbers after the 'jvst" vary, so unfortunately you can’t correct with a single search and replace.

fwiw, I would fix a couple first, test to make sure it worked, and then resave and make sure the problem isn’t reocurring.

Hope this helps!

Take care, Mark

1 Like