Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Blank page problem
Could you help me with the blank page issue, please? Description below
Sometimes users in guest mode can't see page on the website. It is fully blank and unavailable. Moreover for one guest it can be available and for another one not available at the same time. This problem can be solved after some time by its own and the page will be available as normal (magic I suppose). If we need access to this page (in guest mode) right now I know one way how to solve the blank problem - resave page settings.
logs:
Why does this happen? What can cause it? Any ideas???
Thanks!
Sometimes users in guest mode can't see page on the website. It is fully blank and unavailable. Moreover for one guest it can be available and for another one not available at the same time. This problem can be solved after some time by its own and the page will be available as normal (magic I suppose). If we need access to this page (in guest mode) right now I know one way how to solve the blank problem - resave page settings.
logs:
2020-09-13 08:56:52.323 ERROR [ajp-nio-8009-exec-73699][IncludeTag:128] Current URL /**i hide this section**/ generates exception: null
java.lang.NullPointerException
at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:753)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:372)
at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:349)
at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:202)
at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:86)
at freemarker.ext.jsp.TagTransformModel$TagWriter.endEvaluation(TagTransformModel.java:400)
at freemarker.ext.jsp.TagTransformModel$TagWriter.afterBody(TagTransformModel.java:388)
at freemarker.core.Environment.visitAndTransform(Environment.java:427)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:107)
at freemarker.core.Environment.visit(Environment.java:324)
at freemarker.core.MixedContent.accept(MixedContent.java:54)
at freemarker.core.Environment.visit(Environment.java:324)
at freemarker.core.Environment.process(Environment.java:302)
at freemarker.template.Template.process(Template.java:325)
at com.liferay.portal.template.freemarker.internal.FreeMarkerTemplate.processTemplate(FreeMarkerTemplate.java:135)
Why does this happen? What can cause it? Any ideas???
Thanks!
I checked that on every page load logs above appear. Looks like it is not a root of the blank page issue
Which Liferay version do you use?
Do you have a custom theme or something? An embedded portlet per chance?
Is it always working for the same users and not working for another group of users?
Can you try the default theme, if it happens there too?
Do you have a custom theme or something? An embedded portlet per chance?
Is it always working for the same users and not working for another group of users?
Can you try the default theme, if it happens there too?
I use Liferay 7.0
It is a custom theme based on the default generated theme. There is an embedded web content portlet inside portal_normal.ftl (I can show you how I use it if you want)
It randomly happens for any users and can be even for a big group of users. After some time it is gone by its self. And unfortunately can go back again
It happens on the production server. I've never seen this bug on my development local server
I thought maybe the problem with the number of users who visit the problem link? Might it be the problem with the server's power? (not enough resources to serve this site?)
I have zero idea in which direction go to find a solution
It is a custom theme based on the default generated theme. There is an embedded web content portlet inside portal_normal.ftl (I can show you how I use it if you want)
It randomly happens for any users and can be even for a big group of users. After some time it is gone by its self. And unfortunately can go back again
It happens on the production server. I've never seen this bug on my development local server
I thought maybe the problem with the number of users who visit the problem link? Might it be the problem with the server's power? (not enough resources to serve this site?)
I have zero idea in which direction go to find a solution
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™