aggiungi questi catch
codice:
catch(EOFException eof) { eof.printStackTrace(); }
catch(Exception e) { e.printStackTrace() }