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

JIRA | antony silvester | 3 months ago
  1. 0

    Post : http://127.0.01:8181/onos/restconf/data/topology { "node": [{ "node-id": "123" }, { "node-id": "1234" }, { "node-id": "1235" }, { "node-id": "1236" }, { "node-id": "1237" } ] } ************************************** PUT : http://127.0.01:8181/onos/restconf/data/topology/node=123 { "termination-points": { "number-of-tp": 100, "termination-point": [ { "tp-id": "200" } ] } } ***************************************************************** Exception : onos> exception-display 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)[181:org.onosproject.onos-app-restconf-rpp:1.7.0.SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160 *********************************** Confirmed by : VInodkumar

    JIRA | 3 months ago | antony silvester
    org.onosproject.yms.app.ydt.exceptions.YdtExceptions: leaf cannot have any child schema nodes node-id in 0 at 0 in null"
  2. 0

    Issue: YANG file contains list networklist and container network-path in same hierarchy. "network-path" node is not found when the order is changed in json body. Test steps: 1) Activate yms, ymstest & restconf apps 2) Run testcase testNbiRegister onos> app activate org.onosproject.yms onos> app activate org.onosproject.ymstest onos> app activate org.onosproject.restconf onos> yms-test testNbiRegister Test code snippet: ymsService.registerService(new NetworkManager(), Network.class, null); print("Registered network service in YMS"); Test output: --- POST --- http://127.0.0.1:8181/onos/restconf/data/network { "network-path": { "source": "10.1.1.1" }, "networklist": [{ "network-id": "123" }] } --- output --- 201 Created --- POST --- http://127.0.0.1:8181/onos/restconf/data/network { "networklist": [{ "network-id": "123" }], "network-path": { "source": "10.1.1.1" } } --- output --- { "code": 500, "message": "Schema node with name network-path doesn't exist." } --- exception --- onos> display 2016-09-05 11:20:15,710 | ERROR | qtp1225019140-65 | DefaultYangSchemaRegistry | 173 - org.onosproject.onos-app-yms - 1.7.0.SNAPSHOT | YSR: network-path not found. 2016-09-05 11:20:15,710 | WARN | qtp1225019140-65 | ServerErrorMapper | 145 - org.onosproject.onlab-rest - 1.7.0.SNAPSHOT | Unhandled REST exception org.onosproject.yms.app.ydt.exceptions.YdtExceptions: Schema node with name network-path doesn't exist. at org.onosproject.yms.app.ydt.YangRequestWorkBench.moduleHandler(YangRequestWorkBench.java:173) at org.onosproject.yms.app.ydt.YangRequestWorkBench.addChild(YangRequestWorkBench.java:281) at org.onosproject.yms.app.ydt.YangRequestWorkBench.addChild(YangRequestWorkBench.java:202) at org.onosproject.restconf.utils.parser.json.JsonToYdtListener.enterJsonNode(JsonToYdtListener.java:52) 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:68) at org.onosproject.restconf.restconfmgr.RestconfManager.doPostOperation(RestconfManager.java:131) at org.onosproject.restconf.rpp.RestconfWebResource.handlePostRequest(RestconfWebResource.java:126)[180:org.onosproject.onos-app-restconf-rpp:1.7.0.SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[111:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[111:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[111:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.Server.handle(Server.java:370)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at java.lang.Thread.run(Thread.java:745)[:1.8.0_101] onos> Shown to: Sonu

    JIRA | 3 months ago | Sojan Koshy
    org.onosproject.yms.app.ydt.exceptions.YdtExceptions: Schema node with name network-path doesn't exist.
  3. 0

    issue : After NBI app registering in YMS, when post request is send within 500ms the below exception is observed Test code: NetworkManagerExt managerExt=new NetworkManagerExt(); ymsService.registerService(managerExt, Network.class, null); print("YmsService Registered"); String uri = "http://127.0.0.1:8181/onos/restconf/data/network"; String body = "{\n" + " \"name\": \"Huawei\",\n" + " \"surname\": \"Bangalore\"\n" + "}"; post(uri, body); Test steps: app activate org.onosproject.yms app activate org.onosproject.restconf app activate org.onosproject.ymstest yms-test testE2EBasic Exception: onos> exception-display org.onosproject.yms.app.ydt.exceptions.YdtExceptions: Schema node with name network doesn't exist. at org.onosproject.yms.app.ydt.YangRequestWorkBench.moduleHandler(YangRequestWorkBench.java:173) at org.onosproject.yms.app.ydt.YangRequestWorkBench.addChild(YangRequestWorkBench.java:281) at org.onosproject.yms.app.ydt.YangRequestWorkBench.addChild(YangRequestWorkBench.java:210) at org.onosproject.restconf.utils.parser.json.ParserUtils.addLeaf(ParserUtils.java:179) at org.onosproject.restconf.utils.parser.json.ParserUtils.processPathSegments(ParserUtils.java:127) at org.onosproject.restconf.utils.parser.json.ParserUtils.convertUriToYdt(ParserUtils.java:53) at org.onosproject.restconf.restconfmgr.RestconfManager.doPostOperation(RestconfManager.java:103) at org.onosproject.restconf.rpp.RestconfWebResource.handlePostRequest(RestconfWebResource.java:125)[180:org.onosproject.onos-app-restconf-rpp:1.7.0.SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[111:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[111:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[111:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.Server.handle(Server.java:370)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[102:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at java.lang.Thread.run(Thread.java:745)[:1.8.0_101] onos> Shown to: Bharat

    JIRA | 3 months ago | chidambar babu
    org.onosproject.yms.app.ydt.exceptions.YdtExceptions: Schema node with name network doesn't exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps: please find the attachment of the ymstest app. Topology.yang is the yangfile Take all the files form the private git that shared already. Same thing you can use. Send the below Json format. POST : http://127.0.01:8181/onos/restconf/data/topology { "node": [{ "node-id": "123", "node-prop": ["example"], "termination-points": { "number-of-tp": 100, "termination-point": [ { "tp-id": "200" } ] } }] } Exception : onos> onos> exception-display org.onosproject.yms.app.ydt.exceptions.YdtExceptions: Can't invoke get parent at logical root node. at org.onosproject.yms.app.ydt.YangRequestWorkBench.traverseToParent(YangRequestWorkBench.java:548) at org.onosproject.restconf.utils.parser.json.JsonToYdtListener.exitJsonNode(JsonToYdtListener.java:95) at org.onosproject.restconf.utils.parser.json.DefaultJsonWalker.walk(DefaultJsonWalker.java:117) at org.onosproject.restconf.utils.parser.json.DefaultJsonWalker.walk(DefaultJsonWalker.java:81) 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.doPostOperation(RestconfManager.java:106) at org.onosproject.restconf.rpp.RestconfWebResource.handlePostRequest(RestconfWebResource.java:125)[180:org.onosproject.onos-app-restconf-rpp:1.7.0.SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[128:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[136:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[142:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.e

    JIRA | 3 months ago | antony silvester
    org.onosproject.yms.app.ydt.exceptions.YdtExceptions: Can't invoke get parent at logical root node.

    Root Cause Analysis

    1. 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()
    2. org.onosproject.yms
      YangRequestWorkBench.addChild
      1. org.onosproject.yms.app.ydt.YdtNode.getSchemaNodeContextInfo(YdtNode.java:222)
      2. org.onosproject.yms.app.ydt.YangRequestWorkBench.addChild(YangRequestWorkBench.java:314)
      3. org.onosproject.yms.app.ydt.YangRequestWorkBench.addChild(YangRequestWorkBench.java:202)
      3 frames
    3. org.onosproject.restconf
      RestconfWebResource.handlePutRequest
      1. org.onosproject.restconf.utils.parser.json.JsonToYdtListener.enterJsonNode(JsonToYdtListener.java:71)
      2. org.onosproject.restconf.utils.parser.json.DefaultJsonWalker.walk(DefaultJsonWalker.java:38)
      3. org.onosproject.restconf.utils.parser.json.DefaultJsonWalker.walk(DefaultJsonWalker.java:76)
      4. org.onosproject.restconf.utils.parser.json.DefaultJsonWalker.walk(DefaultJsonWalker.java:56)
      5. org.onosproject.restconf.utils.parser.json.ParserUtils.convertJsonToYdt(ParserUtils.java:101)
      6. org.onosproject.restconf.restconfmgr.RestconfManager.doPutOperation(RestconfManager.java:128)
      7. org.onosproject.restconf.rpp.RestconfWebResource.handlePutRequest(RestconfWebResource.java:159)[181:org.onosproject.onos-app-restconf-rpp:1.7.0.SNAPSHOT]
      7 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]
      4. java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]
      4 frames
    5. jersey-core-server
      AbstractJavaResourceMethodDispatcher.invoke
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[136:org.glassfish.jersey.core.jersey-server:2.22.2]
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[136:org.glassfish.jersey.core.jersey-server:2.22.2]
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[136:org.glassfish.jersey.core.jersey-server:2.22.2]
      3 frames