Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
6252
Description
When you try to put of DataObject (Interface) with an Augmentation (InterfaceAcl) into a DataBroker in an AbstractDataBrokerTest, then in org.opendaylight.yangtools.sal.binding.generator.util.BindingRuntimeContext.getTypeWithSchema(Type) the lookup in that BiMap<Type, Object> typeToDefiningSchema is empty for that Type referencedType (the Augment) ... and you get an NPE or a message such as "java.lang.NullPointerException: Failed to find schema for type ReferencedTypeImpl [packageName=org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.aclservice.rev160608, name=InterfaceAcl]" with https://git.opendaylight.org/gerrit/#/c/42296/
I'll post a Gerrit with a reproducer for this problem in a second.