Open reshmabidikar opened 10 months ago
Debugging the code a bit, the error occurs at this line since plan.getCatalog().getEffectiveDate()
is null
. I believe after the catalog is cloned, the root field is null
causing plan.getCatalog().getEffectiveDate()
to be null
(To be confirmed).
As a short-term solution, we could remove the plan.getCatalog().getEffectiveDate()
field from the ValidationError
object at this line.
The Validate Catalog XML endpoint causes a NullPointerException when there is a mismatch in the phases of the current catalog and the catalog being validated.
Steps to reproduce:
standard-monthly
plan with anEVERGREEN
phase)standard-monthly
plan with aFIXEDTERM
phase)