[JBoss JIRA] Created: (GTNPORTAL-72) NPE when delete group in specical case
by Hang Nguyen (JIRA)
NPE when delete group in specical case
--------------------------------------
Key: GTNPORTAL-72
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-72
Project: GateIn Portal
Issue Type: Bug
Reporter: Hang Nguyen
Attachments: 3.jpg
Steps:
- Go to Organization portlet --> delete group: Organization
- Sign out and sign in again --> select group navigation -> Show exception
template : app:/groovy/navigation/webui/component/UINavigationGrid.gtmpl
java.lang.NullPointerException
at org.exoplatform.webui.organization.OrganizationUtils.getGroupLabel(OrganizationUtils.java
:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1105)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:749)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at script1256544296736.run(script1256544296736.groovy:23)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:
91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.jav
a:198)
at script1256544296541.run(script1256544296541.groovy:18)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIContainer.renderChild(UIContainer.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at script1256544295492.run(script1256544295492.groovy:9)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:321)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:312)
at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:101)
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processRender(UIApplicationLi
fecycle.java:72)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIPortletApplication.processRender(UIPortletApplication.java:1
01)
at org.exoplatform.webui.application.portlet.PortletApplication.render(PortletApplication.ja
va:242)
at org.exoplatform.webui.application.portlet.PortletApplicationController.render(PortletAppl
icationController.java:110)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerI
mpl.java:568)
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java
:505)
at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatc
her.java:42)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java
:196)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttri
buteConversationInterceptor.java:119)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherIn
terceptor.java:49)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcher
Interceptor.java:123)
at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:8
2)
at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)
at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:
86)
at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:190)
at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:
69)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterc
eptor.java:77)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportIntercepto
r.java:69)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.ja
va:117)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker
.java:230)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomization
Interceptor.java:76)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.ja
va:162)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvok
erService.java:152)
at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInv
okerService.java:173)
at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:853)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecy
cle.java:174)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecy
cle.java:53)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:321)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:312)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.jav
a:198)
at script1256544274252.run(script1256544274252.groovy:20)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.portal.webui.page.UIPageLifecycle.processRender(UIPageLifecycle.java:44)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.portal.webui.page.UIPageBody.renderChildren(UIPageBody.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.jav
a:198)
at script1256544274110.run(script1256544274110.groovy:89)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.portal.webui.page.UIPageBody.processRender(UIPageBody.java:134)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:321)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:312)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.jav
a:198)
at script1256544273075.run(script1256544273075.groovy:21)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.jav
a:41)
at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.jav
a:30)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:
91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.jav
a:198)
at script1256544272938.run(script1256544272938.groovy:89)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:321)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:312)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.jav
a:198)
at script1256544269293.run(script1256544269293.groovy:57)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRend
er(UIComponentDecorator.java:103)
at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRend
er(UIComponentDecorator.java:94)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:321)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:312)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.jav
a:198)
at script1256544269076.run(script1256544269076.groovy:14)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:321)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:312)
at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.jav
a:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.jav
a:198)
at script1256544268602.run(script1256544268602.groovy:160)
at org.exoplatform.groovyscript.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTem
plateEngine.java:168)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:73)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:123)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:77)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:135)
at org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplicat
ion.java:428)
at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java
:104)
at org.exoplatform.web.WebAppController.service(WebAppController.java:147)
at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(T
hreadLocalSessionProviderInitializedFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentit
yFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilt
er.java:112)
at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
va:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (GTNPORTAL-1348) Login page then username or password is incorrect shown as JSP source code.
by Andrey Parfonov (JIRA)
Login page then username or password is incorrect shown as JSP source code.
---------------------------------------------------------------------------
Key: GTNPORTAL-1348
URL: https://jira.jboss.org/browse/GTNPORTAL-1348
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Gatein under apache web server.
Reporter: Andrey Parfonov
When code in org.exoplatform.web.login.ErrorLoginServlet (line 69)
context.getRequestDispatcher("/login/jsp/login.jsp").include(req, resp);
replaced by
context.getRequestDispatcher("/login/jsp/login.jsp").forward(req, resp);
After that problem is gone. There is now more source code of JSP but HTML
with correct message about wrong password.
NOTE if tomcat used without apache front-end problem not appear (why is not clear)
Using include method looks as not quite correct because headers include
'Content-Type' (it is the core of problem) may not be copied from JSP.
The included servlet cannot change the response status code or headers.
Need complex testing to be sure changes include by forward does not break
anything.
As alternative solution (if forward method is not acceptable in some reason) is
possible to set Content-Type header directly in org.exoplatform.web.login.ErrorLoginServlet
but it looks much worse IMO
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (GTNPORTAL-1651) Edit Portlet dialog - tabs are switched by "mouse click" but dialog buttons are updated on "mouse down"
by Thomas Heute (JIRA)
Edit Portlet dialog - tabs are switched by "mouse click" but dialog buttons are updated on "mouse down"
-------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-1651
URL: https://jira.jboss.org/browse/GTNPORTAL-1651
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Heute
Fix For: 3.2.0-GA
STEPS:
1) open a "Edit Portlet" dialog
(by default "Edit Mode" tab is active)
2) click on one of the other tabs, eg. "Portlet Settings" tab - in this way:
a) push mouse button down (over one of the other tabs)
b) move mouse out of the tab
c) release mouse button
EXPECTED RESULT:
either (A) new tab is selected and "Save and Close" button is shown
or preferably (B) new tab is NOT selected, "Save and Close" button remains hidden
ACTUAL RESULT:
new tab is not selected and "Save and Close" button is shown (it works the same in the other direction)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years