I've tested Java 8 build 111 (jre-8-ea-bin-b111-windows-i586-10_oct_2013) and the InvocationTargetException problem doesn't occur. Does that mean that the InvocationTargetException problem is a bug in Java 7 or a feature not yet propagated to Java 8?