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

index out of bound for augment path while inter file linking

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      ONOS build

    • Story Points:
      3

      Description

      yang utils code:
      git clone https://gerrit.onosproject.org/onos-yang-tools

      Caused by: java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
      at java.util.ArrayList.rangeCheck(ArrayList.java:653)
      at java.util.ArrayList.get(ArrayList.java:429)
      at org.onosproject.yangutils.linker.impl.YangXpathLinker.searchForAugmentInImportedNode(YangXpathLinker.java:504)
      at org.onosproject.yangutils.linker.impl.YangXpathLinker.resolveInterToInterFileAugment(YangXpathLinker.java:479)
      at org.onosproject.yangutils.linker.impl.YangXpathLinker.resolveInterFileAugment(YangXpathLinker.java:457)
      at org.onosproject.yangutils.linker.impl.YangXpathLinker.parsePath(YangXpathLinker.java:381)
      at org.onosproject.yangutils.linker.impl.YangXpathLinker.parseData(YangXpathLinker.java:355)
      at org.onosproject.yangutils.linker.impl.YangXpathLinker.processAugmentXpathLinking(YangXpathLinker.java:286)
      at org.onosproject.yangutils.linker.impl.YangResolutionInfoImpl.processXPathLinking(YangResolutionInfoImpl.java:1219)
      at org.onosproject.yangutils.linker.impl.YangResolutionInfoImpl.linkInterFile(YangResolutionInfoImpl.java:1191)
      at org.onosproject.yangutils.datamodel.utils.DataModelUtils.linkInterFileReferences(DataModelUtils.java:252)
      at org.onosproject.yangutils.datamodel.YangModule.resolveInterFileLinking(YangModule.java:485)
      at org.onosproject.yangutils.linker.impl.YangLinkerManager.processInterFileLinking(YangLinkerManager.java:174)
      at org.onosproject.yangutils.linker.impl.YangLinkerManager.resolveDependencies(YangLinkerManager.java:86)
      at org.onosproject.yangutils.plugin.manager.YangUtilManager.resolveDependenciesUsingLinker(YangUtilManager.java:270)
      at org.onosproject.yangutils.plugin.manager.YangUtilManager.execute(YangUtilManager.java:201)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      ... 21 more

        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:
            sathishmurugesan sathishkumar murugesan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: