Fix assocObj() with null