We get the same error on some standard select statements, see below:
05/09/2010 07:44:23 [1188094843] 0000023586: KSqlCursor::Open(2000,'select OWNERID,PARENTID,DATAID,NAME,ORIGINOWNERID,ORIGINDATAID,USERID,GROUPID,UPERMISSIONS,GPERMISSIONS,WPERMISSIONS,SPERMISSIONS,ACLCOUNT,PERMID,DATATYPE,RESERVED,SUBTYPE from DTree where DataID=:A') -->'SUCCESS'
05/09/2010 07:44:23 [1188094867] 0000023587: KSqlCursor::Prepare() --> 'SUCCESS'
05/09/2010 07:44:23 [1188094886] 0000023588: KSqlCursor::Bind(1,{32220905}) --> 'SUCCESS'
05/09/2010 07:44:23 [1188100013] 0000023589: Oracle error: (1722) --> ORA-01722: invalid number
All it did was this – any ideas? Are we any closer to figuring out why the ORA-01722 errors keep occurring? See a previous post stated that a TAR had been raised with Oracle - any outcome?
SELECT
OWNERID, PARENTID, DATAID, NAME, ORIGINOWNERID, ORIGINDATAID, USERID, GROUPID, UPERMISSIONS,
GPERMISSIONS, WPERMISSIONS, SPERMISSIONS, ACLCOUNT, PERMID, DATATYPE, RESERVED, SUBTYPE
FROM
DTree
WHERE
DataID=32220905
Oracle Server - Enterprise Edition - Version: 10.2.0.4This problem can occur on any platform.
ORA-1722 error in PL/SQL after upgrading from 10.2.0.2 to 10.2.0.4.
Applied the 10.2.0.4 patchset on top of a 10.2.0.2 database.
Bug 8479537 where an incorrect child cursor might be chosen which does not have correctly matching bind variables.
Applied the merge patch, Bug 8548100, which contains the fix for Bug 8479537 and the fix for unpublished Bug 7025450 to correct problems with the dbms_shared_pool.keep package.
After the patch was applied we also pinned the problem package to the shared pool. exec dbms_shared_pool.keep('<package>');
BUG:8479537 - WRONG DATA INSERTED WHEN WHEN CURSORS GETS FREQUENTLY FLUSHED FROM SHARED POOLNOTE:8479537.8 - Bug 8479537 - Wrong child cursor with mismatching binds executed