StackOverflowError

Guys, we had a query working just fine and then we started getting the error StackOverflowError. Has any of you come across a similar behaviour? What does this error mean?

Query profile attached.d1f27876-0f75-42a3-9e2e-0ad63d0a76a4.zip (5.0 KB)

After having a more detailed look the view “MemRwdFiscalPer” was causing the issue. I had to delete and recreate it again (same logic, same reflection). Maybe the underlining reflection went bad?

Finally, here’s the query profile just for "MemRwdFiscalPerabdeb8d0-0766-4c28-be33-bd1b2c6072b8.zip (3.4 KB)
"

Can you talk a little bit more about the data source? Managed.da.Base.Epicor.EpicorERP.Erp.FiscalPer