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: After installing LR Portal 7.4.112, Trouble with ServerAdminPortlet
Hi there! I wonder if anyone, after installing Liferay Portal 7.4.112, has the same situation. After making the first entry, that is, entering the default Site created by Liferay, the Home page generates an error, on the front it looks something like this, when I tray to edit it: The message that is displayed is: "This portlet cannot be found. Please redeploy it or remove it from the page." In the logServer it looks like this:
2024-04-19 15:11:18.013 ERROR [http-nio-8080-exec-4][IncludeTag:119] Current URL /web/guest/ee88a915-f104-b943-0fbc-9d434e7a1084 generates exception: java.lang.NullPointerException
java.lang.NullPointerException: null
at org.apache.jsp.render_005ffragment_005flayout.page_jsp._jspService(page_jsp.java:246) ~[?:?]
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) ~[jasper.jar:9.0.83]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) ~[servlet-api.jar:4.0.FR]
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) ~[jasper.jar:9.0.83]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) ~[jasper.jar:9.0.83]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) ~[jasper.jar:9.0.83]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) ~[servlet-api.jar:4.0.FR]
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:310) ~[bundleFile:?]
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:319) ~[bundleFile:?]
at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:147) ~[?:?]
at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:63) ~[?:?]
at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120) ~[?:?]
at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48) ~[?:?]
at com.liferay.portal.kernel.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:57) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.DirectRequestDispatcherFactoryUtil$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryUtil.java:179) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:64) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:45) ~[portal-kernel.jar:?]
at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:400) ~[bundleFile:?]
at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:375) ~[bundleFile:?]
at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:208) ~[bundleFile:?]
I would like to know if this situation has already arisen and where could I start to solve it?
Reguards
David
Could there be custom code that's deployed?
I never came across this - was there any older code present? Are you using a supported JDK (at this time: 8 or 11)?