Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
2974
Description
I am writing to oeprational/ietf-interfaces:interface-state from my code [vpnmanager] but ran into following exception on write:
2015-04-10 19:27:14,686 | WARN | ult-dispatcher-2 | JavassistUtils | 92 - org.opendaylight.yangtools.binding-generator-impl - 0.7.0.SNAPSHOT | Failed to customize org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state._interface.Statistics$StreamWriter from prototype org.opendaylight.yangtools.binding.data.codec.gen.impl.DataObjectSerializerPrototype
javassist.CannotCompileException: [source error] no such class: org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime
at javassist.CtBehavior.setBody(CtBehavior.java:446)[89:javassist:3.19.0.GA]
This is the import statement in my code as well as generated file [org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.java generated from ietf-interfaces.yang]:
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev100924.DateAndTime;
Bug is that rev130715.DateAndTime is being used even though the generated code says rev100924.DateAndTime. Either generated code should pick more recent revision or at the time of serialization it should look for the right class.
Attachments
Issue Links
- blocks
-
BGPCEP-311 New openconfig modules frequently cause "server is unhealthy".
- Resolved