2 of my observer are observing same sales_order_shipment_save_before event. ModuleA was the one i created first and then i created ModuleB
sales_order_shipment_save_before
ModuleA
ModuleB
Each observer should have a unique name. In the code both observer have the same name. So give unique name to each observer.