The infinite loop in the application event could be caused by multiple handlers registered in the project. If the event is fired and then handled in such a way that the handling leads to the event being fired again, this can create a loop. Care must be taken to ensure that the handling of the event does not re-trigger the same event unintentionally.References: Aura Components Developer Guide - Application Events