System does not load the users when using POC, and can not load the clinical assessment page in the clinicians account when using POC

This down is the summary of the errors from the Log file

C:\Users\Okollo\Downloads\ugandaemrtomcat-stdout.2022-08-25.log (149 hits)
Line 1057: ERROR - CommonsLoggingOutput.error(75) |2022-08-25 01:17:55,689| Line=365 The content of element type “dwr” must match “(init?,allow?,signatures?)”.
Line 1058: ERROR - CommonsLoggingOutput.error(75) |2022-08-25 01:17:55,689| Parameter mismatch parsing signatures section in dwr.xml on line: DWRHtmlFormEntryService.checkIfLoggedIn()
Line 1067: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 02:56:33,084| Error during closing writer or stream
Line 1103: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 1114: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 02:56:33,084| Error during closing writer or stream
Line 1150: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 1161: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 02:56:33,084| Error during closing writer or stream
Line 1197: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 1270: ERROR - PageController.handlePath(156) |2022-08-25 03:19:56,650| Error rendering page view for htmlform/enterHtmlFormWithStandardUi. Model properties:
Line 1286: org.openmrs.ui.framework.ViewException: Error rendering page view for htmlform/enterHtmlFormWithStandardUi. Model properties:
Line 1369: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 1380: Caused by: org.openmrs.ui.framework.FragmentException: Error evaluating view: htmlform/enterHtmlForm
Line 1430: ERROR - PageController.handlePath(156) |2022-08-25 03:20:16,743| Error rendering page view for htmlform/enterHtmlFormWithStandardUi. Model properties:
Line 1446: org.openmrs.ui.framework.ViewException: Error rendering page view for htmlform/enterHtmlFormWithStandardUi. Model properties:
Line 1529: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 1540: Caused by: org.openmrs.ui.framework.FragmentException: Error evaluating view: htmlform/enterHtmlForm
Line 1612: ERROR - PageController.handlePath(156) |2022-08-25 03:23:59,960| converting class org.openmrs.Program to org.openmrs.module.webservices.rest.web.representation.DefaultRepresentation@4fa13c22
Line 1691: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 1813: ERROR - SqlExceptionHelper.logExceptions(146) |2022-08-25 03:25:59,765| Communications link failure
Line 1816: WARN - Context.shutdown(957) |2022-08-25 03:25:59,765| Error while shutting down module system
Line 1875: at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
Line 1878: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3900)
Line 2917: Listener.contextDestroyed: Error while shutting down openmrs:
Line 2918: ERROR - Listener.contextDestroyed(548) |2022-08-25 03:25:59,812| Listener.contextDestroyed: Error while shutting down openmrs:
Line 2968: at org.hibernate.internal.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:133)
Line 4028: ERROR - CommonsLoggingOutput.error(75) |2022-08-25 03:32:18,528| Line=365 The content of element type “dwr” must match “(init?,allow?,signatures?)”.
Line 4029: ERROR - CommonsLoggingOutput.error(75) |2022-08-25 03:32:18,528| Parameter mismatch parsing signatures section in dwr.xml on line: DWRHtmlFormEntryService.checkIfLoggedIn()
Line 4127: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 04:10:27,266| Error during closing writer or stream
Line 4163: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 4174: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 04:10:27,266| Error during closing writer or stream
Line 4210: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 12928: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 21:31:27,132| Error during closing writer or stream
Line 12964: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 12975: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 21:31:27,190| Error during closing writer or stream
Line 13011: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13195: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 23:32:00,258| Error during closing writer or stream
Line 13231: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13242: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 23:32:00,258| Error during closing writer or stream
Line 13278: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13289: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-25 23:32:00,287| Error during closing writer or stream
Line 13325: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13336: ERROR - UserFormController.formBackingObject(79) |2022-08-25 23:35:48,247| Error while getting user
Line 13399: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13410: ERROR - UserFormController.formBackingObject(79) |2022-08-25 23:35:53,668| Error while getting user
Line 13473: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13484: ERROR - UserFormController.formBackingObject(79) |2022-08-25 23:36:55,685| Error while getting user
Line 13547: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13583: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-26 01:50:44,428| Error during closing writer or stream
Line 13619: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13630: ERROR - GZIPResponseWrapper.finishResponse(60) |2022-08-26 01:50:44,459| Error during closing writer or stream
Line 13666: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13683: ERROR - UserFormController.formBackingObject(79) |2022-08-26 01:53:09,170| Error while getting user
Line 13746: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13757: ERROR - UserFormController.formBackingObject(79) |2022-08-26 01:53:11,502| Error while getting user
Line 13820: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13831: ERROR - UserFormController.formBackingObject(79) |2022-08-26 01:54:30,556| Error while getting user
Line 13894: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 13915: ERROR - SqlExceptionHelper.logExceptions(146) |2022-08-26 01:55:50,957| Cannot delete or update a parent row: a foreign key constraint fails (openmrs.encounter, CONSTRAINT encounter_ibfk_1 FOREIGN KEY (creator) REFERENCES users (user_id))
Line 13916: ERROR - BatchingBatch.performExecution(141) |2022-08-26 01:55:50,972| HHH000315: Exception executing batch [could not execute batch]
Line 13918: ERROR - UserFormController.handleSubmission(178) |2022-08-26 01:55:51,010| Failed to delete user
Line 14011: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 14047: at com.mysql.jdbc.SQLError.createBatchUpdateException(SQLError.java:1163)
Line 14061: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
Line 14062: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
Line 14063: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
Line 14251: ERROR - UserFormController.formBackingObject(79) |2022-08-26 02:47:46,921| Error while getting user
Line 14313: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 14324: ERROR - UserFormController.formBackingObject(79) |2022-08-26 02:47:48,060| Error while getting user
Line 14386: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 14397: ERROR - UserFormController.formBackingObject(79) |2022-08-26 02:48:21,613| Error while getting user
Line 14459: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 14470: ERROR - UserFormController.formBackingObject(79) |2022-08-26 02:48:45,708| Error while getting user
Line 14532: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 14600: ERROR - UgandaEMRServiceImpl.generateAndSaveUICForPatientsWithOut(210) |2022-08-26 03:13:14,807| Failed to Save UIC for patient #62
Line 14664: ERROR - UgandaEMRServiceImpl.generateAndSaveUICForPatientsWithOut(210) |2022-08-26 03:13:14,811| Failed to Save UIC for patient #63
Line 14728: ERROR - UgandaEMRServiceImpl.generateAndSaveUICForPatientsWithOut(210) |2022-08-26 03:13:14,815| Failed to Save UIC for patient #278
Line 14792: ERROR - UgandaEMRServiceImpl.generateAndSaveUICForPatientsWithOut(210) |2022-08-26 03:13:14,815| Failed to Save UIC for patient #362
Line 14856: ERROR - UgandaEMRServiceImpl.generateAndSaveUICForPatientsWithOut(210) |2022-08-26 03:13:14,819| Failed to Save UIC for patient #265
Line 14920: ERROR - UgandaEMRServiceImpl.generateAndSaveUICForPatientsWithOut(210) |2022-08-26 03:13:14,823| Failed to Save UIC for patient #280
Line 14987: ERROR - UserFormController.formBackingObject(79) |2022-08-26 03:24:58,708| Error while getting user
Line 15049: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 15060: ERROR - UserFormController.formBackingObject(79) |2022-08-26 03:25:01,750| Error while getting user
Line 15122: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Line 15133: ERROR - UserFormController.formBackingObject(79) |2022-08-26 03:26:03,521| Error while getting user
Line 15195: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

1 Like

@Support Team (@slubwama, @solemabrothers, @iakileng ) this review is urgent.

@etwesigye it seems like the user was allocated both the Data Entry role and the Clinician Role. Please Check the user to see the different roles they have.

@slubwama , while troubleshooting the system. i logged in and created an account for clinician with only HIV clinic and provider role. The provider role at the top was also activated and user ID was assigned. I logged out from the admin account into my new account, but the dashboard still contained all the apps yet i expected 3 apps. I tried accessing the encounter form but it came up blank as seen in the screen shot attached.

I logged back into the admin account and edited my roles to triage only, still the dashboard appeared with all the apps. All the accounts, Pharmacy, Counselling, bring all the apps.

@etwesigye you need to check if the “Provider role” or the “HIV Clinic Role” do not inherit any role such as System admin or System Developer.

@slubwama




Attached are shots of the roles Clinician and triage

@etwesigye One of the roles is inheriting the super roles. so there is a need to check those roles such as Triage, Reception, and HIV Clinic.

Steps for checking roles

  1. Go to Legacy System Administration>> Users >> * Manage Roles .
  2. On each role (HIV Clinic, Provider, Reception, Triage), Check to see if these roles don’t inherit any other roles such as Organizational: System Administrator, Privilege Level: Full, System Developer.

If you find any of these, as parent role to the roles you assign a user, uncheck the super roles and save

1 Like

@slubwama @nmayanja . Thank you for the support, the system is now working.

Provider was having System developer, data clerk and System Administrator roles.

2 Likes

Thank you @etwesigye for the feedback. :blush: We are always happy to support