Hi,I've been going through open Jira issues and found TOMEE-1399. and just submitted a PR for this.
Basically, this is to move an if statement earlier in the code to avoid a potential Null Pointer Exception.
https://github.com/apache/tomee/pull/675 Can someone take a look and see if this is OK? Thanks, David. -- David Salter
