[
https://issues.jboss.org/browse/GTNWSRP-380?page=com.atlassian.jira.plugi...
]
Work on GTNWSRP-380 started by Juraci Paixão Kröhling.
------------------------------------------------------
Unable to edit remote portlet with portlet preferences and undefined
EDIT mode
------------------------------------------------------------------------------
Key: GTNWSRP-380
URL:
https://issues.jboss.org/browse/GTNWSRP-380
Project: GateIn WSRP
Issue Type: Bug
Components: GateIn integration
Affects Versions: 2.2.11.Final
Environment: JPP 6.1.1
Reporter: Martin Weiler
Assignee: Juraci Paixão Kröhling
Trying to edit a portlet in the page / layout edit mode fails under the following
conditions:
- the portlet is a remote portlet
- portlet.xml contains portlet preferences
- EDIT mode is NOT enabled in portlet.xml
- doEdit is not implemented
The following stacktrace is printed to the log file:
{noformat}
15:57:01,771 ERROR [portal:UIPortletLifecycle] (http-localhost/127.0.0.1:8080-1) Error
processing the action: null: java.lang.NullPointerException
at
org.exoplatform.portal.webui.application.UIPortletForm.setValues(UIPortletForm.java:195)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.webui.application.UIPortletActionListener$EditPortletActionListener.execute(UIPortletActionListener.java:799)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
[exo.portal.webui.framework-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:81)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:55)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
[exo.portal.webui.framework-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
[exo.portal.webui.framework-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
[exo.portal.webui.framework-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:637)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:210)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:167)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at org.exoplatform.web.WebAppController.service(WebAppController.java:340)
[exo.portal.component.web.controller-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.portal.application.PortalController.onService(PortalController.java:110)
[exo.portal.webui.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
[exo.kernel.container-2.4.7-GA-redhat-1.jar:2.4.7-GA-redhat-1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96)
[exo.portal.component.web.api-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71)
[exo.portal.component.web.api-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70)
[exo.portal.component.web.api-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:67)
[exo.portal.component.web.security-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122)
[exo.jcr.framework.web-1.15.7-GA-redhat-2.jar:1.15.7-GA-redhat-2]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66)
[exo.portal.component.web.security-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)
[exo.core.component.security.core-2.5.7-GA-redhat-1.jar:2.5.7-GA-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:81)
[exo.portal.component.web.security-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49)
[exo.portal.component.web.security-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.gatein.security.oauth.webapi.OAuthDelegateFilter.doFilter(OAuthDelegateFilter.java:58)
[exo.portal.component.web.oauth-web-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)
[sso-integration-1.3.4.Final-redhat-2.jar:1.3.4.Final-redhat-2]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)
[exo.kernel.container-2.4.7-GA-redhat-1.jar:2.4.7-GA-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.gatein.portal.installer.PortalSetupFilter.doFilter(PortalSetupFilter.java:62)
[exo.portal.component.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.gatein.portal.init.PortalCheckInitFilter.doFilter(PortalCheckInitFilter.java:66)
[exo.portal.component.portal-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.gatein.sso.integration.SSODelegateValve.invoke(SSODelegateValve.java:159)
[sso-integration-1.3.4.Final-redhat-2.jar:1.3.4.Final-redhat-2]
at
org.gatein.portal.security.jboss.PortalClusteredSSOSupportValve.invoke(PortalClusteredSSOSupportValve.java:94)
[exo.portal.component.web.security-jboss-3.6.5.Final-redhat-1.jar:3.6.5.Final-redhat-1]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
[jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
{noformat}
The same works for a local portlet
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)