Peter Palaga created GTNPORTAL-2775:
---------------------------------------
Summary: lack of logging when error
"org.gatein.pc.api.NoSuchPortletException: No such portlet xxx" occurs
Key: GTNPORTAL-2775
URL:
https://issues.jboss.org/browse/GTNPORTAL-2775
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Peter Palaga
Some times the following errors occur:
ERROR [STDERR] (ajp-10.5.38.13-8009-85) org.gatein.pc.api.NoSuchPortletException: No such
portlet /xxxxx
.headerImports
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.portlet.container.ContainerPortletInvoker.getPortlet(ContainerPortletInvoker.java:113)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.portlet.state.producer.ProducerPortletInvoker._getPortlet(ProducerPortletInvoker.java:202)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.getPortlet(ProducerPortletInvoker.java:119)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.federation.impl.FederatedPortletInvokerService.getPortlet(FederatedPortletInvokerService.java:110)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.federation.impl.FederatingPortletInvokerService.getPortlet(FederatingPortletInvokerService.java:231)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.gatein.pc.portlet.PortletInvokerInterceptor.getPortlet(PortletInvokerInterceptor.java:83)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.application.UIPortlet.setState(UIPortlet.java:939)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIPortlet(PortalDataMapper.java:246)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:402)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.buildUIContainer(PortalDataMapper.java:419)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:314)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIContainer(PortalDataMapper.java:291)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.util.PortalDataMapper.toUIPage(PortalDataMapper.java:320)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.page.UIPageBody.getUIPage(UIPageBody.java:148)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.page.UIPageBody.setPageBody(UIPageBody.java:78)
2012-11-09 10:26:51,903 ERROR [STDERR] (ajp-10.5.38.13-8009-85) at
org.exoplatform.portal.webui.portal.UIPortal.refreshUIPage(UIPortal.java:238)
...
It indicates that the logged portlet somehow is not recognized by EPP. To fix this issue
we have to drop the portlet from the problematic page and re-add it again.
However, the errors don't show what page is having this problem. We have to identify
the pages by checking the timestamps.
We would like the EPP code could add more logging here to show the specific page info if
such error pops up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira