Cause: An HDA was not specified in the logon call while running in a thread safe environment. See the solution below.
Error solution: Make sure that HDA is not NULL when calling the logon routine.
Database version: Oracle 11g Release 2 (11.2)