13 Jul 2015 by Sergey Alexandrovich Kryukov
Actually, I can see only one problem in your code: you did not handle possible exceptions, so I'm not sure how exactly the problem appears. So, here are my suggestions: Handle all exceptions on the top stack frame of all threads. Display comprehensive exception information. Just in...