Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-5694

[ONOS-YMS-TEST] InvocationTargetException occurred while running ModuleIdentifier0 case

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5

      Description

      yms-test testE2EModuleIdentifier0
      [REPORT] Running test 1 testE2EModuleIdentifier0
      Registered network service in YMS
      yangModuleIdentifier0OpTypeCREATE
      Output from Server ...

      Sending 'GET' request to URL : http://127.0.0.1:8181/onos/restconf/data/module-identifier0
      Response Code : 400
      [Ljava.lang.StackTraceElement;@5c12d06f

      java.lang.reflect.InvocationTargetException
      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.onosproject.ymstest.cli.YmsTestCommand.execute(YmsTestCommand.java:75)
      at org.onosproject.cli.AbstractShellCommand.doExecute(AbstractShellCommand.java:150)
      at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
      at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
      at Proxy77028361_77ba_4e1f_8b3f_46a1056d3bb7.execute(Unknown Source)
      at Proxy77028361_77ba_4e1f_8b3f_46a1056d3bb7.execute(Unknown Source)
      at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
      at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:210)
      at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)
      at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)
      Caused by: java.lang.IllegalArgumentException: wrong number of arguments
      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.onosproject.yms.app.ytb.YtbUtil.getIdentityRefValue(YtbUtil.java:379)
      at org.onosproject.yms.app.ytb.YtbUtil.getStringFromType(YtbUtil.java:311)
      at org.onosproject.yms.app.ytb.YdtBuilderFromYo.addLeafWithValue(YdtBuilderFromYo.java:889)
      at org.onosproject.yms.app.ytb.YdtBuilderFromYo.processLeaves(YdtBuilderFromYo.java:712)
      at org.onosproject.yms.app.ytb.YdtBuilderFromYo.processCurSchemaNodeAndAddToYdt(YdtBuilderFromYo.java:465)
      at org.onosproject.yms.app.ytb.YdtBuilderFromYo.createYdtFromRootObject(YdtBuilderFromYo.java:231)
      at org.onosproject.yms.app.ytb.DefaultYangTreeBuilder.getYdtBuilderForYo(DefaultYangTreeBuilder.java:65)
      at org.onosproject.yms.app.ych.DefaultYangCodecHandler.encodeOperation(DefaultYangCodecHandler.java:131)
      at org.onosproject.ymstest.YmsTestcases.testE2EModuleIdentifier0(YmsTestcases.java:1379)
      ... 22 more
      [SUMMARY REPORT] Total:1, Passed:0, Failed:0, Error:1, Pass Percent:0%
      onos>

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            bsaraswal bharat saraswal
            Reporter:
            huawei-adarsh Adarsh m
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: