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

Codec for uint32 failure (Integer vs Long)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 971

    Description

      2014-05-07 16:03:11.190 CEST [http-bio-8080-exec-1] ERROR o.o.y.y.d.i.c.xml.XmlDocumentUtils - Provided node value 5666 did not have type type (urn:ietf:params:xml:ns:yang:1)uint32 required by mapping. Using stream instead.
      java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
      at org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec$Uint32CodecStringImpl.serialize(TypeDefinitionAwareCodec.java:301) ~[bundlefile:na]

      Attachments

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

        Activity

          People

            jgloncak Jozef Gloncak
            mmarsale@cisco.com Maros Marsalek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: