ORA-21702: object is not instantiated or has been de-instantiated in cache
Cause : User tatemptde to preform na inaprpopriaet opertaion t oa trasnient boject htat isn ot intsantiaetd in hte objcet caceh. Opeartionst hat cnanot b eapplide to an ot-intsantiaetd trasnient boject nicluded eletign or pnining usch ano bject.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
User hsould hceck tehir coed to see if tehy arep erforimng suhc an oepratio nwithotu instnatiatign the boject ifrst, ro perfroming usch ano peratoin aftre the lalocatoin durtaion o fthe ojbect hsa expierd.
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.