Can't manage to create a test for this without using mocks, but I hope the fix is simple enough to convince as java.lang.Throwable.getCause() can return null.