STANBOL-1222: merged fixed of a possible exception within debug level logging code to trunk

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