Oracle Message ORA-24305 - bad bind or define context

ERRORbad bind or define context
CAUSEThe call was executed on a cursor for which this is invalid.
ACTIONVerify that this call is valid for this cursor. For example, Get piece information and set piece information are valid on a cursor if appropriate binds and defines have been done on this cursor.