commit fixed nps here too
Added exception on null inputs for pact contracts