[YANGTOOLS-431] Yang Data Codec Gson: null pointer exception when trying to deserialize leafref value Created: 25/Mar/15 Updated: 10/Apr/22 Resolved: 27/Mar/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jan Hajnar | 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: | 2894 |
| Description |
|
When trying to call Rpc with input that has extended types referencing leafref nodes from another module, parsing of Json fails with null pointer exception. example model: leaf-list supporting-tp { type nt:tp-ref; description "List of termination points that support end point TP. If forwarding adjacency announcement triggers termination point creation, this list is used to fill tp-ref attribute."; }leaf tp-id { type nt:tp-id; description "Forwarding adjacency interface unique identifier. If forwarding adjacency announcement triggers termination point creation, this id is used for TP creation."; }Bug can be reproduced by calling this rpc from topoproccessing project: http://127.0.0.1:8181/restconf/operations/multilayer-topology:forwarding-adj-announce input: , , |
| Comments |
| Comment by Jan Hajnar [ 25/Mar/15 ] |