Cause: The call was executed on a cursor for which this is invalid. See the solution below.
Error solution: Verify 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.
Database version: Oracle 11g Release 2 (11.2)