Combination View Flat View Tree View
Threads [ Previous | Next ]
alexey -bykov
StackOverflowError when modifying the template.
November 16, 2012 10:59 PM
Answer

alexey -bykov

Rank: New Member

Posts: 22

Join Date: November 6, 2012

Recent Posts

Hi,

I modified the default template -

  • portal_normal.ftl
  • portal_normal.vm


added a few tags -
 1
 2...
 3            <h1 class="site-title">
 4                <a class="${logo_css_class}" href="${site_default_url}" title="<@liferay.language key="go-to" /> ${site_name}">
 5                    <img alt="${logo_description}" height="${site_logo_height}" src="${site_logo}" width="${site_logo_width}" />
 6                </a>
 7
 8...my tags here..
 9
10                <#if show_site_name>
11                    <span class="site-name" title="<@liferay.language key="go-to" /> ${site_name}">
12                        ${site_name}
13                    </span>
14                </#if>
15            </h1>
16...


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

catalina.out

 1...
 2    INFO: Server startup in 164719 ms
 3    06:23:13,302 ERROR [http-bio-8082-exec-3][IncludeTag:253] Current URL /web/guest/main?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin generates exception: java.lang.StackOverflowError
 4    06:23:13,316 ERROR [http-bio-8082-exec-3][IncludeTag:154] java.lang.StackOverflowError
 5        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
 6        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
 7        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
 8        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
 9        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
10        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
11        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
12        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
13        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
14        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
15        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
16        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
17        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
18        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
19        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
20        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
21        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
22        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
23        at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.write(UnsyncPrintWriter.java:385)
24        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
25...


What is this exception and how to log in now?

I would be very grateful for the information. emoticon

Thank you!
alexey -bykov
RE: StackOverflowError when modifying the template.
November 16, 2012 11:33 PM
Answer

alexey -bykov

Rank: New Member

Posts: 22

Join Date: November 6, 2012

Recent Posts

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.
alexey -bykov
RE: StackOverflowError when modifying the template.
November 16, 2012 11:38 PM
Answer

alexey -bykov

Rank: New Member

Posts: 22

Join Date: November 6, 2012

Recent Posts

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?
Juan Gonzalez
RE: StackOverflowError when modifying the template.
November 16, 2012 11:45 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1872

Join Date: October 28, 2008

Recent Posts

Mmm guess I had the same problem.

Could you try to upgrade your JDK to 1.6.0_13 or above?
alexey -bykov
RE: StackOverflowError when modifying the template.
November 16, 2012 11:58 PM
Answer

alexey -bykov

Rank: New Member

Posts: 22

Join Date: November 6, 2012

Recent Posts

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!
alexey -bykov
RE: StackOverflowError when modifying the template.
November 17, 2012 7:19 AM
Answer

alexey -bykov

Rank: New Member

Posts: 22

Join Date: November 6, 2012

Recent Posts

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.
alexey -bykov
RE: StackOverflowError when modifying the template.
November 17, 2012 8:10 AM
Answer