[mdsal-dev] Supplied QName is not a valid identity


Robert Varga
 

On 07/08/2019 05:14, Vikram Darsi wrote:
Caused by: java.lang.IllegalArgumentException: Supplied QName
(urn:ietf:params:xml:ns:yang:iana-if-type?revision=2014-05-08)ethernetCsmacd
is not a valid identity

        at
com.google.common.base.Preconditions.checkArgument(Preconditions.java:216)
~[?:?]

        at
org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext$1.load(BindingRuntimeContext.java:96)
~[?:?]

        at
org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext$1.load(BindingRuntimeContext.java:92)
~[?:?]

        at
com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
~[?:?]

        at
com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2276) ~[?:?]

        at
com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154)
~[?:?]

        at
com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044) ~[?:?]
This would indicate that requested identity has not been loaded in the
SchemaContext that is being used by MD-SAL Binding layer. Can you
reproduce it in an ODL-only test?

Regards,
Robert