[LISPMAP-48] DAO restoration from mdsal datastore results in NPE when the datastore is empty Created: 18/Jun/15 Updated: 19/Oct/17 Resolved: 19/Jun/15 |
|
| Status: | Resolved |
| Project: | lispflowmapping |
| Component/s: | Service |
| Affects Version/s: | Lithium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Florin Coras | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 3798 |
| Description |
|
It seems that getAuthenticationKey and getMappings when called on an empty InstanceId node get null results instead of empty lists. This generates NPEs when trying to restore the dao from an empty mdsal config datastore. |
| Comments |
| Comment by Florin Coras [ 18/Jun/15 ] |
|
Fix submitted: https://git.opendaylight.org/gerrit/22863 |