Skip to content

Instantly share code, notes, and snippets.

Avatar

solemabrothers

View GitHub Profile
View Error Message from REST Webservices
{
"error": {
"message": "[obs on class org.openmrs.EncounterType]",
"code": "org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResource:762",
"detail": "org.openmrs.module.webservices.rest.web.response.ConversionException: obs on class org.openmrs.EncounterType\r\n\tat org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResource.getProperty(BaseDelegatingResource.java:762)\r\n\tat org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResource.setConvertedProperties(BaseDelegatingResource.java:682)\r\n\tat org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.update(DelegatingCrudResource.java:144)\r\n\tat org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.update(MainResourceController.java:134)\r\n\tat sun.reflect.GeneratedMethodAccessor1976.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Me
View Post Content to the EMR
{
"patient": {
"person": "dcae2f5e-9979-4b0f-9ba6-3e2a215a6462",
"identifiers": [
{
"identifier": "MOH 1106",
"identifierType": "3c76abfd-5e2d-4194-b0d4-00b73c7fc1ac"
}
]
},
View Maven Release Error
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project ugandaemrreports: Failed to deploy artifacts: Could not transfer artifact org.openmrs.module:ugandaemrreports:pom:2.0.14 from/to openmrs-repo-modules (https://mavenrepo.openmrs.org/nexus/content/repositories/modules): Failed to transfer file https://openmrs.jfrog.io/artifactory/modules/org/openmrs/module/ugandaemrreports/2.0.14/ugandaemrreports-2.0.14.pom with status code 401 -> [Help 1]
View Active Clients in Care
org.openmrs.module.reporting.evaluation.EvaluationException: Failed to evaluate data set 'ACTIVEONCARE_LIST' because:
Failed to evaluate Error evaluating because:
No row with the given identifier exists: [org.openmrs.Form#32]
at org.openmrs.module.reporting.report.definition.evaluator.DefaultReportDefinitionEvaluator.evaluate(DefaultReportDefinitionEvaluator.java:82)
at org.openmrs.module.reporting.report.definition.evaluator.DefaultReportDefinitionEvaluator.evaluate(DefaultReportDefinitionEvaluator.java:35)
at org.openmrs.module.reporting.definition.service.BaseDefinitionService.executeEvaluator(BaseDefinitionService.java:369)
at org.openmrs.module.reporting.definition.service.BaseDefinitionService.evaluateBypassingExclusionOfTestPatients(BaseDefinitionService.java:272)
at org.openmrs.module.reporting.definition.service.BaseDefinitionService.evaluate(BaseDefinitionService.java:229)
at org.openmrs.module.reporting.report.definition.service.ReportDefinitionServiceImpl.evaluate(ReportDefinitionServiceImpl
View Maternity Register Error
'Encounter: [(no ID) Thu Apr 23 00:00:00 EAT 2020 (no Type) Soroti RR Hosp 3773 HMIS MCH 006: Integrated Maternity Register num Obs: [obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null, obs id is null] num Orders: 0 ]' failed to validate with reason: encounterType: Encounter type is Required
View OpenMRS Server Log
INFO - LoggingAdvice.invoke(116) |2020-04-14 09:38:16,616| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: event.started value: true,
INFO - LoggingAdvice.invoke(156) |2020-04-14 09:38:16,658| Exiting method saveGlobalProperty
INFO - LoggingAdvice.invoke(116) |2020-04-14 09:38:16,667| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: event.mandatory value: false,
INFO - LoggingAdvice.invoke(156) |2020-04-14 09:38:16,677| Exiting method saveGlobalProperty
INFO - LoggingAdvice.invoke(116) |2020-04-14 09:38:16,833| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: legacyui.started value: true,
INFO - LoggingAdvice.invoke(156) |2020-04-14 09:38:16,850| Exiting method saveGlobalProperty
INFO - LoggingAdvice.invoke(116) |2020-04-14 09:38:16,864| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: legacyui.mandatory value: false,
INFO - LoggingAdvice.invoke(156)
@solemabrothers
solemabrothers / DHIS2 Cetificate Error
Created Feb 12, 2020
This is the error that comes now when i submit data to DHIS2
View DHIS2 Cetificate Error
DEBUG - ReportServiceImpl.loadRenderedOutput(579) |2020-02-12 22:34:33,313| Loading Rendered Output for ReportRequest
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1639)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
View gist:1d35d0154c8f1bff47c9be97651095bc
SEVERE: Servlet.service() for servlet [openmrs] in context with path [/openmrs] threw exception [Handler processing failed; nested exception is java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class
loader (instance of org/openmrs/module/ModuleClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILo
ggerFactory used in the signature] with root cause
java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/openmrs/module/ModuleClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/
apache/catalina/loader/WebappClassLoader) f
View alivedatabase.log
INFO - LoggingAdvice.invoke(155) |2018-11-05 13:43:58,959| Exiting method saveGlobalProperty
INFO - LoggingAdvice.invoke(115) |2018-11-05 13:43:58,965| In method SchedulerService.saveToMemento. Arguments:
INFO - LoggingAdvice.invoke(155) |2018-11-05 13:43:58,994| Exiting method saveToMemento
INFO - ServiceContext.startRefreshingContext(823) |2018-11-05 13:43:59,005| Refreshing Context
WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2018-11-05 13:44:34,622| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2018-11-05 13:44:36,503| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
INFO - ServiceContext.doneRefreshingContext(834) |2018-11-05 13:44:36,506| Done refreshing Context
INFO - LoggingAdvice.invoke(115) |2018-11-05 13:44:43,455| In method ReportService.deleteOldReportRequests. Arguments:
INFO - LoggingAdvice.invoke(155) |2018-11-05 13:44:43,463| Exiting method deleteOldReportRequests
WARN - ModuleUtil.refreshApplicati
You can’t perform that action at this time.