1806   Source text is null or blank

Cause

This error occurs when the text passed to the date, time, number, and currency parsing methods of the primitive types is empty or only contains spaces; for example, if the source parameter passed to the parseShortWithCurrentLocale method of the Date primitive type is null.

Action

Change your application logic to handle this invalid input.