NXIO-315 fix npe