Recently I notice each time I created drugs order in Bahmni the quotation is not created automatically in OpenERP. I tried to check the atomfeed properties and the bahmni-erp-connect but both seems to be working.
However when I go to “Atomfeed-Console” in bahmni > OpenMRS I get the following error in the javascript console (browser)
GET https://192.168.33.10/atomfeed-console/apps/OpenMRS/feedStatus 500 (Internal Server Error)
I have found the log for the error above and its something like this
java.lang.NullPointerException: null
at org.ict4h.service.AppStatusService.getAppStatus(AppStatusService.java:42) ~[atomfeed-console.jar!/:1.0-SNAPSHOT]
at org.ict4h.controllers.AppStatusController.getAppStatus(AppStatusController.java:29) ~[atomfeed-console.jar!/:1.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_79]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_79]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar!/:4.2.4.RELEASE]
But I am not sure what causes the null pointer. Any clues ?
4 Check Shop Mapping in OpenERP < checked
5. Check Units to Be Synced in OpenERP < checked
6. By the way the synching issue only for drugs, because when I added new customer in Bahmni it gets created as well in OpenERP.
Hi @abiieez,
Can you confirm whether you have added only new drug with existing Drug concept OR added both new drug and new drug concept from OpenMRS. Also share the screenshot of the new drug.
The issue seems someone changed the admin password. Not knowing the same credentials is used by atom feed. Changing the atomfeed.properties with the new password solved the issue.