[YANGTOOLS-466] Delete case in AdjRibsOut emits NPE Created: 11/Jun/15 Updated: 10/Apr/22 Due: 17/Jun/15 Resolved: 15/Jun/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Dana Kutenicsova | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 3674 | ||||||||
| Description |
|
It seems that in case of DELETE, the only thing we get from the datastore is DataTreeCandidateNode identifier, no dataBefore or dataAfter, therefore the log (dataBefore().get()) emits NPE. |
| Comments |
| Comment by Robert Varga [ 11/Jun/15 ] |
|
Needs to be fixed before Lithium goes out. |
| Comment by Dana Kutenicsova [ 12/Jun/15 ] |
|
2015-06-12 09:09:32,179 | ERROR | lt-dispatcher-15 | DataTreeChangeListenerActor | 169 - org.opendaylight.controller.sal-distributed-datastore - 1.2.0.SNAPSHOT | Error notifying listener org.opendaylight.protocol.bgp.rib.impl.AdjRibOutListener@669749ec |
| Comment by Dana Kutenicsova [ 12/Jun/15 ] |
|
As it turns out, in this case, the delete without dataBefore shouldn't be issued as DELETE, but as UNMODIFIED. Moved to yangtools. |
| Comment by Dana Kutenicsova [ 12/Jun/15 ] |