Message Oracle ORA-36380 - (AGGRECURSE) AGGREGATE was called recursively, which is not allowed.

ERROR(AGGRECURSE) AGGREGATE was called recursively, which is not allowed.
CAUSEA model, NATRIGGER, or other object called the AGGREGATE function or command while another AGGREGATE function or command was already in progress.
ACTIONModify your objects so that they do not need to have two AGGREGATE commands or functions executing at once.