Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #1608 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

CannotResolveClassException: org.openmrs.User$$EnhancerByCGLIB$$fff1cb7

Reported by: jmiranda Assigned to: somebody
Priority: blocker Milestone:
Component: OpenMRS Code Base Keywords:
Cc: Introductory Ticket: 0
Code Review Status:

Description (Last modified by jmiranda)

OpenMRS Version: 1.5.0 beta2 Build 8803

Related Tickets: #1588, #1604

I added the xstream-1.3.1.jar to my local openmrs-branches-1.5.x workspace, ran a clean build, and deployed the new WAR to Tomcat. I was able to save, retrieve, edit a few cohort definitions (serialization and deserialization was working fine). Then on restart of Tomcat, the exception above is thrown on any request that tries to deserialize the cohort definitions that were saved.

I assume this is due to the fact that the classpath has been refreshed and the class org.openmrs.User$$EnhancerByCGLIB$$fff1cb7d no longer exists. We need to make sure all proxy class references are converted back to openmrs classes during serialization.

Please let me know when that is done in the 1.5.x branch.

Attachments

stacktrace-1604-using-xstream-1.3.1-jar.txt (16.4 kB) - added by jmiranda on 07/01/09 15:18:49.

Change History

07/01/09 15:16:13 changed by jmiranda

  • description changed.

07/01/09 15:18:12 changed by jmiranda

This ticket was originally a comment in #1604. Refer to that ticket for more details.

07/01/09 15:18:49 changed by jmiranda

  • attachment stacktrace-1604-using-xstream-1.3.1-jar.txt added.

07/06/09 15:40:45 changed by bwolfe

I think this is expected behavior until the 1.5.x branch has the other serialization features along with the 1.3.1 xstream jar.

07/27/09 14:38:44 changed by bwolfe

  • status changed from new to closed.
  • resolution set to fixed.

This was resolved when the 1.5.x branch got xstream 1.3.1 and the serialization.xstream module was created.