[LISPMAP-142] null pointer exception when SMR map request is received Created: 25/Oct/16  Updated: 19/Oct/17  Resolved: 25/Oct/16

Status: Resolved
Project: lispflowmapping
Component/s: Service
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug
Reporter: Filip Tehlar 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


Attachments: Text File file_7018.txt    
External issue ID: 7018
Priority: High

 Description   

Version tested:
git hash: e10d5524d18922191658aabaec681840ad291db1

  • following mapping is installed:

{
"input": {
"mapping-record": {
"recordTtl": 1440,
"action": "NoAction",
"authoritative": true,
"eid": {
"address-type": "ietf-lisp-address-types:source-dest-key-lcaf",
"source-dest-key":

{ "source": "6.0.1.0/24", "dest": "6.0.2.0/24" }

},
"LocatorRecord": [
{
"locator-id": "ISP1",
"priority": 1,
"weight": 1,
"multicastPriority": 255,
"multicastWeight": 0,
"localLocator": true,
"rlocProbed": false,
"routed": false,
"rloc":

{ "address-type": "ietf-lisp-address-types:ipv4-afi", "ipv4": "6.0.3.2" }

}
]
}
}
}

  • ITR 6.0.3.1 requests this mapping with key 6.0.1.2/32|6.0.2.2/32
  • update mapping with
    {
    "input": {
    "mapping-record": {
    "recordTtl": 1440,
    "action": "NoAction",
    "authoritative": true,
    "eid":
    Unknown macro: { "address-type"}

    }
    }
    }

  • exception occurs, details in attachement


 Comments   
Comment by Filip Tehlar [ 25/Oct/16 ]

Attachment file_7018.txt has been added with description: ODL log

Comment by Lori Jakab [ 25/Oct/16 ]

Exemplary bug report, has all details like exact Git hash, repro information, and trace level log, thank you! I found the issue, and I'm preparing a fix. Since it would take a lot of time for me to reproduce in my environment, I will ask you to please verify the patch once it's posted, and vote "verified +1" on Gerrit (not code review) if it solves the bug.

Comment by Lori Jakab [ 25/Oct/16 ]

Fix submitted: https://git.opendaylight.org/gerrit/#/c/47481/ please vote 'verified +1' in Gerrit, if it fixes the bug for you.

Generated at Wed Feb 07 20:06:36 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.