Field '%1' of class '%2' cannot be null

Item Value
SQLCODE -649
Constant SQLE_FIELD_CANNOT_BE_NULL
SQLSTATE WW015
Sybase error code 13741
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The name of the field which cannot be null.
Parameter 2 The name of the class which has the field.

Probable cause 

An attempt was made to store a SQL null value in a Java object field which has a Java type that cannot be null. For example, the Java 'int' type cannot be null.