Oracle Message ORA-27166 - tried to join current thread

ERRORtried to join current thread
CAUSEA thread in the program tried to join itself.
ACTIONThis is an internal error; contact Oracle support.