{
final JsonNode schemaNode
= JsonLoader.fromResource("/other/issue102.json");
final JsonSchemaFactory factory = JsonSchemaFactory.byDefault();
final JsonValidator validator = factory.getValidator();
final MessageBundle bundle
= MessageBundles.getBundle(JsonSchemaValidationBundle.class);
try {
validator.validate(schemaNode,
JacksonUtils.nodeFactory().nullNode());
fail("No exception thrown!");
} catch (ProcessingException e) {
final URI uri = URI.create("#/oneOf/1");
final ProcessingMessage message = e.getProcessingMessage();
final String expectedMessage
= bundle.printf("err.common.validationLoop", uri, "");
assertMessage(message)
.hasMessage(expectedMessage)
.hasField("alreadyVisited", uri)
.hasField("instancePointer", JsonPointer.empty().toString())
.hasField("validationPath",