StackOverflowError when modifying the template.StackOverflowError when modifying the template.https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=179910862024-03-28T10:38:23Z2024-03-28T10:38:23ZRE: StackOverflowError when modifying the template.alexey -bykovhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=179940922012-11-17T16:09:49Z2012-11-17T16:09:49ZI figured out.<br /><br />Relevant topics -<br /><br /><a href="http://www.liferay.com/community/forums/-/message_boards/message/5005621">http://www.liferay.com/community/forums/-/message_boards/message/5005621</a><br /><a href="http://stackoverflow.com/questions/10597031/how-to-regain-login-portlet-in-liferay">http://stackoverflow.com/questions/10597031/how-to-regain-login-portlet-in-liferay</a>alexey -bykov2012-11-17T16:09:49ZRE: StackOverflowError when modifying the template.alexey -bykovhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=179940372012-11-17T15:19:10Z2012-11-17T15:19:10ZI updated <strong>JDK 1.6.0_34</strong> to version <strong>JDK 1.7.0_09</strong> but it did not help. Log-in portlet is not visible.alexey -bykov2012-11-17T15:19:10ZRE: StackOverflowError when modifying the template.alexey -bykovhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=179912182012-11-17T07:58:54Z2012-11-17T07:58:54ZHi, Juan Gonzalez P!<br />Thanks for the reply!<br /><br />I use <strong>JDK 1.6.0_34</strong> on <strong>Linux Mandriva</strong> and <strong>JDK 1.6.0_35</strong> on <strong>Windows XP</strong>.<br />On Windows no such problem, I'll try to update, thanks!alexey -bykov2012-11-17T07:58:54ZRE: StackOverflowError when modifying the template.Juan Gonzalezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=179911732012-11-17T07:45:09Z2012-11-17T07:45:09ZMmm guess I had the same problem.<br /><br />Could you try to upgrade your JDK to 1.6.0_13 or above?Juan Gonzalez2012-11-17T07:45:09ZRE: StackOverflowError when modifying the template.alexey -bykovhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=179911562012-11-17T07:38:42Z2012-11-17T07:38:42ZWhen I look at the firebug, I see that the status of the login request <em>http://localhost:8082/c/portal/login?p_l_id=10691</em> is <strong>302 Moved Temporarily</strong><br /><br />What could this mean?alexey -bykov2012-11-17T07:38:42ZRE: StackOverflowError when modifying the template.alexey -bykovhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=179911502012-11-17T07:33:12Z2012-11-17T07:33:12ZI guess that is not the point.<br /><br />I returned everything as it was, but the log in is not possible - a blank screen.<br /><br />Trying to restore the login portlet by typing <strong>c / portal / login</strong> in url after <strong>localhost: 8082</strong> but it does not help either.alexey -bykov2012-11-17T07:33:12ZStackOverflowError when modifying the template.alexey -bykovhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=179910852012-11-17T06:56:10Z2012-11-17T06:56:10Z<html><head></head><body>Hi,<br><br>I modified the default template -<br><br><ul><li> portal_normal.ftl</li><li> portal_normal.vm</li></ul> <br><br>added a few tags -<br><pre><code>
...
<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>
...</code></pre><br><br>Now, when I try to log in, I see a blank screen and in the log states that -<br><br><strong>catalina.out</strong><br><br><pre><code>...
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.UnsyncPrintWrite