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