# Dispense Medication Module Error "UI Framework and Root Error"

**URL:** <https://talk.openmrs.org/t/dispense-medication-module-error-ui-framework-and-root-error/7174>\
**Category:** Development\
**Tags:** module, drug-administration, developers-forum\
**Created:** [July 7, 2016, 1:36pm UTC](https://talk.openmrs.org/t/dispense-medication-module-error-ui-framework-and-root-error/7174 "2016-07-07T13:36:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirajkrsinghit](https://talk.openmrs.org/letter_avatar/nirajkrsinghit/32/5_5575768a8748004e209b776fc1b2916d.png) [@nirajkrsinghit](https://talk.openmrs.org/u/nirajkrsinghit)\
**Post date:** [July 7, 2016, 1:36pm UTC](https://talk.openmrs.org/t/dispense-medication-module-error-ui-framework-and-root-error/7174/1 "2016-07-07T13:36:11Z")

</div>

Click on the dispense medication icon. Its give erro “UI Framework Error Root Error java.lang.RuntimeException: Cannot find tag: null at org.openmrs.module.htmlformentry.element.EncounterDetailSubmissionElement.(EncounterDetailSubmissionElement.java:336)”

Please also find the full log file and screen shot. OpenMRS Version: 1.11.6 Build 0d2192 dispensing-1.0[New Text Document (2).txt](https://talk.openmrs.org/uploads/default/original%20/2X/0/0251fde4ae6da241c5acc4ca65c045b4c2a16a25.txt) (18.5 KB)

 ![](https://talk.openmrs.org/uploads/default/original/2X/7/762cf1b2a34d790e3ce8bbf18d117c2ef019a518.png)

---

<div class="post-metadata">

**Author:** ![nirajkrsinghit](https://talk.openmrs.org/letter_avatar/nirajkrsinghit/32/5_5575768a8748004e209b776fc1b2916d.png) [@nirajkrsinghit](https://talk.openmrs.org/u/nirajkrsinghit)\
**Post date:** [July 15, 2016, 4:09am UTC](https://talk.openmrs.org/t/dispense-medication-module-error-ui-framework-and-root-error/7174/2 "2016-07-15T04:09:19Z")

</div>

@mogoodrich ,I am try to used our dispense 1.0 modules but fund the above error, Can you help me, how to resolved above issue.

---

<div class="post-metadata">

**Author:** ![mogoodrich](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mogoodrich/32/3324_2.png) [@mogoodrich](https://talk.openmrs.org/u/mogoodrich)\
**Post date:** [July 15, 2016, 1:40pm UTC](https://talk.openmrs.org/t/dispense-medication-module-error-ui-framework-and-root-error/7174/3 "2016-07-15T13:40:31Z")

</div>

@nirajkrsinghit, sorry the Dispensing Module is a relatively small, relatively hacky module build for a specific use case. You are welcome to try to use it, and we can help you the best we can, but I don’t know if it’s use is documented at all.

In this case, looking deeper into it, it looks like you need to define a Location Tag named “Dispensing Location” (and then make sure that one of your locations is defined as “Dispensing Location”).

If you get it to work, can you add some documentation for this?

Take care, Mark

---

<div class="post-metadata">

**Author:** ![nirajkrsinghit](https://talk.openmrs.org/letter_avatar/nirajkrsinghit/32/5_5575768a8748004e209b776fc1b2916d.png) [@nirajkrsinghit](https://talk.openmrs.org/u/nirajkrsinghit)\
**Post date:** [August 4, 2016, 4:00pm UTC](https://talk.openmrs.org/t/dispense-medication-module-error-ui-framework-and-root-error/7174/4 "2016-08-04T16:00:52Z")

</div>

Hi mogoodrich, Sorry for delay replay, I created dispensing location tag and mapping to pharmacy location but issue is continuous.

Can you look the screen shot and provide the solution. thanks Niraj

 ![](https://talk.openmrs.org/uploads/default/original/2X/c/c22f1ef139e1e3abc906f638776a52ae289429c0.png)

---

<div class="post-metadata">

**Author:** ![hpardess](https://talk.openmrs.org/letter_avatar/hpardess/32/5_5575768a8748004e209b776fc1b2916d.png) [@hpardess](https://talk.openmrs.org/u/hpardess)\
**Post date:** [March 25, 2017, 6:59pm UTC](https://talk.openmrs.org/t/dispense-medication-module-error-ui-framework-and-root-error/7174/5 "2017-03-25T18:59:57Z")

</div>

Have you solved this issue? I am also facing same issue. Here is another relevant post [Drug Order Model](https://talk.openmrs.org/t/drug-order-model/8889/20)
