Skip to content

Instantly share code, notes, and snippets.

@slubwama
slubwama / gist:c2be87762e91765469c1a7d99c588f5d
Last active August 13, 2020 11:08
PatientProgramAttribute ConversionException
{
"error": {
"message": "[converting class org.openmrs.PatientProgramAttribute to org.openmrs.module.webservices.rest.web.representation.DefaultRepresentation@2593940a]",
"code": "org.openmrs.module.webservices.rest.web.ConversionUtil:409",
"detail": "org.openmrs.module.webservices.rest.web.response.ConversionException: converting class org.openmrs.PatientProgramAttribute to org.openmrs.module.webservices.rest.web.representation.DefaultRepresentation@2593940a\n\tat org.openmrs.module.webservices.rest.web.ConversionUtil.convertToRepresentation(ConversionUtil.java:409)\n\tat org.openmrs.module.webservices.rest.web.ConversionUtil.convertToRepresentation(ConversionUtil.java:373)\n\tat org.openmrs.module.webservices.rest.web.resource.impl.DelegatingResourceDescription$Property.evaluate(DelegatingResourceDescription.java:249)\n\tat org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingConverter.convertDelegateToRepresentation(BaseDelegatingConverter.java:144)\n\tat org.open
java.lang.RuntimeException: Cannot handle datatype: N/A (for concept 90171)
at org.openmrs.module.htmlformentry.element.ObsSubmissionElement.prepareWidgets(ObsSubmissionElement.java:956)
at org.openmrs.module.htmlformentry.element.ObsSubmissionElement.<init>(ObsSubmissionElement.java:231)
at org.openmrs.module.htmlformentry.handler.ObsTagHandler.doStartTag(ObsTagHandler.java:47)
at org.openmrs.module.htmlformentry.HtmlFormEntryGenerator.applyTagsHelper(HtmlFormEntryGenerator.java:627)
at org.openmrs.module.htmlformentry.HtmlFormEntryGenerator.applyTagsHelper(HtmlFormEntryGenerator.java:644)
at org.openmrs.module.htmlformentry.HtmlFormEntryGenerator.applyTagsHelper(HtmlFormEntryGenerator.java:644)
at org.openmrs.module.htmlformentry.HtmlFormEntryGenerator.applyTagsHelper(HtmlFormEntryGenerator.java:644)
at org.openmrs.module.htmlformentry.HtmlFormEntryGenerator.applyTagsHelper(HtmlFormEntryGenerator.java:644)
at org.openmrs.module.htmlformentry.HtmlFormEntryGenerator.applyTagsHelper(HtmlFormEntryGener
[ERROR] Failed to execute goal on project platform-uganda: Could not resolve dependencies for project org.openmrs.distro:platform-uganda:pom:1.0.5-SNAPSHOT: Failed to collect dependencies at org.openmrs.module:appui-omod:jar:1.5.1: Failed to read artifact descriptor for org.openmrs.module:appui-omod:jar:1.5.1: Failure to find org.openmrs.distro:referenceapplication:pom:2.4-SNAPSHOT in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException