Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7636607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:43:31+00:00 2026-05-31T07:43:31+00:00

I am receiving a StackOverflowError while rendering a JSF page. It happens after loading

  • 0

I am receiving a StackOverflowError while rendering a JSF page. It happens after loading a particular set of data (which happens successfully) and then doing anything else on the page. Note that the page will load properly if it is refreshed after the error occurs. The page works perfectly otherwise and is able to load more records than are loaded in the error condition.

Depending on the steps taken, the error message can vary slightly but the error will always appear.

I am using MyFaces 1.2 (cannot be upgraded at this point).

Is this a common issue with a solution?

Example 1:

java.lang.StackOverflowError
at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:947)
at java.lang.ClassLoader.loadClass(ClassLoader.java:291)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:101)
at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:45)
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
at com.sun.el.parser.AstIdentifier.getValue(Unknown Source)
at com.sun.el.parser.AstDeferredExpression.getValue(Unknown Source)
at com.sun.el.parser.AstCompositeExpression.getValue(Unknown Source)
at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
     ...

Example2:

java.lang.StackOverflowError
at javax.el.ELContext.(ELContext.java:222)
at com.sun.el.lang.EvaluationContext.(Unknown Source)
at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
at com.sun.el.parser.AstIdentifier.getValue(Unknown Source)
at com.sun.el.parser.AstDeferredExpression.getValue(Unknown Source)
at com.sun.el.parser.AstCompositeExpression.getValue(Unknown Source)
at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
     ...

Update: I have fixed the problem. There was a problem in the standard header code – it didn’t like all of the parameters. I didn’t write the failing code below but I’ll have to fix it.
Checking the stack in Eclipse (when the StackOverflowError breakpoint was hit), it cycled between the (a) line and (b) line (which both hit TagValueExpression.getValue(..)).

<c:forEach var="attr" items="#{request.parameterMap}">
                            <c:if test="#{empty flag}">
                            (a)    <c:set var="parameters" value="#{parameters}&amp;"/>
                            </c:if>
                            <c:set var="flag" value=""/>
                            (b)<c:set var="parameters" value="#{parameters}#{attr.key}=#{attr.value[0]}"/>
                        </c:forEach>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:43:32+00:00Added an answer on May 31, 2026 at 7:43 am
    java.lang.StackOverflowError
        ...
        at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
        at com.sun.el.parser.AstIdentifier.getValue(Unknown Source)
        at com.sun.el.parser.AstDeferredExpression.getValue(Unknown Source)
        at com.sun.el.parser.AstCompositeExpression.getValue(Unknown Source)
        at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
        at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
        ...
    

    So, some EL expression is referencing to itself and thus running in an infinite recursion loop, causing a stack overflow.

    Here is one of the most common causes which should be simple enough to understand the problem:

    <h:inputText binding="#{input}" value="#{input.value}" />
    

    In the above example, the #{input} refers to the component itself. The #{input.value} refers to the value attribute. But if you use it in the value attribute itself, then this keeps back-referencing the value attribute in an infinite recursion loop. In such case, you’d need to fix it by binding the value to a fullworthy managed bean property instead.

    Check your pages for this kind of logic mistakes. It by the way doesn’t matter if the component is bound to a managed bean or not, it would fail as good:

    <h:inputText binding="#{bean.input}" value="#{bean.input.value}" />
    

    You should then be using

    <h:inputText binding="#{bean.input}" value="#{bean.value}" />
    

    Or maybe just this

    <h:inputText binding="#{bean.input}" />
    

    Or even just this, depending on the concrete functional requirement

    <h:inputText value="#{bean.value}" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just receiving the following error now and then in IE when loading one of
I'm receiving Package Load Failure error when I open VS 2005 after I installed
I am receiving a 3rd party feed of which I cannot be certain of
Receiving error: [debug] mod_headers.c(663): headers: ap_headers_output_filter() after I included this within the htaccess file:
Im receiving error C2082: redefinition of formal parameter 'rval' in this code while trying
Upon receiving a TCP RST packet, will the host drop all the remaining data
After receiving very good correction from fuzzy lollipop, I amended my code to create
My app is receiving data from a BlueTooth device 4 times a second, parsing
Receiving alot of these messages when compiling which is making compiling a simple program
Our site is receiving requests which try to access non existing pages. Usually it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.