Skip to content

Commit

Permalink
Fix a NPE in diagnostics
Browse files Browse the repository at this point in the history
This should fix broken tests in model-intest.
  • Loading branch information
mederly committed May 11, 2022
1 parent c6dee3f commit 957fea0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ private void parseSchema(PrismObject<ResourceType> reloaded) {
// with the parsed schemas.
ResourceSchemaFactory.getRawSchema(reloaded);
ResourceSchema completeSchema = ResourceSchemaFactory.getCompleteSchema(reloaded);
LOGGER.trace("Complete schema:\n{}", completeSchema.debugDumpLazily(1));
LOGGER.trace("Complete schema:\n{}", DebugUtil.debugDumpLazily(completeSchema, 1));
} catch (Throwable e) {
String message = "Error while processing schemaHandling section of " + reloaded + ": " + e.getMessage();
result.recordPartialError(message, e);
Expand Down

0 comments on commit 957fea0

Please sign in to comment.