[
https://issues.jboss.org/browse/GTNPORTAL-3291?page=com.atlassian.jira.pl...
]
Peter Palaga commented on GTNPORTAL-3291:
-----------------------------------------
After a lot of debugging I can state the following:
(1) The {{getSession()}} returns {{null}} in
{{org.exoplatform.portal.pom.config.POMSessionManager.execute(POMTask<V>)}}.
Let's see why.
(2) In {{org.exoplatform.portal.pom.config.POMSessionManager.getSession()}},
{{configurator.getContext()}} returns {{null}}. Why?
(3) Through {{org.exoplatform.commons.chromattic.ChromatticLifeCycle.getContext(false)}}
it drills down to
{{org.exoplatform.commons.chromattic.ChromatticManager.getSynchronization()}} returning
{{null}}. Note that {{getSynchronization()}} is as simple as
{{code}}
return currentSynchronization.get();
{{code}}
where {{currentSynchronization}} is of type {{ThreadLocal<Synchronization>}}. Where
is its value set?
(4) The value of {{ChromatticManager.currentSynchronization}} is set in
{{org.exoplatform.commons.chromattic.ChromatticManager.beginRequest()}} so clearly, for
the current thread and & {{ChromatticManager}} instance, it is not called. How is this
possible?
(5) When searching for {{ChromatticManager}} instances in the running JVM during debug,
one see that there are two of them, one per portal container ({{/portal}} and
{{/sample-portal}}). And looking more closely, one can see that the problem happens with
the {{/sample-portal}} {{ChromatticManager}} instance. How is that possible given that we
are visiting {{/portal/mobile}}?
(6) Point (5) raised suspicion that it is some variation of GTNPORTAL-2700 and thus also
related to GTNPORTAL-2406. Note that there is only a very dirty fix for GTNPORTAL-2700 and
fixing the present issue could fix GTNPORTAL-2700 properly too. I must admit, I have no
perfect proof that GTNPORTAL-2700 and the present one have the same cause. I have not
checked yet, if GTNPORTAL-2700 is fixed by the fix mentioned in (7).
(7) I have a fix for the present issue:
https://github.com/gatein/gatein-portal/pull/691
It basically consists of removing the registration of {{FederatingPortletInvoker}} in top
container and having separate instance of {{FederatingPortletInvoker}} per
{{ExoContainer}} on the portal container level. I have no idea what the possible
consequences of this are. Could you please comment?
Mobile site does no work when sample-portal is deployed
-------------------------------------------------------
Key: GTNPORTAL-3291
URL:
https://issues.jboss.org/browse/GTNPORTAL-3291
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.6.3.Final, 3.7.0.Final
Reporter: Peter Palaga
Assignee: Peter Palaga
Fix For: 3.6.4.Final, 3.7.0.Final
Steps to reproduce:
1. Make sure you have fix GTNPORTAL-3288 in your GateIn history
2. Compile sample portal from
https://github.com/gatein/gatein-portal-quickstart master
3. Copy gatein-sample-portal.ear to $JBOSS_HOME/gatein/extesions
4. Start JBoss AS
5. Access
http://127.0.0.1/portal/mobile
Actual results:
The following error message appears in the log:
{code}
ERROR [org.gatein.web.redirect.implementation.SiteRedirectServiceImpl]
(http--0.0.0.0-8180-3) Error trying to retrieve alternative sites.:
java.lang.NullPointerException
at
org.exoplatform.portal.pom.config.cache.PortalNamesCache.execute(PortalNamesCache.java:48)
[exo.portal.component.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.pom.config.POMSessionManager.execute(POMSessionManager.java:228)
[exo.portal.component.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.pom.config.POMDataStorage.getPortalConfig(POMDataStorage.java:119)
[exo.portal.component.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.config.DataStorageImpl.getPortalConfig(DataStorageImpl.java:263)
[exo.portal.component.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.config.DataStorageImpl.getPortalConfig(DataStorageImpl.java:120)
[exo.portal.component.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.gatein.web.redirect.implementation.SiteRedirectServiceImpl.getAlternativeSites(SiteRedirectServiceImpl.java:143)
[redirect-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.gatein.web.redirect.implementation.RedirectHandlerImpl.getAlternativeRedirects(RedirectHandlerImpl.java:46)
[redirect-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.gatein.portlet.responsive.footer.FooterPortlet.getAlternativeSites(FooterPortlet.java:63)
[classes:]
at org.gatein.portlet.responsive.footer.FooterPortlet.doView(FooterPortlet.java:53)
[classes:]
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354)
[portlet-api-2.0.jar:]
at javax.portlet.GenericPortlet.render(GenericPortlet.java:259) [portlet-api-2.0.jar:]
at
org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:592)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:65)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:529)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
[pc-bridge-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$201(ContextDispatcherInterceptor.java:46)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$CallableImpl.call(ContextDispatcherInterceptor.java:119)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.exoplatform.portal.webui.application.ExoServerContext$1.doCallback(ExoServerContext.java:49)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)
[wci-wci-2.3.1.Final.jar:2.3.1.Final]
at sun.reflect.GeneratedMethodAccessor179.invoke(Unknown Source) [:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
[wci-wci-2.3.1.Final.jar:2.3.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:720)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:657)
[jbossweb-7.0.13.Final.jar:]
at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
[wci-wci-2.3.1.Final.jar:2.3.1.Final]
at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)
[wci-wci-2.3.1.Final.jar:2.3.1.Final]
at
org.gatein.wci.jboss.JB7ServletContainerContext.include(JB7ServletContainerContext.java:108)
[wci-jboss7-2.3.1.Final.jar:2.3.1.Final]
at org.gatein.wci.ServletContainer.include(ServletContainer.java:393)
[wci-wci-2.3.1.Final.jar:2.3.1.Final]
at
org.exoplatform.portal.webui.application.ExoServerContext.dispatch(ExoServerContext.java:45)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:65)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.exoplatform.portal.pc.aspects.PortletLifecyclePhaseInterceptor.invoke(PortletLifecyclePhaseInterceptor.java:30)
[exo.portal.component.pc-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:84)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:131)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:263)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:163)
[pc-federation-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:246)
[pc-federation-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:165)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
[pc-portlet-2.4.2.Final.jar:2.4.2.Final]
at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:981)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:188)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:55)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at sun.reflect.GeneratedMethodAccessor178.invoke(Unknown Source) [:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at UIPortal.run(UIPortal.gtmpl:27) at
org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:37)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:29)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:89)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at UISiteBody.run(UISiteBody.gtmpl:29) at
org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at UIContainer.run(UIContainer.gtmpl:69) at
org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:98)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:92)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at UIWorkingWorkspace.run(UIWorkingWorkspace.gtmpl:2) at
org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:110)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at UIPortalApplicationChildren.run(UIPortalApplicationChildren.gtmpl:6) at
org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113)
[exo.portal.component.scripting-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:124)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:93)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:36)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128)
[exo.portal.webui.framework-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplication.java:782)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:216)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:167)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.web.WebAppController.service(WebAppController.java:340)
[exo.portal.component.web.controller-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.portal.application.PortalController.onService(PortalController.java:110)
[exo.portal.webui.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:133)
[exo.kernel.container-2.5.0-Alpha3.jar:2.5.0-Alpha3]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96)
[exo.portal.component.web.api-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71)
[exo.portal.component.web.api-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70)
[exo.portal.component.web.api-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:67)
[exo.portal.component.web.security-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122)
[exo.jcr.framework.web-1.16.0-Alpha3.jar:1.16.0-Alpha3]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66)
[exo.portal.component.web.security-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)
[exo.core.component.security.core-2.6.0-Alpha3.jar:2.6.0-Alpha3]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:81)
[exo.portal.component.web.security-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49)
[exo.portal.component.web.security-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.gatein.security.oauth.webapi.OAuthDelegateFilter.doFilter(OAuthDelegateFilter.java:58)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at
org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)
[exo.kernel.container-2.5.0-Alpha3.jar:2.5.0-Alpha3]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at org.gatein.portal.installer.PortalSetupFilter.doFilter(PortalSetupFilter.java:62)
[exo.portal.component.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at org.gatein.portal.init.PortalCheckInitFilter.doFilter(PortalCheckInitFilter.java:66)
[exo.portal.component.portal-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
[jbossweb-7.0.13.Final.jar:]
at org.gatein.sso.integration.SSODelegateValve.invoke(SSODelegateValve.java:159)
at
org.gatein.portal.security.jboss.PortalClusteredSSOSupportValve.invoke(PortalClusteredSSOSupportValve.java:94)
[exo.portal.component.web.security-jboss-3.7.0.Alpha01-SNAPSHOT.jar:3.7.0.Alpha01-SNAPSHOT]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
[jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
[jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.13.Final.jar:]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
[jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
[jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
{code}
Expected results:
The mobile site should work regardless of whether the sample portal is deployed or not.
--
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