I have a BO that when a new record is created it fires a process to find a record in another BO and updates the Quantity accordingly and insert ref to the new BO record. When the New BO record contains 1 item to be updated it goes through without any problems. But when there are multiple ones it completes the entire Process (Updating Quantity and Inserting reference to the BO. and Succeeds in creating the BO ) but it returns the Following Error: java.lang.NullPointerException
Can someone please explain why I am getting this error
PS. I'm working in evaluation version of V4.0 as looking to upgrade to from V3 soon