Check for null value.

git-svn-id: http://svn.code.sf.net/p/jbidibc/code@831 87107999-b52a-42af-a34b-1e85ba8a0939