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

Unable to find base typedef for given type error is thrown while building

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      22

      Description

      Aug 23, 2016 12:48:34 PM org.onosproject.yangutils.parser.impl.parserutils.ListenerUtil handleUnsupportedYangConstruct
      INFO: YANG file error : ""refine"" is not supported. at position 12 in line 619 of yang file /opt/onos-master/onos/utils/test/src/main/yang/5140/ietf-routing.yang
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.538 s
      [INFO] Finished at: 2016-08-23T12:48:35+05:30
      [INFO] Final Memory: 20M/308M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.onosproject:yangutils-maven-plugin:1.7.0-SNAPSHOT:yang2java (default) on project onlab-test: Error in file: ietf-packet-fields at line: 0 at position: 0
      [ERROR] YANG file error: Unable to find base typedef for given type
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

        Attachments

        1. ietf-access-control-list.yang
          7 kB
        2. ietf-inet-types.yang
          16 kB
        3. ietf-interfaces.yang
          24 kB
        4. ietf-packet-fields.yang
          5 kB
        5. ietf-yang-types.yang
          16 kB
        6. newco-acl.yang
          2 kB
        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:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: