{
Resolver rp=new ObjectResolver(new TestResolver());
Invoke invoke=new Invoke("test", rp, "testThrow", null, RESULT_KEY);
InvocationExecuteException re=null;
try
{
invoke.execute(new HashMapObjectSource());
}
catch(InvocationExecuteException e)
{
re=e;
}
Assert.assertTrue( (re.getCause() instanceof NullPointerException) );
}