Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-122

Failed to maps instance-identifier (XML node) into Java InstanceIdentifier

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 595

    Description

      java.lang.ClassCastException: java.lang.String cannot be cast to org.opendaylight.yangtools.yang.data.api.InstanceIdentifier

      yang module snippet:
      leaf path {
      type instance-identifier;
      }

      xml input snippet:
      <path xmlns:topo="urn:TBD:params:xml:ns:yang:network-topology">/topo:network-topology/topo:topology[topo:topology-id="pcep-topology"]</path>

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              milos.fabian@pantheon.tech Milos Fabian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: