When a sendOrderConfirmation runs it calls InitTheme.groovy. But then there is no request and InitTheme fails The script was improved to escape if the request is empty and try before to resolve the visualThemeId from the context Tanks Jacques for the catch git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811042 13f79535-47bb-0310-9956-ffa450edef68