Hi, I found there is a try/catch block to catch Exception in EntityUtilProperties.getSystemPropertyValue(). Which will catche a NPE (delegator is null) when this method is called in framework/widget/templates/HtmlFormMacroLibrary.ftl but we only get a waring message in the log file.
So I think we should catch GenericEntityException rather than Exception here to expose NPE or other runtime exceptions. Thanks, Wei ----- 程序羊 -- View this message in context: http://ofbiz.135035.n4.nabble.com/Should-not-catch-Exception-in-EntityUtilProperties-getSystemPropertyValue-tp4702833.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.