Skip to content

Instantly share code, notes, and snippets.

View bashir2's full-sized avatar

Bashir Sadjad bashir2

View GitHub Profile
@bashir2
bashir2 / gist:f4d6c86568fa7b9daab49fb3aad955d6
Created April 15, 2021 08:01
AvroTypeException while converting some Observation resources.
Exception in thread "main" org.apache.beam.sdk.Pipeline$PipelineExecutionException: org.apache.avro.AvroTypeException: Cannot encode decimal with scale 16 as scale 4 without rounding in field value in field quantity in field value
at org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:348)
at org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:318)
at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:213)
at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:67)
at org.apache.beam.sdk.Pipeline.run(Pipeline.java:317)
at org.apache.beam.sdk.Pipeline.run(Pipeline.java:303)
at org.openmrs.analytics.FhirEtl.runFhirFetch(FhirEtl.java:174)
at org.openmrs.analytics.FhirEtl.main(FhirEtl.java:245)
Caused by: org.apache.avro.AvroTypeException: Cannot encode decimal with scale 16 as scale 4 without rounding in field value in field quantity in field value
1f604.png:1 Failed to load resource: the server responded with a status of 404 ()
index.js:235 camelCase syntax for events name (in $emit function) will be deprecated in a future release.
Please, make sure to use kebab-case syntax when emitting events from Vue.
(anonymous) @ index.js:235
raven.js:70 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
raven.js:70 Failed to match emoji unicode URL pattern: https://github.githubassets.com/images/icons/emoji/atom.png?v8
raven.js:1502 POST https://api.github.com/repos/googlecloudplatform/openmrs-fhir-analytics/pulls/86/reviews 403
(anonymous) @ raven.js:1502
(anonymous) @ libs.js:77811
@bashir2
bashir2 / gist:61c0e954b507b4a5cbea32a333e7b36f
Created July 9, 2020 19:58
OpenMRS fhir2 LinkageError
WARN - DefaultProfileValidationSupport.loadStructureDefinitions(322) |2020-07-09T15:51:27,606| Unable to load resource: /org/hl7/fhir/r4/model/profile/profiles-resources.xml
WARN - DefaultProfileValidationSupport.loadStructureDefinitions(322) |2020-07-09T15:51:27,607| Unable to load resource: /org/hl7/fhir/r4/model/profile/profiles-types.xml
WARN - DefaultProfileValidationSupport.loadStructureDefinitions(322) |2020-07-09T15:51:27,607| Unable to load resource: /org/hl7/fhir/r4/model/profile/profiles-others.xml
WARN - DefaultProfileValidationSupport.loadStructureDefinitions(322) |2020-07-09T15:51:27,608| Unable to load resource: /org/hl7/fhir/r4/model/extension/extension-definitions.xml
ERROR - ExceptionHandlingInterceptor.createOperationOutcome(160) |2020-07-09T15:51:28,085| Failure during REST proce
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSourceServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'mutableResourceBundleMessageSource' while setting bean property 'activeMessageSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mutableResourceBundleMessageSource' defined in class path resource [applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transact
@bashir2
bashir2 / fhir2_server_failure_old_cache_effect.log
Last active March 3, 2020 17:34
Error in starting up FHIR2 module (with a tmp/ directory left from a previous run including both FHIR and FHIR2 modules)
WARN - AbstractApplicationContext.refresh(487) |2020-03-03 11:57:53,706| Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0' defined in URL [jar:file:/usr/local/google/home/bashir/openmrs/fhir2-dev/.openmrs-lib-cache/atlas/atlas.jar!/webModuleApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'conditionController' defined in URL [jar:file:/usr/local/google/home/bashir/openmrs/fhir2-dev/.openmrs-lib-cache/emrapi/lib/emrapi-web-pre2.2-1.27.0.jar!/org/openmrs/module/emrapi/web/controller/ConditionController.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.openmrs.module.emrapi.conditionslist.ConditionService]: : No qualifying bean of type [org.openmrs.
@bashir2
bashir2 / fhir2_server_failure_with_old.log
Last active March 3, 2020 22:08
OpenMRS FHIR and FHIR2 modules dependency injection conflict
WARN - AbstractApplicationContext.refresh(487) |2020-03-03 11:30:40,247| Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fhirPatientServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.translators.PatientTranslator org.openmrs.module.fhir2.api.impl.FhirPatientServiceImpl.translator; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientTranslatorImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.translators.PractitionerReferenceTranslator org.openmrs.module.fhir2.api.translators.impl.AbstractProvenanceHandlingTranslator.practitionerReferenceTranslator