4/16 fix nullptrexcep in DoValDecl.