Portlet in Dashboard is broken for the first access in JBoss Portal
Issue
- After I configure a custom portlet in dashboard template, the portlet is broken for the first access by a newly created user. Also I see an Exception in server side.
2014-01-22 11:24:29,989 ERROR [portal:UIPortletLifecycle] (http-0.0.0.0-8080-1) Portlet render threw an exception
org.exoplatform.services.portletcontainer.PortletContainerException: org.exoplatform.portal.config.NoSuchDataException: Can not find b7c32f74c0a80a8250131224537112e6
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:336)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:62)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
...
Caused by: org.exoplatform.portal.config.NoSuchDataException: Can not find b7c32f74c0a80a8250131224537112e6
at org.exoplatform.portal.pom.config.POMSession.findCustomizationById(POMSession.java:214)
at org.exoplatform.portal.pom.config.tasks.PreferencesTask$Load.run(PreferencesTask.java:91)
at org.exoplatform.portal.pom.config.POMSession.execute(POMSession.java:405)
at org.exoplatform.portal.pom.config.ExecutorDispatcher.execute(ExecutorDispatcher.java:60)
at org.exoplatform.portal.pom.config.TaskExecutionDecorator.execute(TaskExecutionDecorator.java:38)
at org.exoplatform.portal.pom.config.cache.DataCache.read(DataCache.java:208)
at org.exoplatform.portal.pom.config.cache.DataCache.execute(DataCache.java:61)
at org.exoplatform.portal.pom.config.TaskExecutionDecorator.execute(TaskExecutionDecorator.java:38)
at org.exoplatform.portal.pom.config.cache.PortalNamesCache.execute(PortalNamesCache.java:77)
at org.exoplatform.portal.pom.config.POMSessionManager.execute(POMSessionManager.java:253)
at org.exoplatform.portal.pom.config.POMDataStorage.load(POMDataStorage.java:176)
at org.exoplatform.portal.config.DataStorageImpl.load(DataStorageImpl.java:111)
at org.exoplatform.portal.webui.application.ModelAdapter$1.getPortletContext(ModelAdapter.java:89)
at org.exoplatform.portal.webui.application.UIPortlet.getPortletContext(UIPortlet.java:997)
at org.exoplatform.portal.webui.application.UIPortlet.create(UIPortlet.java:833)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:212)
... 146 more
Environment
- Red Hat JBoss Portal
- 5.2.2
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.