[BGPCEP-316] NPE in IPv4 prefix withdrawn Update message serialization Created: 26/Nov/15  Updated: 03/Mar/19  Resolved: 05/Dec/15

Status: Resolved
Project: bgpcep
Component/s: BGP
Affects Version/s: Bugzilla Migration
Fix Version/s: Bugzilla Migration

Type: Bug
Reporter: Milos Fabian Assignee: Milos Fabian
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4679

 Description   

2015-11-25 18:19:49,028 | DEBUG | lt-dispatcher-50 | AdjRibOutListener | 160 - org.opendaylight.bgpcep.bgp-rib-impl - 0.5.0.SNAPSHOT | AdjRibOut parsing route ipv4-route[5.3.4.8/32] {
prefix 5.3.4.8/32
attributes {
origin

{ value igp }

originator-id

{ originator 41.41.41.41 }

as-path {
}
multi-exit-disc

{ med 0 }

local-pref

{ pref 100 }

c-next-hop {
ipv4-next-hop

{ global 193.0.0.1 }

}
cluster-id {
cluster

{ cluster 0.0.0.0 }

}
}
}

2015-11-25 18:19:49,028 | TRACE | oupCloseable-2-1 | BGPMessageToByteEncoder | 160 - org.opendaylight.bgpcep.bgp-rib-impl - 0.5.0.SNAPSHOT | Encoding message: Update [_attributes=Attributes [_asPath=AsPath{augmentations={}}, _clusterId=ClusterId{getCluster=[Ipv4Address [_value=0.0.0.0]], augmentations={}}, _localPref=LocalPref{getPref=100, augmentations={}}, _multiExitDisc=MultiExitDisc{getMed=0, augmentations={}}, _origin=Origin{getValue=Igp, augmentations={}}, _originatorId=OriginatorId{getOriginator=Ipv4Address [_value=41.41.41.41], augmentations={}}, augmentation=[Attributes2 [_mpUnreachNlri=MpUnreachNlri [augmentation=[]]]]], augmentation=[]]
2015-11-25 18:19:49,029 | WARN | lt-dispatcher-50 | IPv4RIBSupport | 160 - org.opendaylight.bgpcep.bgp-rib-impl - 0.5.0.SNAPSHOT | Attempt to withdraw using MP Reach
2015-11-25 18:19:49,029 | DEBUG | lt-dispatcher-50 | AdjRibOutListener | 160 - org.opendaylight.bgpcep.bgp-rib-impl - 0.5.0.SNAPSHOT | Writing update Update [_attributes=Attributes [_asPath=AsPath{augmentations={}}, _clusterId=ClusterId{getCluster=[Ipv4Address [_value=0.0.0.0]], augmentations={}}, _localPref=LocalPref{getPref=100, augmentations={}}, _multiExitDisc=MultiExitDisc{getMed=0, augmentations={}}, _origin=Origin{getValue=Igp, augmentations={}}, _originatorId=OriginatorId{getOriginator=Ipv4Address [_value=41.41.41.41], augmentations={}}, augmentation=[Attributes2 [_mpUnreachNlri=MpUnreachNlri [augmentation=[]]]]], augmentation=[]]
2015-11-25 18:19:49,029 | INFO | oupCloseable-2-1 | BGPSessionImpl | 160 - org.opendaylight.bgpcep.bgp-rib-impl - 0.5.0.SNAPSHOT | Failed to send message Update [_attributes=Attributes [_asPath=AsPath{augmentations={}}, _clusterId=ClusterId{getCluster=[Ipv4Address [_value=0.0.0.0]], augmentations={}}, _localPref=LocalPref{getPref=100, augmentations={}}, _multiExitDisc=MultiExitDisc{getMed=0, augmentations={}}, _origin=Origin{getValue=Igp, augmentations={}}, _originatorId=OriginatorId{getOriginator=Ipv4Address [_value=41.41.41.41], augmentations={}}, augmentation=[Attributes2 [_mpUnreachNlri=MpUnreachNlri [augmentation=[]]]]], augmentation=[]] to socket io.netty.handler.codec.EncoderException: java.lang.NullPointerException



 Comments   
Comment by Milos Fabian [ 26/Nov/15 ]

Be: https://git.opendaylight.org/gerrit/#/c/30239/

TODO - cherry-pick to stable/lithium once https://bugs.opendaylight.org/show_bug.cgi?id=3919 will be merged

Comment by Milos Fabian [ 01/Dec/15 ]

Lithium cherry-pick:
https://git.opendaylight.org/gerrit/#/c/30429

Wait until stable/lithium get "unlocked"

Generated at Wed Feb 07 19:12:41 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.