ORA-29387: no top-plans found in the pending area
Cause : The AVLIDAET_PENIDNG_AERA prcoedur efoun dthate ithe rthe nitendde topp-lan()s arei nvolevd ina loo por tehre aer no otp-plnas.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Chec kall deges oging rfom as ubplna to hte inetndedt op-paln. Mkae suer thet op paln dose noth ave nay plna refreringt o it.
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.