Uploaded image for project: 'lispflowmapping'
  1. lispflowmapping
  2. LISPMAP-10

SMR packet serialization exception

    XMLWordPrintable

Details

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

    • 1136

    Description

      Reported by Óscar Fernández <ofernand@ac.upc.edu>

      When an SMR message has to be sent, that part of code is executed but I got an Error and the SMR is not sent. What should I do to make it work? Find attached the exception output.

      2014-06-04 13:54:43.105 CEST [md-sal-binding-notification-0] TRACE o.o.l.implementation.lisp.MapServer - handleMapRegister() is called:
      2014-06-04 13:54:43.106 CEST [md-sal-binding-notification-0] TRACE o.o.l.implementation.lisp.MapServer - mapRegister.getEidToLocatorRecord() size: 1
      2014-06-04 13:54:43.106 CEST [md-sal-binding-notification-0] TRACE o.o.l.implementation.lisp.MapServer - mappingChanged: true
      2014-06-04 13:54:43.106 CEST [md-sal-binding-notification-0] TRACE o.o.l.implementation.lisp.MapServer - smr: true
      2014-06-04 13:54:43.107 CEST [md-sal-binding-notification-0] DEBUG o.o.l.implementation.lisp.MapServer - Interface name:eth1 (eth1)
      2014-06-04 13:54:43.108 CEST [md-sal-binding-notification-0] DEBUG o.o.l.implementation.lisp.MapServer - fe80:0:0:0:dad3:85ff:fee5:dd5d%5
      2014-06-04 13:54:43.108 CEST [md-sal-binding-notification-0] TRACE o.o.l.implementation.lisp.MapServer - Built SMR packet: MapRequest [_mapReply=null, _sourceEid=SourceEid [_lispAddressContainer=LispAddressContainer [_address=Ipv4 [_ipv4Address=Ipv4Address [_value=10.0.0.2], _afi=1, augmentation=[]], augmentation=[]], augmentation=[]], _authoritative=false, _itrRloc=[ItrRloc [_lispAddressContainer=LispAddressContainer [_address=Ipv4 [_ipv4Address=Ipv4Address [_value=fe80:0:0:0:dad3:85ff:fee5:dd5d%5], _afi=1, augmentation=[]], augmentation=[]], augmentation=[]]], _mapDataPresent=false, _nonce=2027406967693310203, _pitr=false, _probe=false, _smr=true, _smrInvoked=false, _eidRecord=[EidRecord [_mask=32, _lispAddressContainer=LispAddressContainer [_address=Ipv4 [_ipv4Address=Ipv4Address [_value=10.0.0.2], _afi=1, augmentation=[]], augmentation=[]], augmentation=[]]], augmentation=[]]
      2014-06-04 13:54:43.123 CEST [md-sal-binding-notification-0] ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.lispflowmapping.implementation.LispMappingService$MapRegisterNotificationHandler@6d8987ef
      java.nio.BufferOverflowException: null
      at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:183) ~[na:1.7.0_55]
      at java.nio.ByteBuffer.put(ByteBuffer.java:832) ~[na:1.7.0_55]
      at org.opendaylight.lispflowmapping.implementation.serializer.address.LispIpv4AddressSerializer.serializeData(LispIpv4AddressSerializer.java:42) ~[na:na]
      at org.opendaylight.lispflowmapping.implementation.serializer.address.LispAddressSerializer.serialize(LispAddressSerializer.java:43) ~[na:na]
      at org.opendaylight.lispflowmapping.implementation.serializer.MapRequestSerializer.serialize(MapRequestSerializer.java:98) ~[na:na]
      at org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin.sendMapRequest(LispSouthboundPlugin.java:304) ~[na:na]
      at org.opendaylight.yang.gen.v1.lispflowmapping.rev131031.LispflowmappingService$$Broker$DirectProxy.sendMapRequest(LispflowmappingService$$Broker$DirectProxy.java) ~[na:na]
      at org.opendaylight.lispflowmapping.implementation.LispMappingService.handleSMR(LispMappingService.java:336) ~[na:na]
      at org.opendaylight.lispflowmapping.implementation.lisp.MapServer.handleMapRegister(MapServer.java:162) ~[na:na]
      at org.opendaylight.lispflowmapping.implementation.LispMappingService.handleMapRegister(LispMappingService.java:222) ~[na:na]
      at org.opendaylight.lispflowmapping.implementation.LispMappingService$MapRegisterNotificationHandler.onNotification(LispMappingService.java:284) ~[na:na]
      at org.opendaylight.lispflowmapping.implementation.LispMappingService$MapRegisterNotificationHandler.onNotification(LispMappingService.java:280) ~[na:na]
      at org.opendaylight.controller.sal.binding.impl.NotifyTask.call(NotifyTask.java:59) ~[na:na]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_55]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_55]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_55]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55]

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            ljakab Lori Jakab
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: