Fixed nullpointer when a string is request from a null clob field

When a clob field has a NULL value and the string value was requested this resulted in a nullpointer exception. This pull request fixes that.