Reconstruct inference stack during normalization
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / java / org / opendaylight / netconf / sal / rest / impl / RestconfDocumentedExceptionMapper.java
index 1803a4b3ba20bedb649d3e1c6e5f6ac016db1309..3975aa7de5fbb532a082bfcbb5d25188637bb8bd 100644 (file)
@@ -144,7 +144,7 @@ public class RestconfDocumentedExceptionMapper implements ExceptionMapper<Restco
         errContBuild.withChild(listErorsBuilder.build());
 
         final NormalizedNodeContext errContext = new NormalizedNodeContext(InstanceIdentifierContext.ofDataSchemaNode(
-            controllerContext.getGlobalSchema(), (DataSchemaNode) errorsSchemaNode), errContBuild.build());
+            controllerContext.getGlobalSchema(), (DataSchemaNode) errorsSchemaNode, null), errContBuild.build());
 
         Object responseBody;
         if (mediaType.getSubtype().endsWith("json")) {