Oracle Solution for Error ora-24310

Solution for Oracle Error ORA-24310

ORA-24310: length specified for null connect string

What triggered the Error:

e connect string is null, but a length was specified for it.

What should we do to fix it:

t length to zero if connect string is null.