[TRNSPRTPCE-104] performPCE can throw to NPE Created: 18/Apr/19 Updated: 17/Dec/21 Resolved: 15/Dec/21 |
|
| Status: | Verified |
| Project: | transportpce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Phosphorus |
| Type: | Bug | Priority: | High |
| Reporter: | Rami Mohamed | Assignee: | Christophe BETOULE |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Code cleaning |
| Description |
|
The method performPCE in PCEServiceWrapper, it's a complex method with many responsibilities and it creates object of type PathComputationRequestOutput with the parameter pathDescription set to null, and pathDescription can't be null because the values aToZ-wavelength-number, zToA-wavelength-number and rate are mandatory as defined in transportpce-pathDescription@2017-10-17.yang |
| Comments |
| Comment by Gilles Thouenon [ 15/Dec/21 ] |
|
In the current version of transportpce-pathDescription@2021-07-05.yang module, no leaf/container contained in aToZ-direction or zToA-direction containers is mandatory. There have probably been a lot of changes in the code since this issue was written in 2019. This issue is now obsolete. I think we can close it. |
| Comment by Gilles Thouenon [ 15/Dec/21 ] |
|
false issue |