This is probably a workaround (the ideal solution is to get the ViewHandlerException better treated by the view handler framwork) but it works to avoid the ugly 'not valid PDF stream' message returned before. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564615 13f79535-47bb-0310-9956-ffa450edef68