Legacy Knowledge Base
Published Jul. 2, 2025

Dockbar Display Error After Patch Installation With Patching Tool

Written By

Renáta Kovács

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

After installation of a new hotfix, the dockbar fails to display and an error message can be found in the logs:

ERROR [http-bio-8080-exec-1][LiferayMethodExceptionEventHandler:34]com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.StackOverflowError
com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.StackOverflowError
at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:129)
at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:156)
at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:140)
at com.liferay.taglib.portletext.RuntimeTag.doTag(RuntimeTag.java:63)
...
[http-bio-8080-exec-2][PortletRequestDispatcherImpl:131]org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.html.portlet.dockbar.view_jsp
org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.html.portlet.dockbar.view_jsp
at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:177)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)​

This may be experienced when patching Liferay after an unfinished/incorrect shutdown process of the portal.

Resolution

  1. Stop server
  2. Execute the patching-tool revert command
  3. Download the attached view_user_account.jspf file or copy it from a Liferay Portal 6.2 EE SP1's [Liferay ROOT]\html\portlet\dockbar folder
  4. Copy the view_user_account.jspf file to the deployed portal's [Liferay ROOT]\html\portlet\dockbar folder
  5. Execute the patching-tool install command
  6. Start server
Did this article resolve your issue ?

Legacy Knowledge Base