NPException fix in Pipeline.