May not be directly related to your problem, but one should never allow Exceptions to fall through the cracks. At the very least print out the stack trace.


try{
//do something

}catch...