Most probably your code runs into an exception.
Add a e.printStackTrace()
to your catch
clause and execute your application again to see what is printed on the console.
try {
// your code
} catch (Exception e) {
e.printStackTrace();
}
That should help.
1
solved Try/catch doesn’t run full code