Message Boards

Blank page problem

Nikita Laitinen, modified 3 Years ago.

Blank page problem

Junior Member Posts: 44 Join Date: 12/18/19 Recent Posts
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:

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!
Nikita Laitinen, modified 3 Years ago.

RE: Blank page problem

Junior Member Posts: 44 Join Date: 12/18/19 Recent Posts
I checked that on every page load logs above appear. Looks like it is not a root of the blank page issue
thumbnail
Christoph Rabel, modified 3 Years ago.

RE: Blank page problem

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
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?
 
Nikita Laitinen, modified 3 Years ago.

RE: Blank page problem

Junior Member Posts: 44 Join Date: 12/18/19 Recent Posts
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