Announcement Announcement Module
Collapse
No announcement yet.
StackOverflow error for request.getPrincipal().getClass Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • StackOverflow error for request.getPrincipal().getClass

    Hi,
    I am using Spring + Acegi for one of my projects.
    Whenever I try to invoke any method on the object returned from request.getUserPrincipal(), I get the following error.

    Code:
    Jan 9, 2006 12:13:57 PM org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext
    SEVERE: Exception initializing page context
    java.lang.StackOverflowError
    	at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
    	at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
    My configuration files are attached to this post.
    Any help would be highly appreciated.

    Thanks!
    Last edited by sandeshmore; Jan 9th, 2006, 05:19 AM.

  • #2
    I work with sandesh and stil have the issue of getting getUserPrincipal(). Can I anyone point us to some direction

    Amad

    Comment


    • #3
      Are you using ContextHolderAwareRequestFilter or CustomContextHolderAwareRequestFilter? Also, I see you're not using 1.0.0 RC1 - does the error occur if you use the later version?

      Comment

      Working...
      X