[
https://issues.jboss.org/browse/GTNPORTAL-2487?page=com.atlassian.jira.pl...
]
Vu Viet Phuong commented on GTNPORTAL-2487:
-------------------------------------------
we cache the producedOfferPortlet in UIPortlet (and this object is cached in HttpSession)
and this is actually a bug that we have along time ago (not from 9b458f4d
'GTNPORTAL-2411: Merge initial implementation of resource loading controller')
I can reproduce the exception: "java.lang.IllegalStateException" even after I
have reverted GTNPORTAL-2411
- edit home page
- remove tomcat/webapps/web.war
- refresh browser and try to edit the portlet --> alert error and the exception
java.lang.IllegalStateException: Portlet HomePagePortlet is not started is in the console
GTNPORTAL-2411 create another case that can reproduce this bug but this is not the root of
problem (but we also make an immprovement to make a workaround
https://github.com/exoportal/gatein-portal/commit/9a87091b7721dcef6415463...)
But there is still other case that can cause bug (for example some one try to undeploy the
portlet war, then change the portlet title in portlet.xml, then make a hot deploy -->
but the UI still show the old title)
Caused by: java.lang.IllegalStateException: Portlet is not started
after hot redeploy of portlet war
----------------------------------------------------------------------------------------------------
Key: GTNPORTAL-2487
URL:
https://issues.jboss.org/browse/GTNPORTAL-2487
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: PC integration
Affects Versions: 3.3.0.Final
Reporter: Chris Laprun
Assignee: Marko Strukelj
Priority: Critical
Fix For: 3.4.0.Final
Attachments: GTNPORTAL-2487.patch
Trying to access a portlet that has already been accessed and which WAR has been
hot-redeployed leads to the following exception:
Caused by: java.lang.IllegalStateException: Portlet AdminMenuPortlet is not started
at
org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.getInfo(PortletContainerImpl.java:186)
[pc-portlet-2.3.2-GA.jar:2.3.2-GA]
at
org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.getInfo(PortletContainerImpl.java:96)
[pc-portlet-2.3.2-GA.jar:2.3.2-GA]
at
org.gatein.pc.portlet.container.ContainerPortletInvoker$PortletImpl.getInfo(ContainerPortletInvoker.java:233)
[pc-portlet-2.3.2-GA.jar:2.3.2-GA]
at org.gatein.pc.federation.impl.FederatedPortlet.getInfo(FederatedPortlet.java:77)
[pc-federation-2.3.2-GA.jar:2.3.2-GA]
at org.exoplatform.portal.webui.application.UIPortlet.processRender(UIPortlet.java:1112)
[exo.portal.webui.portal-3.3.0-GA.jar:3.3.0-GA]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
[exo.portal.webui.framework-3.3.0-GA.jar:3.3.0-GA]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
[exo.portal.webui.framework-3.3.0-GA.jar:3.3.0-GA]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira