Maneesh Godbole wrote:InvocationTargetException is just a wrapper.
Invoke InvocationTargetException#getCause() to find out what actually triggered the exception
Maneesh Godbole wrote:Can you show us the code where you catch the Exception and try to find the cause?
Tim Moores wrote:The "e.getCause()" call effectively does nothing. You need to print the full stacktrace, using e.printStackTrace().
Tim Moores wrote:Where, then, do you see the exception that you mentioned? The code you posted does not do anything to cause or print it. Is it a client-side or server-side exception?