[YANGTOOLS-342] NPE during copy operation for IdentityrefTypeBuilder Created: 20/Oct/14 Updated: 10/Apr/22 Resolved: 22/Oct/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Lukas Sedlak | Assignee: | Ladislav Borak |
| 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: | 2219 |
| Description |
|
NPE is rised during use of CopyUtils.copy operation for IdentityrefTypeBuilder. NPE occours in private getData method (on line 444 in CopyUtils.java) during QName.create (line 450). The reason for exception is the old.getQName returns null since IdentityrefTypeBuilder.getQName() by implementation returns always null. |
| Comments |
| Comment by Ladislav Borak [ 22/Oct/14 ] |
|
proposed patch: https://git.opendaylight.org/gerrit/#/c/12107/ |
| Comment by Tony Tkacik [ 22/Oct/14 ] |
|
needs manual cherry-pick to stable/helium |