Did you set try catch blocks around your erroneous methods or any code that you suspect it make error ? This will give you -hopefully- more informative error messages .