4 Replies Latest reply on Oct 30, 2007 12:52 PM by javalo

    Suggestion box throws stack overflow at line:0 error

    javalo

      Rich suggestion box throws Stack overflow at line 0 error when tried with IE7 and rich faces 3.1. With firefox I get too much recursion error.
      Does anyone know why this is happening?

        • 1. Re: Suggestion box throws stack overflow at line:0 error
          amitev

          Do you have a4j:log in the page?

          • 2. Re: Suggestion box throws stack overflow at line:0 error
            amitev

            Rerendering a4j:log is causing this problem.
            See http://jira.jboss.com/jira/browse/AJSF-76

            • 3. Re: Suggestion box throws stack overflow at line:0 error
              javalo

              thnx for replying, but i don't have a4j:log in my page.. the same code works fine in other pages.. wat else could be the issue? (btw, some parts of this page is rendered by ajax)..

              • 4. Re: Suggestion box throws stack overflow at line:0 error
                javalo

                I kinda resoved the issue. This is what I did.
                I m using richfaces 3.1.0 , scriptaculous 1.7.0 and prototype 1.5.0.
                When I try to use rich faces suggestion box , in IE it throws stack
                overflow at line 0. I tried not including scriptaculous and protoype
                instead included
                <a4j:loadScript src="resource://prototype.js" />
                <a4j:loadScript src="resource:///org/richfaces/renderkit/html/scripts/
                scriptaculous/scriptaculous.js" />
                <a4j:loadScript src="resource:///org/richfaces/renderkit/html/
                scripts/scriptaculous/builder.js" />
                <a4j:loadScript src="resource:///org/richfaces/renderkit/html/
                scripts/scriptaculous/effects.js" />
                <a4j:loadScript src="resource:///org/richfaces/renderkit/html/
                scripts/scriptaculous/dragdrop.js" />
                <a4j:loadScript src="resource:///org/richfaces/renderkit/html/
                scripts/scriptaculous/controls.js" />
                <a4j:loadScript src="resource:///org/richfaces/renderkit/html/
                scripts/scriptaculous/slider.js" />
                <a4j:loadScript src="resource:///org/richfaces/renderkit/html/
                scripts/scriptaculous/unittest.js" />

                suggestion box issue seem to be rresolved but the drag property doesnt
                seem to work smooth. When I try to place the mouse pointer on top of
                the wndow and drag it the pointer jumps to the center of the pop up
                window.Also sometimes when i try to close the pop up , the pop up just
                shifts to a new position.

                Does anyone have an idea why this is happening with the draggable window?

                Thanks