Threads that don't exit cleanly can cause a Java Exception.
There should be a wrapper around threads that automatically detaches the thread before exit, avoiding this kind of error.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.