Some constant types are never used so they can be swallowed which means returning null. That could trigger an NPE so make sure it doesn't.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1624139 13f79535-47bb-0310-9956-ffa450edef68