掲示板

Cannot acces tab Resources in Server Administration anymore in LR7 GA3

7年前 に Kim Zeevaarders によって更新されました。

Cannot acces tab Resources in Server Administration anymore in LR7 GA3

Junior Member 投稿: 82 参加年月日: 12/09/07 最新の投稿
Hello,

each time I navigate to control panel --> server administration, the initial selected tab "Resources" remains empty . when I click it i can see the following exception in the log:

08:04:07,083 ERROR [http-nio-8080-exec-7][IncludeTag:128] Current URL /group/control_panel/manage?p_p_id=com_liferay_server_admin_web_portlet_ServerAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_server_admin_web_portlet_ServerAdminPortlet_mvcRenderCommandName=%2Fserver_admin%2Fview&_com_liferay_server_admin_web_portlet_ServerAdminPortlet_tabs1=resources&_com_liferay_server_admin_web_portlet_ServerAdminPortlet_tabs2= generates exception: java.lang.NullPointerException
java.lang.NullPointerException
	at com.liferay.portal.kernel.backgroundtask.display.BaseBackgroundTaskDisplay.getBackgroundTaskStatusAttributeLong(BaseBackgroundTaskDisplay.java:133)
	at com.liferay.portal.search.internal.background.task.display.ReindexBackgroundTaskDisplay.getPercentage(ReindexBackgroundTaskDisplay.java:37)
	at com.liferay.portal.kernel.backgroundtask.display.BaseBackgroundTaskDisplay.hasPercentage(BaseBackgroundTaskDisplay.java:77)
	at org.apache.jsp.resources_jsp._jspService(resources_jsp.java:671)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:399)
	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:410)
	at com.liferay.portal.osgi.web.servlet.context.helper.internal.JspServletWrapper.service(JspServletWrapper.java:70)
	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:447)
	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)
	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:117)


Does anybody know how to get around this error, since i cannot reindex my entities this way.

Thanks!

Regards,

Kim
7年前 に Kim Zeevaarders によって更新されました。

RE: Cannot acces tab Resources in Server Administration anymore in LR7 GA3

Junior Member 投稿: 82 参加年月日: 12/09/07 最新の投稿
Found out that there is already a ticket for this problem that should be fixed: https://issues.liferay.com/browse/LPS-65979

However, in my LR7 GA3 config it is still occuring...
4年前 に DO DANG THAI によって更新されました。

RE: Cannot acces tab Resources in Server Administration anymore in LR7 GA3

New Member 投稿: 1 参加年月日: 19/05/06 最新の投稿
This reason due to when run reindex not finish, you restart liferay server, please do step by step to resolve:
- execute query select * from lock then delete record selected;
- execute query select * from backgroundtask where status =0 then delete record selected;
- restart liferay server(jboss or tomcat)
- login system, access to Resource tab in server administraion (now it is display), run reindex all and wait proces finish.