When using Adobe Target as the Targeting engine on AEM 6.2 through 6.4 on non-html extension pages the targeting doesn't work and the page recursively loads within itself.
This bug is fixed in AEM 6.4 service pack 1 (SP1).
If you need a fix on an older AEM version, contact Adobe Customer Care.