Foren

Issue: StackOverflowError in log while accessing portlet

thumbnail
Subhasis Roy, geändert vor 6 Jahren.

Issue: StackOverflowError in log while accessing portlet

Expert Beiträge: 275 Beitrittsdatum: 20.01.12 Neueste Beiträge
Hi,

I am facing one issue in the while accessing porlet page after login.
This issue is only occurring when I am trying to access the portlet using Firefox or Chrome Browser.
In Internet Explorer everything is working fine.

Error snippet:
Exception in thread "http-bio-8080-exec-170" java.lang.StackOverflowError
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
at java.util.regex.Pattern$CharProperty.match(Pattern.java:3694)
at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
at java.util.regex.Pattern$Loop.match(Pattern.java:4683)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
at java.util.regex.Pattern$CharProperty.match(Pattern.java:3694)
at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
at java.util.regex.Pattern$Loop.match(Pattern.java:4683)
thumbnail
Jorge Díaz, geändert vor 6 Jahren.

RE: Issue: StackOverflowError in log while accessing portlet

Liferay Master Beiträge: 753 Beitrittsdatum: 09.01.14 Neueste Beiträge
All classes in that exception are related to java.util.regex.Pattern.

Is there any other exception info related to Liferay classes? (Classes with name com.liferay.*)
thumbnail
Subhasis Roy, geändert vor 6 Jahren.

Working : RE: Issue: StackOverflowError in log while accessing portlet

Expert Beiträge: 275 Beitrittsdatum: 20.01.12 Neueste Beiträge
Jorge Díaz:
All classes in that exception are related to java.util.regex.Pattern.

Is there any other exception info related to Liferay classes? (Classes with name com.liferay.*)


Hi Jorge,

I saw in the Browser Console using Firefox debugger that the following line is not loading properly .

http://my.test.url/my-test-theme/css/main.css?browserId=firefox&themeId=Mytest_WAR_Mytestheme&minifierType=css&languageId=en_US&b=6210&t=1494227898000


I have removed the minifierType=css part of the url just to check and it started working.
I debug more and it seems a issue with the Liferay AggregatFilter which is not able to convert the main.css file and create main.min.css file due to space issue.

I have increased the Stack size in the tomcat setenv.sh file to 4m (-Xss2m) and it started working. (Default value of this parameter is 1m in setenv.sh)