null pointer issue fixed in assigncollectionpathway