org.onosproject.yms.app.ydt.exceptions.YdtExceptions: leaf cannot have any child schema nodes node-id in 0 at 0 in null"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by antony silvester, 1 year ago
leaf cannot have any child schema nodes node-id in 0 at 0 in null"
org.onosproject.yms.app.ydt.exceptions.YdtExceptions: leaf cannot have any child schema nodes node-id in 0 at 0 in null"
at org.onosproject.yms.app.ydt.YdtNode.getSchemaNodeContextInfo(YdtNode.java:222)
at org.onosproject.yms.app.ydt.YangRequestWorkBench.addChild(YangRequestWorkBench.java:314)
at org.onosproject.yms.app.ydt.YangRequestWorkBench.addChild(YangRequestWorkBench.java:202)
at org.onosproject.restconf.utils.parser.json.JsonToYdtListener.enterJsonNode(JsonToYdtListener.java:71)
at org.onosproject.restconf.utils.parser.json.DefaultJsonWalker.walk(DefaultJsonWalker.java:38)
at org.onosproject.restconf.utils.parser.json.DefaultJsonWalker.walk(DefaultJsonWalker.java:76)
at org.onosproject.restconf.utils.parser.json.DefaultJsonWalker.walk(DefaultJsonWalker.java:56)
at org.onosproject.restconf.utils.parser.json.ParserUtils.convertJsonToYdt(ParserUtils.java:101)
at org.onosproject.restconf.restconfmgr.RestconfManager.doPutOperation(RestconfManager.java:128)
at org.onosproject.restconf.rpp.RestconfWebResource.handlePutRequest(RestconfWebResource.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.