java.lang.NoSuchMethodException: org.onosproject.ymstest.module.SimpleDataTypesManager.setSimple-data-types(org.onosproject.yang.gen.v1.urn.simple.data.types.rev20131112.SimpleDataTypesOpParam)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hi, Issue occurred when sending data via postman for NBI testing Yang : module simple-data-types { yang-version 1; namespace "urn:simple:data:types"; prefix smpdtp; revision 2013-11-12; identity iden; typedef tpdfstring { type string; } typedef tpdfbit { type bits { bit b1; bit b2; bit b3; } } typedef tpdfun4 { type boolean; } typedef tpdfun3 { type union { type tpdfbit; type tpdfstring; } } typedef tpdfun2 { type union { type tpdfun3; type tpdfun4; } } typedef tpdfun1 { type union { type uint8; type decimal64 { fraction-digits 2; } } } container cont { leaf lfint8Min { type int8; } leaf lfint8Max { type int8; } leaf lfint16Min { type int16; } leaf lfint16Max { type int16; } leaf lfint32Min { type int32; } leaf lfint32Max { type int32; } leaf lfint64Min { type int64; } leaf lfint64Max { type int64; } leaf lfuint8Max { type uint8; } leaf lfuint16Max { type uint16; } leaf lfuint32Max { type uint32; } leaf lfuint64Max { type uint64; } leaf lfstr { type string; } leaf lfstr1 { type string { length "1..2"; } } leaf lfbool1 { type boolean; } leaf lfbool2 { type boolean; } leaf lfbool3 { type boolean; } leaf lfdecimal1 { type decimal64 { fraction-digits 2; } } leaf lfdecimal2 { type decimal64 { fraction-digits 2; } } leaf lfdecimal3 { type decimal64 { fraction-digits 2; } } leaf lfdecimal4 { type decimal64 { fraction-digits 2; } } leaf lfdecimal6 { type decimal64 { fraction-digits 2; } } leaf lfenum { type enumeration { enum "enum1"; enum "enum2"; enum "enum3"; enum "enum4"; } } leaf lfbits { type bits { bit bit1; bit bit2; bit bit3; bit bit4; } } leaf lfbinary { type binary; } leaf lfref1 { type leafref { path "../lfstr"; //reference to string type } } leaf lfref2 { type leafref { path "../lfint8Max"; //reference to number type } } leaf lfempty { type empty; } leaf lfunion1 { type union { type uint16; type string; } } leaf lfunion2 { type union { type decimal64 { fraction-digits 2; } type string; } } leaf lfunion4 { type union { type boolean; type string; } } leaf lfunion5 { type union { type uint16; type string; } } leaf lfunion7 { type tpdfun3; } leaf lfunion8 { type union { type uint16; type string; } } leaf lfunion9 { type union { type uint16; type boolean; } } leaf lfunion10 { type union { type bits { bit bt1; bit bt2; } type boolean; } } leaf lfunion11 { type union { type tpdfun1; type tpdfun2; } } leaf lfunion12 { type tpdfun2; } leaf lfunion13 { type tpdfbit; } leaf lfunion14 { type union { type enumeration { enum "zero"; enum "one"; } type uint16; } } leaf identityref1 { type identityref { base iden; } } } } Logs : display 2016-09-06 17:48:28,439 | INFO | qtp663154802-63 | RestconfWebResource | 181 - org.onosproject.onos-app-restconf-rpp - 1.7.0.SNAPSHOT | handlePostRequest: simple-data-types 2016-09-06 17:48:28,482 | ERROR | qtp663154802-63 | YangApplicationBroker | 176 - org.onosproject.onos-app-yms - 1.7.0.SNAPSHOT | YAB: failed to fetch method object from application object. onos> onos> log:clear onos> java.lang.NoSuchMethodException: org.onosproject.ymstest.module.SimpleDataTypesManager.setSimple-data-types(org.onosproject.yang.gen.v1.urn.simple.data.types.rev20131112.SimpleDataTypesOpParam) at java.lang.Class.getDeclaredMethod(Class.java:2130) at org.onosproject.yms.app.yab.YangApplicationBroker.invokeApplicationsMethod(YangApplicationBroker.java:300) at org.onosproject.yms.app.yab.YangApplicationBroker.processEditOfApplication(YangApplicationBroker.java:398) at org.onosproject.yms.app.yab.YangApplicationBroker.processEdit(YangApplicationBroker.java:130) at org.onosproject.yms.app.ymsm.YmsManager.executeOperation(YmsManager.java:136) at org.onosproject.restconf.restconfmgr.RestconfManager.doPostOperation(RestconfManager.java:106) at org.onosproject.restconf.rpp.RestconfWebResource.handlePostRequest(RestconfWebResource.java:125) 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) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745) onos> onos> displ
    via by Adarsh m,
  • Rest EJB Project not deploying on Wildfly 8.0
    via Stack Overflow by Ashish451
    ,
  • search-guard on ES 1.7
    via GitHub by maoo
    ,
  • GitHub comment 169#141847488
    via GitHub by brcolow
    ,
    • java.lang.NoSuchMethodException: org.onosproject.ymstest.module.SimpleDataTypesManager.setSimple-data-types(org.onosproject.yang.gen.v1.urn.simple.data.types.rev20131112.SimpleDataTypesOpParam) at java.lang.Class.getDeclaredMethod(Class.java:2130) at org.onosproject.yms.app.yab.YangApplicationBroker.invokeApplicationsMethod(YangApplicationBroker.java:300) at org.onosproject.yms.app.yab.YangApplicationBroker.processEditOfApplication(YangApplicationBroker.java:398) at org.onosproject.yms.app.yab.YangApplicationBroker.processEdit(YangApplicationBroker.java:130) at org.onosproject.yms.app.ymsm.YmsManager.executeOperation(YmsManager.java:136) at org.onosproject.restconf.restconfmgr.RestconfManager.doPostOperation(RestconfManager.java:106) at org.onosproject.restconf.rpp.RestconfWebResource.handlePostRequest(RestconfWebResource.java:125) 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) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    osvzs
    osvzs63 times, last one,
    Unknown visitor1 times, last one,
    batwalrus76
    batwalrus7611 times, last one,
    Alireza Mohamadi
    Alireza Mohamadi3 times, last one,
    tyson925
    tyson925123 times, last one,
    48 more bugmates