[CONTROLLER-398] NPE at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizer.toLegacySimple Created: 25/Apr/14 Updated: 25/Jul/23 Resolved: 12/May/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Valentin Mayamsin | Assignee: | Tony Tkacik |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 849 |
| Description |
|
Encountering NPE when calling getOriginalOperationalSubtree() in a registered org.opendaylight.controller.sal.binding.api.data.DataChangeListener. Expected: return null. Sample code: registration: DataChangeListener: Full stack trace: java.lang.NullPointerException: null |
| Comments |
| Comment by Valentin Mayamsin [ 25/Apr/14 ] |
|
Version: org.opendaylight.controller.version = 0.1 |
| Comment by Valentin Mayamsin [ 28/Apr/14 ] |
|
To reproduce: 1. Create an LSP with NetworkTopologyPcepService.addLsp() 3. listener is: 4. First message you'll receive will trigger NPE |
| Comment by Debolina Bandyopadhyay [ 28/Apr/14 ] |
|
Thanks Valentin. |
| Comment by Debolina Bandyopadhyay [ 01/May/14 ] |
|
Which distribution did you run the controller, when you faced this issue? |
| Comment by Valentin Mayamsin [ 01/May/14 ] |
|
Fedora release 18 (Spherical Cow) |
| Comment by Debolina Bandyopadhyay [ 01/May/14 ] |
|
No I mean, did you run the controller from controller distribution or openflowplugin or integration or service provider distribution? |
| Comment by Valentin Mayamsin [ 01/May/14 ] |
|
This is special build for Cisco. What specifically are you interested in? |
| Comment by Tony Tkacik [ 06/May/14 ] |
|
Proposed fix which explicitly tests if before / after subtree image |