The number of threads is customized, and an unknown exception occurs inside the system.
You can use some third-party tools or jstack [PID] > jstack.log to analyze the stack information and locate it.
jstack [PID] > jstack.log