Misleading error message when app.json file is invalid

I was updating a module with an app description json file, when I got this error:

java.io.FileNotFoundException: URL [jar:file:/tmp/tomcat7-tomcat7-tmp/1464872093564.openmrs-lib-cache/module/module.jar!/apps/module_app.json] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/tmp/tomcat7-tomcat7-tmp/1464872093564.openmrs-lib-cache/module/module.jar!/apps/module_app.json

It turned out I had just missed a comma :smiley:

1 Like