ORA-36380: (AGGRECURSE) AGGREGATE was called recursively, which is not allowed.
What triggered the Error:
A model, NATRIGGER, or other object called the AGGREGATE function or command while another AGGREGATE function or command was already in progress.What should we do to fix it:
Modify your objects so that they do not need to have two AGGREGATE commands or functions executing at once.