[TRNSPRTPCE-390] Avoid getting service from ServiceDatastore when that latter is not instanciated yet Created: 22/Jan/21 Updated: 03/Sep/21 Resolved: 05/Feb/21 |
|
| Status: | Verified |
| Project: | transportpce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| 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: | Not Specified | ||
| Description |
|
When the status of a ROADM TTP port change, and that port does not support any service yet, the update process attempt to read the ServiceDatastore which has not been instantiated yet. Adapt injection of ServiceDatastoreOperation in Service Handler to be sure that ServiceDatastore instance exist and thus avoid generation of NPE. |