[BGPCEP-140] close() method of BGPSessionImpl should set the error subcode Created: 30/Sep/14  Updated: 03/Mar/19  Resolved: 13/Jan/15

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

Type: Bug
Reporter: Bin Pan Assignee: Unassigned
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: 2115

 Description   

I got null pointer exception when the close() method of BGPSessionImpl was called.
I find that the root cause is that the error subcode of BGPError.CEASE is not set.

Please set the errorSubcode for BGPError.CEASE in the close() method.

FYI:
this.sendMessage(new NotifyBuilder().setErrorCode(BGPError.CEASE.getCode()).setErrorSubcode((short)0).build());



 Comments   
Comment by Dana Kutenicsova [ 30/Sep/14 ]

https://git.opendaylight.org/gerrit/#/c/11672

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