ContextErrorException should not be thrown without context