Unable to locate named class SIMPLE when fetching drug orders

Hello,

I just upgraded from openmrs-core from 1.9.10 to 1.12.0 and I can’t now display a fragment that shows list of drug orders. I thought it is data related issue i.e. NULL values in orders related tables but I can’t find out the cause. Has someone else experienced a similar error before or does anyone know how to approach it?

Please find the error details at https://pastebin.com/bRMpXrsd. I use reporting 0.9.9, reportingcompatibility-1.5.8

I will appreciate your help. @mseaton @dkayiwa @ssmusoke

1 Like

Is this of any help? https://wiki.openmrs.org/display/docs/Prepare+for+Upgrading+From+a+Pre-1.10+to+1.10+or+Later+Version

Thanks for the quick response. I tried to automate most of the requirements except All drugs with a dose_strength specified have the units field set too as I didn’t understand all it requires. The upgrade was successful and the error is encountered when viewing a page showing list of orders.

Do you know where the class SIMPLE is used?

Can you check in the database table data?

Sorry I din’t get the name of the table.

You could start with drug_order

I can’t seem to find what causes this. It seems to be originating from reporting module.

Is this of help? OrderService#getOrders mis-behaving

This appears to be it. Let me try out the solution and provide feedback. Thanks so much for your help.

@dkayiwa that solves the problem. upgrading from 1.9.10 to 1.11.6 to 1.12.0 seems not to have the problem though. Thanks so much for helping out. this really harassed me.