Oracle Error ORA-24301: null host specified in thread-safe logon

Oracle Error Message

ORA-24301: null host specified in thread-safe logon

Reason for the Error

An HDA was not specified in the logon call while running in a thread safe environment.

Solution

Make sure that HDA is not NULL when calling the logon routine.