[YANGTOOLS-481] Failed to find codec for yang leafs Created: 24/Jul/15  Updated: 10/Apr/22  Due: 13/Aug/15  Resolved: 25/Sep/15

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: RichardHill Assignee: Peter Kajsa
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Zip Archive logs.zip    
Issue Links:
Blocks
is blocked by YANGTOOLS-480 Yangtools fails to decode leafref in ... Resolved
Duplicate
duplicates YANGTOOLS-480 Yangtools fails to decode leafref in ... Resolved
External issue ID: 4052

 Description   

There are multiple ERRORs in logs where CODECs are not available for yang leafs so ODL is falling back to using stream.

2015-04-07 18:24:55,335 | ERROR | qtp623152470-57 | XmlStreamUtils | 69 - org.opendaylight.yangtools.yang-data-impl - 0.6.3.Helium-SR1-00004_1 | Failed to find codec for type (urn:ietf:params:xml:ns:yang:1)leafref [xpath=/config:services/config:service[config:type=current()/../type]/config:instance/config:name], falling back to using stream.

Version:0.1.1-Helium-SR1-00004.1

This bug is similar to https://bugs.opendaylight.org/show_bug.cgi?id=4051

    1. Features loaded ##

cosc 1.0.0-00004.1
odl-l2switch-switch-rest 0.1.1-Helium-SR1-00004.1
odl-l2switch-switch 0.1.1-Helium-SR1-00004.1
odl-deployment-mode-manager 1.4.3-Helium-SR1-00004.1
odl-mdsal-broker 1.1.1-Helium-SR1-00004.1
odl-yangtools-common 0.6.3-Helium-SR1-00004.1
odl-yangtools-binding 0.6.3-Helium-SR1-00004.1
odl-yangtools-models 0.6.3-Helium-SR1-00004.1
odl-mdsal-common 1.1.1-Helium-SR1-00004.1
odl-yangtools-data-binding 0.6.3-Helium-SR1-00004.1
odl-config-startup 0.2.6-Helium-SR1-00004.1
odl-config-netconf-connector 0.2.6-Helium-SR1-00004.1
odl-config-manager 0.2.6-Helium-SR1-00004.1
odl-config-core 0.2.6-Helium-SR1-00004.1
odl-yangtools-binding-generator 0.6.3-Helium-SR1-00004.1
odl-config-api 0.2.6-Helium-SR1-00004.1
odl-netconf-api 0.2.6-Helium-SR1-00004.1
odl-protocol-framework 0.5.1-Helium-SR1-00004.1
odl-config-netty-config-api 0.2.6-Helium-SR1-00004.1
odl-netconf-mapping-api 0.2.6-Helium-SR1-00004.1
odl-netconf-util 0.2.6-Helium-SR1-00004.1
odl-config-persister 0.2.6-Helium-SR1-00004.1
odl-netconf-impl 2015-04-08:03:44,626 cosc 1.0.0-00004.1
odl-l2switch-switch-rest 0.1.1-Helium-SR1-00004.1
odl-l2switch-switch 0.1.1-Helium-SR1-00004.1
odl-deployment-mode-manager 1.4.3-Helium-SR1-00004.1
odl-mdsal-broker 1.1.1-Helium-SR1-00004.1
odl-yangtools-common 0.6.3-Helium-SR1-00004.1
odl-yangtools-binding 0.6.3-Helium-SR1-00004.1
odl-yangtools-models 0.6.3-Helium-SR1-00004.1
odl-mdsal-common 1.1.1-Helium-SR1-00004.1
odl-yangtools-data-binding 0.6.3-Helium-SR1-00004.1
odl-config-startup 0.2.6-Helium-SR1-00004.1
odl-config-netconf-connector 0.2.6-Helium-SR1-00004.1
odl-config-manager 0.2.6-Helium-SR1-00004.1
odl-config-core 0.2.6-Helium-SR1-00004.1
odl-yangtools-binding-generator 0.6.3-Helium-SR1-00004.1
odl-config-api 0.2.6-Helium-SR1-00004.1
odl-netconf-api 0.2.6-Helium-SR1-00004.1
odl-protocol-framework 0.5.1-Helium-SR1-00004.1
odl-config-netty-config-api 0.2.6-Helium-SR1-00004.1
odl-netconf-mapping-api 0.2.6-Helium-SR1-00004.1
odl-netconf-util 0.2.6-Helium-SR1-00004.1
odl-config-persister 0.2.6-Helium-SR1-00004.1
odl-netconf-impl 0.2.6-Helium-SR1-00004.1
odl-netconf-netty-util 0.2.6-Helium-SR1-00004.1
odl-netconf-monitoring 0.2.6-Helium-SR1-00004.1
odl-config-netty 0.2.6-Helium-SR1-00004.1
odl-deployment-mode-registry 1.4.3-Helium-SR1-00004.1
odl-l2switch-hosttracker 0.1.1-Helium-SR1-00004.1
odl-l2switch-addresstracker 0.1.1-Helium-SR1-00004.1
odl-l2switch-arphandler 0.1.1-Helium-SR1-00004.1
odl-l2switch-packethandler 0.1.1-Helium-SR1-00004.1
odl-openflowplugin-southbound 0.0.4-Helium-SR1-00004.1
odl-flow-model 1.1.1-Helium-SR1-00004.1
odl-openflowjava-protocol 0.5.1-Helium-SR1-00004.1
odl-l2switch-loopremover 0.1.1-Helium-SR1-00004.1
odl-openflowplugin-flow-services 0.0.4-Helium-SR1-00004.1
odl-flow-services 1.1.1-Helium-SR1-00004.1
odl-restconf 1.1.1-Helium-SR1-00004.1
odl-aaa-authn-mdsal 0.1.1-Helium-SR1-00004.1
war 3.0.1
http 3.0.1
pax-http 3.1.0
pax-jetty 8.1.14.v20131031
pax-war 3.1.0
pax-http-whiteboard 3.1.0
odl-restconf-noauth 1.1.1-Helium-SR1-00004.1
odl-tcpmd5-all 1.0.1-Helium-SR1-00004.1
odl-tcpmd5-base 1.0.1-Helium-SR1-00004.1
odl-tcpmd5-nio 1.0.1-Helium-SR1-00004.1
odl-tcpmd5-netty 1.0.1-Helium-SR1-00004.1
wave-odl-all 0.1.0-cdl-00004.1
wave-pcep-fcid-tlv 0.1.0-cdl-00004.1
odl-bgpcep-all 0.3.2-Helium-SR1-00004.1
odl-bgpcep-dependencies 0.3.2-Helium-SR1-00004.1
odl-bgpcep-util 0.3.2-Helium-SR1-00004.1
odl-bgpcep-concepts 0.3.2-Helium-SR1-00004.1
odl-bgpcep-parser 0.3.2-Helium-SR1-00004.1
odl-bgpcep-rib 0.3.2-Helium-SR1-00004.1
odl-pcep-api 0.3.2-Helium-SR1-00004.1
odl-pcep-spi 0.3.2-Helium-SR1-00004.1
odl-bgpcep-pcep-impl 0.3.2-Helium-SR1-00004.1
odl-pcep-segment-routing 0.3.2-Helium-SR1-00004.1
odl-bgpcep-topology 0.3.2-Helium-SR1-00004.1
odl-bgpcep-linkstate 0.3.2-Helium-SR1-00004.1
odl-bgpcep-tunnel 0.3.2-Helium-SR1-00004.1
odl-bgpcep-programming 0.3.2-Helium-SR1-00004.1
wave-pcep-cisco-tlv 0.1.0-cdl-00004.1
odl-aaa-all 0.1.1-Helium-SR1-00004.1
odl-aaa-authn
odl-netconf-netty-util 0.2.6-Helium-SR1-00004.1
odl-netconf-monitoring 0.2.6-Helium-SR1-00004.1
odl-config-netty 0.2.6-Helium-SR1-00004.1
odl-deployment-mode-registry 1.4.3-Helium-SR1-00004.1
odl-l2switch-hosttracker 0.1.1-Helium-SR1-00004.1
odl-l2switch-addresstracker 0.1.1-Helium-SR1-00004.1
odl-l2switch-arphandler 0.1.1-Helium-SR1-00004.1
odl-l2switch-packethandler 0.1.1-Helium-SR1-00004.1
odl-openflowplugin-southbound 0.0.4-Helium-SR1-00004.1
odl-flow-model 1.1.1-Helium-SR1-00004.1
odl-openflowjava-protocol 0.5.1-Helium-SR1-00004.1
odl-l2switch-loopremover 0.1.1-Helium-SR1-00004.1
odl-openflowplugin-flow-services 0.0.4-Helium-SR1-00004.1
odl-flow-services 1.1.1-Helium-SR1-00004.1
odl-restconf 1.1.1-Helium-SR1-00004.1
odl-aaa-authn-mdsal 0.1.1-Helium-SR1-00004.1
war 3.0.1
http 3.0.1
pax-http 3.1.0
pax-jetty 8.1.14.v20131031
pax-war 3.1.0
pax-http-whiteboard 3.1.0
odl-restconf-noauth 1.1.1-Helium-SR1-00004.1
odl-tcpmd5-all 1.0.1-Helium-SR1-00004.1
odl-tcpmd5-base 1.0.1-Helium-SR1-00004.1
odl-tcpmd5-nio 1.0.1-Helium-SR1-00004.1
odl-tcpmd5-netty 1.0.1-Helium-SR1-00004.1
wave-odl-all 0.1.0-cdl-00004.1
wave-pcep-fcid-tlv 0.1.0-cdl-00004.1
odl-bgpcep-all 0.3.2-Helium-SR1-00004.1
odl-bgpcep-dependencies 0.3.2-Helium-SR1-00004.1
odl-bgpcep-util 0.3.2-Helium-SR1-00004.1
odl-bgpcep-concepts 0.3.2-Helium-SR1-00004.1
odl-bgpcep-parser 0.3.2-Helium-SR1-00004.1
odl-bgpcep-rib 0.3.2-Helium-SR1-00004.1
odl-pcep-api 0.3.2-Helium-SR1-00004.1
odl-pcep-spi 0.3.2-Helium-SR1-00004.1
odl-bgpcep-pcep-impl 0.3.2-Helium-SR1-00004.1
odl-pcep-segment-routing 0.3.2-Helium-SR1-00004.1
odl-bgpcep-topology 0.3.2-Helium-SR1-00004.1
odl-bgpcep-linkstate 0.3.2-Helium-SR1-00004.1
odl-bgpcep-tunnel 0.3.2-Helium-SR1-00004.1
odl-bgpcep-programming 0.3.2-Helium-SR1-00004.1
wave-pcep-cisco-tlv 0.1.0-cdl-00004.1
odl-aaa-all 0.1.1-Helium-SR1-00004.1
odl-aaa-authn



 Comments   
Comment by RichardHill [ 24/Jul/15 ]

Attachment logs.zip has been added with description: logs of errors

Comment by Robert Varga [ 08/Sep/15 ]

Is this reproducible with the Lithium SR1?

Generated at Wed Feb 07 20:53:22 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.