matcha
(Helio Machabane)
1
Hi,
We recently upgraded openmrs from 1.11.6 to 2.3.3. All went well except for reportingrest.
On 2.3.3 we are not able to run this request:
http://localhost:8282/openmrs/ws/rest/v1/reportingrest/cohort/ba36b483-c17c-454d-9a3a-f060a933c6da?personUuid=50b541ef-5b20-46c3-bba8-5cd243b7128d
It returns this json:
{
“error”: {
“message”: “[null]”,
“code”: “”,
“detail”: “”
}
}
modules:
Reporting REST 1.11.0
Rest Web Services OMOD 2.29.0.b675eb
Is there anything that as changed in regards to reportingrest for the 2.3.x version.
dkayiwa
(Daniel Kayiwa)
2
Can you share the full server side stack trace via pastebin.com?
matcha
(Helio Machabane)
3
This is the only thing I get from the logs:
BaseRestController.HandleException(115) java.lang.NullPointerException
dkayiwa
(Daniel Kayiwa)
4
share the full tomcat log via pastebin.com
matcha
(Helio Machabane)
5
Hi. So this is the log at the exact moment I make the reportingrest call:
dkayiwa
(Daniel Kayiwa)
6
On your equivalent of this page https://demo.openmrs.org/openmrs/admin/maintenance/systemInfo.htm
share what you have under Module Information
via pastebin.com
matcha
(Helio Machabane)
7
Your link is broken. And I don’t quite understand what you’re saying.
dkayiwa
(Daniel Kayiwa)
8
In the above link, just replace demo.openmrs.org
with what you use on your local instance.
matcha
(Helio Machabane)
9
This is what I have under module information:
dkayiwa
(Daniel Kayiwa)
10
This looks like a bug. Create a ticket and i will raise a pull request.