Oracle Solution for Error ora-24506

Solution for Oracle Error ORA-24506

ORA-24506: invalid attempt to change character set id on env handle

What triggered the Error:

tempts to change character set id after other handles have been allocated from the env handle

What should we do to fix it:

ange character set id after creating environment handle but before allocating any handles from it.