[PortletServlet:109] Unable to process portlet com_liferay_dispatch_web_internal_portlet_DispatchPortlet: java.lang.reflect.UndeclaredThrowableException
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
learn-legacy-article-disclaimer-text
Issue
- Navigate to Control Panel > Configuration > Job Scheduler > Scheduled Jobs, and after clicking the "Run Now" button, it redirects back to the "Job Scheduler Triggers" page instead of executing the job. The following errors appear in the logs.
2024-06-25 12:02:56.631 ERROR [http-nio-8081-exec-4][PortletServlet:109] Unable to process portlet com_liferay_dispatch_web_internal_portlet_DispatchPortlet: java.lang.reflect.UndeclaredThrowableException
javax.portlet.PortletException: java.lang.reflect.UndeclaredThrowableException
at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:56) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:393) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:75) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:247) ~[portal-kernel.jar:?]
at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:68) ~[portal-impl.jar:?]
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:41) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105) ~[portal-kernel.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) ~[servlet-api.jar:4.0.FR]
.
.
.
.
.
.
.
Caused by: java.lang.NullPointerException
at com.liferay.portal.scheduler.quartz.internal.QuartzSchedulerEngine.run(QuartzSchedulerEngine.java:295) ~[?:?]
at com.liferay.portal.scheduler.multiple.internal.ClusterSchedulerEngine.run(ClusterSchedulerEngine.java:247) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_411]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_411]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_411]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_411]
at com.liferay.portal.scheduler.multiple.internal.ClusterableProxyFactory$ClusterableInvocationHandler.invoke(ClusterableProxyFactory.java:54) ~[?:?]
at com.sun.proxy.$Proxy330.run(Unknown Source) ~[?:?
Environment
- Liferay DXP 7.4+
- Quarterly Releases:
- 2023.Q3+
- 2023.Q4+
- 2024.Q1+
Resolution
- The observed behavior has been addressed by: LPD-33139
- Based on the above LPD, this issue has been resolved starting from 2024.Q2.12 release.
did-this-article-resolve-your-issue