13 Replies Latest reply on Oct 1, 2013 4:03 PM by bigsmall

    Locate GateIn 3.6

    bigsmall

      I am trying to locate the section Services Management into Russian. So I added a file "ru_all.xml" to folder "gadgets\eXoGadgets\src\main\webapp\gadgets\ServicesManagement\locale and added in ServicesManagement.xml support for Russian language:

      <Locale lang = "ru" messages = "locale / ru_ALL.xml" / >


      Then I built GateIn with Maven. After GateIn start and choose an appropriate menu item I get an error:


      23:21:19,202 ERROR [portal:UIPortletLifecycle] (http--127.0.0.1-8080-1) Portlet render threw an exception: org.exoplatform.services.portletcontainer.PortletContainerException: java.lang.NullPointerException
          at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:197) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:54) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.application.UIPortlet.processRender(UIPortlet.java:954) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) [:1.7.0_40]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
          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 UIPage.run(UIPage.gtmpl:4)    at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.page.UIPageLifecycle.processRender(UIPageLifecycle.java:38) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:89) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at sun.reflect.GeneratedMethodAccessor179.invoke(Unknown Source) [:1.7.0_40]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
          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 UIPageBody.run(UIPageBody.gtmpl:36)    at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.page.UIPageBody.processRender(UIPageBody.java:154) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) [:1.7.0_40]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
          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:16)    at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:37) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:29) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:89) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at sun.reflect.GeneratedMethodAccessor179.invoke(Unknown Source) [:1.7.0_40]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
          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:27)    at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) [:1.7.0_40]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
          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:68)    at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:98) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:92) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) [:1.7.0_40]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
          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.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:109) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source) [:1.7.0_40]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
          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.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113) [exo.portal.component.scripting-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:124) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:93) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:36) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplication.java:601) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:190) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:159) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.web.WebAppController.service(WebAppController.java:329) [exo.portal.component.web.controller-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.application.PortalController.onService(PortalController.java:108) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132) [exo.kernel.container-2.4.4-GA.jar:2.4.4-GA]
          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.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71) [exo.portal.component.web.api-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70) [exo.portal.component.web.api-3.6.3.Final.jar:3.6.3.Final]
          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.6.3.Final.jar:3.6.3.Final]
          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.15.4-GA.jar:1.15.4-GA]
          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.6.3.Final.jar:3.6.3.Final]
          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.5.4-GA.jar:2.5.4-GA]
          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.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49) [exo.portal.component.web.security-3.6.3.Final.jar:3.6.3.Final]
          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) [exo.portal.component.web.oauth-web-3.6.3.Final.jar:3.6.3.Final]
          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) [sso-integration-1.3.4.Final.jar:1.3.4.Final]
          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.4.4-GA.jar:2.4.4-GA]
          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.6.3.Final.jar:3.6.3.Final]
          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.6.3.Final.jar:3.6.3.Final]
          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) [sso-integration-1.3.4.Final.jar:1.3.4.Final]
          at org.gatein.portal.security.jboss.PortalClusteredSSOSupportValve.invoke(PortalClusteredSSOSupportValve.java:94) [exo.portal.component.web.security-jboss-3.6.3.Final.jar:3.6.3.Final]
          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_40]
      Caused by: java.lang.NullPointerException
          at org.exoplatform.portal.webui.application.ModelAdapter$2.getPortletContext(ModelAdapter.java:173) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.application.UIPortlet.getPortletContext(UIPortlet.java:863) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.application.UIPortlet.create(UIPortlet.java:727) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]
          at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:178) [exo.portal.webui.portal-3.6.3.Final.jar:3.6.3.Final]


      in what could be the problem?

        • 1. Re: Locate GateIn 3.6
          nttuyen266

          I've just tried to locate the section Services Management into Russian as you and i don't meet any problem, it work ok.

          Which version of GateIn and which environment are you using?

          • 2. Re: Locate GateIn 3.6
            trong.tran

            I don't find how the exception error is related to the gadget localization. Could you try again by re-build / install the product and please let us know then ?

            • 3. Re: Locate GateIn 3.6
              bigsmall

              I'm using GateIn 3.6.3 with jBoss 7.1.1.

              I found the cause of the error. I saved the "ru_ALL.xml" file in ANSI encoding. After the changed the encoding to UTF-8 it worked.


              I've done a lot of work to localization GateIn on Russian and Ukrainian languages. I can share files corrected. But I can not find the files are responsible for the localization "Site Redirects & Export/Import"  menu. Could tell where to find them?

              • 4. Re: Locate GateIn 3.6
                nttuyen266

                Hi bigsmall,

                 

                Locate file of "Site reidrects & Export/Import" here:

                https://github.com/gatein/gatein-portal/blob/master/portlet/admin/redirect/src/main/resources/locale/admin_en.properties


                You can add locate files for it and don't forget share them with us

                • 5. Re: Locate GateIn 3.6
                  bigsmall

                  I added a file "admin_ru.properties" to a folder "\portlet\admin\redirect\src\main\resources\locale".  Then I built GateIn with Maven. After GateIn start and choose an appropriate menu item, the menu still in English, nothing has changed.

                  • 6. Re: Locate GateIn 3.6
                    nttuyen266

                    Hi,

                    When you add "admin_ru.properties", it will affect in content of portlet "Site redirect and Import/export".

                    At toolbar menu, "Site redirect and import/export" and "Service management" is not support localization. Here is my commit to fix this problem, you can apply it and then add Russian language for them.

                     

                    My commit: https://github.com/nttuyen/gatein-portal/commit/02b0902bf6350dac3d51d6f6188d40a55ef8241b

                    • 7. Re: Locate GateIn 3.6
                      bigsmall

                      Hi Tuyen Nguyen The.

                      Thanks for the help. I applied a fix, but "Site redirect and import/export" portlet content is still in English only.

                      • 8. Re: Locate GateIn 3.6
                        nttuyen266

                        Hi Bigsmall,

                         

                        Can you attach or show me content of 2 file:

                        web/portal/src/main/webapp/WEB-INF/conf/portal/group/platform/administrators/navigation.xml

                        web/portal/src/main/resources/locale/navigation/group/platform/administrators_ru.properties

                         

                        I'll check with you

                        • 9. Re: Re: Locate GateIn 3.6
                          bigsmall

                          Hi.

                          Here are the files.

                           

                          Maybe I was incorrectly expressed. The name of sections changed into Russian, but "Site redirect and import/export" content didn't change. GateIn doesn't consider the name of components from file "\portlet\admin\redirect\src\main\resources\locale\admin_ru.properties"

                          • 10. Re: Re: Locate GateIn 3.6
                            nttuyen266

                            Hi,

                            I apply your files and then clean rebuild with maven, it work ok with me, no problems.

                             

                            Can you rebuild again, clear all cache on your browser and then try again?

                            • 11. Re: Re: Re: Locate GateIn 3.6
                              bigsmall

                              Hi Tuyen Nguyen The.

                              I cleaned all cache on my browser, after that I clean rebuilt GateIn with Maven, but nothing has changed. Then I modified  \portlet\admin\redirect\src\main\webapp\WEB-INF\faces-config.xml file, I added <supported-locale>ru</supported-locale> in section <locale-config> and clean rebuilt GateIn again. After that GateIn perceives Russian localization for "Site redirect and import/export" content, but some problems with the encoding. Screenshot in the attached.

                              –°ould you upload my file "admin_ru.properties" to your gatein, clean rebuild GateIn, select Russian localization, go to the section "Group \ Administration \ Site redirect and import/export" and make a screenshot of the page?

                              • 12. Re: Re: Re: Locate GateIn 3.6
                                nttuyen266

                                Hi bigsmall,

                                 

                                This bug is caused by JSF default read properties file with ISO-8859-1 encoding.

                                 

                                - You should use command native2ascii to convert content file to ANCII code, for example content should be:

                                redirect.admin.site.export=\u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u0441\u0430\u0439\u0442\u0430

                                 

                                - You can use native2ascii-maven-plugin to fix this problem.

                                Add this plugin to file portlet/admin/redirect/pom.xml, rebuild and try again

                                My pom config:

                                     <plugin>

                                        <groupId>org.codehaus.mojo</groupId>

                                        <artifactId>native2ascii-maven-plugin</artifactId>

                                        <executions>

                                          <execution>

                                            <goals>

                                              <goal>native2ascii</goal>

                                            </goals>

                                            <configuration>

                                              <src>${basedir}/src/main/resources</src>

                                              <dest>${project.build.directory}/classes</dest>

                                              <encoding>UTF8</encoding>

                                              <includes>

                                                <include>**/*.properties</include>

                                              </includes>

                                            </configuration>

                                          </execution>

                                        </executions>

                                      </plugin>

                                • 13. Re: Locate GateIn 3.6
                                  bigsmall

                                  Hi Tuyen Nguyen The.

                                  Thank you very much for your help. Everything works. I'm almost finished translating Gatein into Russian.