Cannot access instance member through a class

Item Value
SQLCODE -701
Constant SQLE_CANNOT_ACCESS_INSTANCE_MEMBER
SQLSTATE WJ011
Sybase error code 13607
ODBC 2 State ERROR
ODBC 3 State ERROR

Probable cause 

Non-static fields or methods must be accessed through an object instance.