Error with Appointment Management App

Hello , I have moved OpenMRS from windows server to Linux Server. After the migration process, OpenMRS is working fine except for the Appointment Managment App. When I select Appointment Scheduling >Manage Appointments I get the following error after searching and selecting a patient

After selecting the patient, I get the following error

This is the logs

If I go to the patient dashboard and select appointments from there. The page works fine.

image

Any help is much appreciated

Anyone has experience in migrating from Windows to Linux … what would be the issue in my case. OpenMRS worked fine on Windows but I had some issues with Linux

I managed to replicate the issue on demo.openmrs.org login to the demo system and then click here

https://demo.openmrs.org/openmrs/coreapps/findpatient/findPatient.page?app=appointmentschedulingui.schedulingAppointmentApp&

Then select any patient and the error will be reproduced

Did you create a ticket for this?

same as this one https://issues.openmrs.org/browse/AM-192