cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JD Daniels ...@datatrio.com>
Subject flow/auth-fw throwing java.lang.StackOverflowError
Date Thu, 21 Oct 2004 15:07:41 GMT
I am having an intermittent error thrown, and i really dont see what is

causing it... I must be missing a concept for the auth framework here.. 
anyone have any ideas? the error is only thrown once - the first time an 
authenticated user attempts to access the page. after the error, if the 
user just hits refresh, the error is not thrown  again and they can 
continue on normally.

"file:/blah/blah.js", line 23: uncaught JavaScript exception:
at dm_view (file:/blah/blah.js, Line 23):
java.lang.StackOverflowError

18 function login()
19 {
20
21    if (!auth_isAuthenticated("auth-handler"))
22     {
23        if (auth_login("auth-handler", null, cocoon.parameters))
24        {
25            success();
26        }
27        else
28        {
29            cocoon.sendPage("internal/login");
30        }
31    }
32    else
33    {
34        cocoon.redirectTo("main");
35     }
36 }

The function for the page i'm trying to access is:

function dm_view()
{
   if(auth_checkAuthentication("auth-handler",null))
   {
       //Skip all the non-relevant stuff
     cocoon.sendPage("internal/view");
   }
}

Thanks

JD


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org





Mime
View raw message