I have used the same module locally and on other servers like modules-refapp.openmrs.org which confirmed that your changes fixed the reported problem. So why not on qa-refapp?
So far I donāt know what is happening. At least I narrowed down the issue to metadatamapping owa and conceptidictionary starts correctly.
Hereās the error from qa-refapp:
ERROR - OwaActivator.contextRefreshed(115) |2017-07-06 13:16:16,287| Failed to deploy OWA from zip file: metadatamapping.owa
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:78)
at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1049)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:359)
at org.openmrs.module.owa.impl.DefaultAppManager.installApp(DefaultAppManager.java:95)
at org.openmrs.module.owa.activator.OwaActivator.contextRefreshed(OwaActivator.java:110)
at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:877)
at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:866)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:658)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:637)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:268)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
It seems like an issue with reading manifest.webapp from the zip file, but itās really hard to tell what is causing it. I couldnāt reproduce it locally even running in dockerā¦ @dkayiwa, maybe you could spot whereās the issue. I must be missing something.