[TRNSPRTPCE-716] getPM RPC may generate NPE Created: 11/Jan/23 Updated: 26/Sep/23 Resolved: 26/Jan/23 |
|
| Status: | Verified |
| Project: | transportpce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Chlorine, Argon |
| Type: | Bug | Priority: | Medium |
| Reporter: | Gilles Thouenon | Assignee: | Gilles Thouenon |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0 minutes | ||
| Time Spent: | 1 day | ||
| Original Estimate: | 0 minutes | ||
| Description |
|
If we invoke the getPM RPC with as input parameter the node-id of a non-mounted device, the current implementation generates a NPE. Moreover, there is no error message nor rpc result to help user to understand where the issue comes from. 1) Secure the RPC input parameters 2) return a RPC failed result instead of returning a RPC success |
| Comments |
| Comment by Gilles Thouenon [ 11/Jan/23 ] |
|
13:26:35.011 WARN [qtp1763992965-956] Could not find mapping for nodeId ROADM-B1 |