Foren

StackOverflowError when modifying the template.

ivanov -void, geändert vor 11 Jahren.

StackOverflowError when modifying the template.

New Member Beiträge: 22 Beitrittsdatum: 07.11.12 Neueste Beiträge
Hi,

I modified the default template -

  • portal_normal.ftl
  • portal_normal.vm


added a few tags -

...
            <h1 class="site-title">
                <a class="${logo_css_class}" href="${site_default_url}" title="<@liferay.language key=" go-to"></a> ${site_name}"&gt;
                    <img alt="${logo_description}" height="${site_logo_height}" src="${site_logo}" width="${site_logo_width}">
                

...my tags here..

                &lt;#if show_site_name&gt;
                    <span class="site-name" title="<@liferay.language key=" go-to"></span> ${site_name}"&gt;
                        ${site_name}
                    
                <!--#if-->
            </h1>
...


Now, when I try to log in, I see a blank screen and in the log states that -

catalina.out

...
    INFO: Server startup in 164719 ms
    06:23:13,302 ERROR [http-bio-8082-exec-3][IncludeTag:253] Current URL /web/guest/main?p_p_id=58&amp;p_p_lifecycle=0&amp;p_p_state=maximized&amp;p_p_mode=view&amp;saveLastPath=0&amp;_58_struts_action=%2Flogin%2Flogin generates exception: java.lang.StackOverflowError
    06:23:13,316 ERROR [http-bio-8082-exec-3][IncludeTag:154] java.lang.StackOverflowError
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
...


What is this exception and how to log in now?

I would be very grateful for the information. emoticon

Thank you!
ivanov -void, geändert vor 11 Jahren.

RE: StackOverflowError when modifying the template.

New Member Beiträge: 22 Beitrittsdatum: 07.11.12 Neueste Beiträge
I guess that is not the point.

I returned everything as it was, but the log in is not possible - a blank screen.

Trying to restore the login portlet by typing c / portal / login in url after localhost: 8082 but it does not help either.
ivanov -void, geändert vor 11 Jahren.

RE: StackOverflowError when modifying the template.

New Member Beiträge: 22 Beitrittsdatum: 07.11.12 Neueste Beiträge
When I look at the firebug, I see that the status of the login request http://localhost:8082/c/portal/login?p_l_id=10691 is 302 Moved Temporarily

What could this mean?
thumbnail
Juan Gonzalez P, geändert vor 11 Jahren.

RE: StackOverflowError when modifying the template.

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Mmm guess I had the same problem.

Could you try to upgrade your JDK to 1.6.0_13 or above?
ivanov -void, geändert vor 11 Jahren.

RE: StackOverflowError when modifying the template.

New Member Beiträge: 22 Beitrittsdatum: 07.11.12 Neueste Beiträge
Hi, Juan Gonzalez P!
Thanks for the reply!

I use JDK 1.6.0_34 on Linux Mandriva and JDK 1.6.0_35 on Windows XP.
On Windows no such problem, I'll try to update, thanks!
ivanov -void, geändert vor 11 Jahren.

RE: StackOverflowError when modifying the template.

New Member Beiträge: 22 Beitrittsdatum: 07.11.12 Neueste Beiträge
I updated JDK 1.6.0_34 to version JDK 1.7.0_09 but it did not help. Log-in portlet is not visible.