[PLAT-6531] Added null check for curve and curveFixed constructor arguments