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

Line number not shown in error info

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      issue: Line number not shown in error info

      code: ONOS GIT hub

      yang snippet:

      list ac-ids{
      leaf ac-id

      { type string; }

      }

      Log:

      [INFO] — yangutils-maven-plugin:1.0.0-SNAPSHOT:yang2java (default) @ onlab-test —
      [INFO] Error in file: /home/root1/onos/utils/test/src/main/yang/huawei-ac-net-l3vpn-rpc.yang
      Internal parser error detected: Unhandled parsed data at list "ac-ids" after processing.
      Error Information: A list must have atleast one key leaf if config is true;
      [INFO]
      org.onosproject.yangutils.parser.exceptions.ParserException: Internal parser error detected: Unhandled parsed data at list "ac-ids" after processing.
      Error Information: A list must have atleast one key leaf if config is true;
      at org.onosproject.yangutils.parser.impl.listeners.ListListener.processListExit(ListListener.java:178)
      at org.onosproject.yangutils.parser.impl.TreeWalkListener.exitListStatement(TreeWalkListener.java:921)

        Attachments

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

          Activity

            People

            Assignee:
            Vidyashree-Huawei Vidyashree Rama
            Reporter:
            sathishmurugesan sathishkumar murugesan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: