HCAT-163 NPE when illustrating a relation

git-svn-id: https://svn.apache.org/repos/asf/incubator/hcatalog/trunk@1460850 13f79535-47bb-0310-9956-ffa450edef68
HCATALOG-619 Backing out commit as it caused the builds to break.


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