[JBoss JIRA] (GTNPORTAL-3326) DisabledUserException when edit user who is disable User
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3326?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3326:
----------------------------------
Status: Open (was: Pull Request Sent)
Git Pull Request: (was: https://github.com/gatein/gatein-portal/pull/719)
The messages should be separated by Disabled User and Non-existed User.
> DisabledUserException when edit user who is disable User
> --------------------------------------------------------
>
> Key: GTNPORTAL-3326
> URL: https://issues.jboss.org/browse/GTNPORTAL-3326
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Trong Tran
> Assignee: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Original Estimate: 1 hour
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> Browser1:
> - Login portal
> - Go to user an groups management
> - Select an user and click edit
> Browser 2:
> - Login portal
> - Select user above and click disable
> - Back to Browser 1
> - Click Save
> => Unknown error and have exception in console
> {code}
> 1257553 [http-bio-8080-exec-2] ERROR portal:UIPortalApplication - Error during the processAction phase
> org.exoplatform.services.organization.DisabledUserException
> at org.exoplatform.services.organization.idm.UserDAOImpl.saveUser(UserDAOImpl.java:161)
> at org.exoplatform.organization.webui.component.UIAccountEditInputSet.save(UIAccountEditInputSet.java:146)
> at org.exoplatform.organization.webui.component.UIUserInfo$SaveActionListener.execute(UIUserInfo.java:110)
> at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
> at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processAction(UIFormLifecycle.java:90)
> at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processAction(UIFormLifecycle.java:40)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLifecycle.java:53)
> at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLifecycle.java:30)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
> at org.exoplatform.webui.application.portlet.PortletApplication.processAction(PortletApplication.java:152)
> at org.exoplatform.webui.application.portlet.PortletApplicationController.processAction(PortletApplicationController.java:95)
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:581)
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
> at org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:41)
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:529)
> at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$201(ContextDispatcherInterceptor.java:46)
> at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$CallableImpl.call(ContextDispatcherInterceptor.java:119)
> at org.exoplatform.portal.webui.application.ExoServerContext$1.doCallback(ExoServerContext.java:49)
> at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)
> at org.gatein.wci.command.TomcatCommandDispatcher$1.execute(TomcatCommandDispatcher.java:61)
> at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
> at org.gatein.wci.command.CommandServlet.doPost(CommandServlet.java:166)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
> at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
> at org.gatein.wci.command.TomcatCommandDispatcher.include(TomcatCommandDispatcher.java:97)
> at org.gatein.wci.tomcat.TC7ServletContainerContext.include(TC7ServletContainerContext.java:111)
> at org.gatein.wci.ServletContainer.include(ServletContainer.java:393)
> at org.exoplatform.portal.webui.application.ExoServerContext.dispatch(ExoServerContext.java:45)
> at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:65)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.exoplatform.portal.pc.aspects.PortletLifecyclePhaseInterceptor.invoke(PortletLifecyclePhaseInterceptor.java:30)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:84)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:131)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:263)
> at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:163)
> at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:246)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:247)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:981)
> at org.exoplatform.portal.webui.application.UIPortletActionListener$ProcessActionActionListener.execute(UIPortletActionListener.java:116)
> at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
> at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:112)
> at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:55)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
> at org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:748)
> at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:210)
> at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:167)
> at org.exoplatform.web.WebAppController.service(WebAppController.java:340)
> at org.exoplatform.portal.application.PortalController.onService(PortalController.java:110)
> at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:133)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96)
> at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71)
> at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:67)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:81)
> at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.gatein.security.oauth.webapi.OAuthDelegateFilter.doFilter(OAuthDelegateFilter.java:58)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.gatein.portal.installer.PortalSetupFilter.doFilter(PortalSetupFilter.java:62)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.gatein.portal.init.PortalCheckInitFilter.doFilter(PortalCheckInitFilter.java:66)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at org.gatein.sso.agent.tomcat.ServletAccessValve.invoke(ServletAccessValve.java:55)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> {code}
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?focusedWorklogId=12430409&... ]
Vu Viet Phuong logged work on GTNPORTAL-3350:
---------------------------------------------
Author: Vu Viet Phuong
Created on: 12/Dec/13 11:46 PM
Start Date: 12/Dec/13 11:46 PM
Worklog Time Spent: 2 hours
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 2 hours)
Time Spent: 2 hours
Worklog Id: (was: 12430409)
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Assignee: Vu Viet Phuong
> Fix For: 3.7.0.Final
>
> Original Estimate: 2 hours
> Time Spent: 2 hours
> Remaining Estimate: 0 minutes
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 3.0.4
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Vu Viet Phuong updated GTNPORTAL-3350:
--------------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/gatein/gatein-portal/pull/736
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Assignee: Vu Viet Phuong
> Fix For: 3.7.0.Final
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 3.0.4
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3325) Unknown error when click edit system node
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3325?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3325:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Unknown error when click edit system node
> -----------------------------------------
>
> Key: GTNPORTAL-3325
> URL: https://issues.jboss.org/browse/GTNPORTAL-3325
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Assignee: Hai Nguyen
> Fix For: 3.7.0.Final
>
> Original Estimate: 1 hour
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> - Login portal
> - Go to Manage site
> - click Edit navigation
> - Select system node and click edit this node
> - Nothing change and click Save button
> => Unknown error and have exception in console
> {code}
> 91535 [http-bio-8080-exec-6] ERROR portal:UIPortalApplication - Error during the processAction phase
> java.lang.NullPointerException
> at org.exoplatform.navigation.webui.component.UIPageNodeForm$SaveActionListener.execute(UIPageNodeForm.java:428)
> at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
> at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processAction(UIFormLifecycle.java:90)
> at org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processAction(UIFormLifecycle.java:40)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLifecycle.java:53)
> at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLifecycle.java:30)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
> at org.exoplatform.webui.application.portlet.PortletApplication.processAction(PortletApplication.java:152)
> at org.exoplatform.webui.application.portlet.PortletApplicationController.processAction(PortletApplicationController.java:95)
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:581)
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
> at org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:41)
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:529)
> at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$201(ContextDispatcherInterceptor.java:46)
> at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$CallableImpl.call(ContextDispatcherInterceptor.java:119)
> at org.exoplatform.portal.webui.application.ExoServerContext$1.doCallback(ExoServerContext.java:49)
> at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)
> at org.gatein.wci.command.TomcatCommandDispatcher$1.execute(TomcatCommandDispatcher.java:61)
> at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
> at org.gatein.wci.command.CommandServlet.doPost(CommandServlet.java:166)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
> at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
> at org.gatein.wci.command.TomcatCommandDispatcher.include(TomcatCommandDispatcher.java:97)
> at org.gatein.wci.tomcat.TC7ServletContainerContext.include(TC7ServletContainerContext.java:111)
> at org.gatein.wci.ServletContainer.include(ServletContainer.java:393)
> at org.exoplatform.portal.webui.application.ExoServerContext.dispatch(ExoServerContext.java:45)
> at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:65)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.exoplatform.portal.pc.aspects.PortletLifecyclePhaseInterceptor.invoke(PortletLifecyclePhaseInterceptor.java:30)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:84)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:131)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:263)
> at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:163)
> at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:246)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:247)
> at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)
> at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:981)
> at org.exoplatform.portal.webui.application.UIPortletActionListener$ProcessActionActionListener.execute(UIPortletActionListener.java:116)
> at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
> at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:112)
> at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:55)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
> at org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:748)
> at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:210)
> at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:167)
> at org.exoplatform.web.WebAppController.service(WebAppController.java:340)
> at org.exoplatform.portal.application.PortalController.onService(PortalController.java:110)
> at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:133)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96)
> at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71)
> at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:67)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:81)
> at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.gatein.security.oauth.webapi.OAuthDelegateFilter.doFilter(OAuthDelegateFilter.java:58)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.gatein.portal.installer.PortalSetupFilter.doFilter(PortalSetupFilter.java:62)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.gatein.portal.init.PortalCheckInitFilter.doFilter(PortalCheckInitFilter.java:66)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at org.gatein.sso.agent.tomcat.ServletAccessValve.invoke(ServletAccessValve.java:55)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> {code}
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3344) NPE when try to disable a non-exists user
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3344?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3344:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.7.0.Final
Resolution: Done
> NPE when try to disable a non-exists user
> -----------------------------------------
>
> Key: GTNPORTAL-3344
> URL: https://issues.jboss.org/browse/GTNPORTAL-3344
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.3.Final
> Reporter: Vu Viet Phuong
> Assignee: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
>
> - Login as root in 2 tabs
> - Goto User management portlet
> - tab1: delete John
> - tab2: disable John
> --> NPE in the console:
> {code}
> java.lang.NullPointerException
> at org.exoplatform.organization.webui.component.UIListUsers$DisableEnableUserActionListener.execute(UIListUsers.java:296)
> at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
> at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:51)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLifecycle.java:53)
> at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLifecycle.java:30)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
> {code}
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3349) Wildcard membership doesn't resolved in OrganizationPortlet and Group management
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3349?page=com.atlassian.jira.pl... ]
Work on GTNPORTAL-3349 started by Tuyen Nguyen The.
> Wildcard membership doesn't resolved in OrganizationPortlet and Group management
> --------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3349
> URL: https://issues.jboss.org/browse/GTNPORTAL-3349
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Vu Viet Phuong
> Assignee: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Attachments: addGroupUserForm.png, groupNavigation.png
>
> Original Estimate: 3 hours
> Remaining Estimate: 3 hours
>
> - In Organization portlet --> Group management. When choose one group, the main panel show list of users belongs to that group, and a form to add more user
> Only user that is admin of that group can see that form (a user that have admin membership OR Wildcard membership)
> But currently, one user that has Wildcard membership doesn't see the form
> - In Group navigation management: Go to Group menu --> Manage group
> This portlet allow to manage group navigation, and only "Makeable" membership user can add group navigation
> And this is the same to above case, user that has Wildcard membership must be allow to add group navigation
> The solution is instead of using groupDAO#findGroupByMembership, we need to use groupDAO#resolveGroupByMembership
> Pls look at attached image to find the form and the add group nav button
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3348) NPE when saving Portal Layout
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3348?page=com.atlassian.jira.pl... ]
Tuyen Nguyen The updated GTNPORTAL-3348:
----------------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/gatein/gatein-portal/pull/735
> NPE when saving Portal Layout
> -----------------------------
>
> Key: GTNPORTAL-3348
> URL: https://issues.jboss.org/browse/GTNPORTAL-3348
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Trong Tran
> Assignee: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Original Estimate: 6 hours
> Time Spent: 3 hours
> Remaining Estimate: 3 hours
>
> There is NPE when we just do save on Site Layout:
> {code}
> java.lang.NullPointerException
> at org.exoplatform.portal.webui.portal.UIPortalComposer.save(UIPortalComposer.java:222)
> at org.exoplatform.portal.webui.portal.UIPortalComposer.access$000(UIPortalComposer.java:98)
> at org.exoplatform.portal.webui.portal.UIPortalComposer$FinishSiteEditionActionListener.execute(UIPortalComposer.java:427)
> at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
> at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:51)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
> at org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:779)
> at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:210)
> at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:167)
> {code}
> This problem appears when the logged-in user doesn't have UserProfile. I do think there are also other places that we need to fix
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3348) NPE when saving Portal Layout
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3348?focusedWorklogId=12430408&... ]
Tuyen Nguyen The logged work on GTNPORTAL-3348:
-----------------------------------------------
Author: Tuyen Nguyen The
Created on: 12/Dec/13 11:03 PM
Start Date: 12/Dec/13 11:03 PM
Worklog Time Spent: 3 hours
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 3 hours)
Time Spent: 6 hours (was: 3 hours)
Worklog Id: (was: 12430408)
> NPE when saving Portal Layout
> -----------------------------
>
> Key: GTNPORTAL-3348
> URL: https://issues.jboss.org/browse/GTNPORTAL-3348
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Trong Tran
> Assignee: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Original Estimate: 6 hours
> Time Spent: 6 hours
> Remaining Estimate: 0 minutes
>
> There is NPE when we just do save on Site Layout:
> {code}
> java.lang.NullPointerException
> at org.exoplatform.portal.webui.portal.UIPortalComposer.save(UIPortalComposer.java:222)
> at org.exoplatform.portal.webui.portal.UIPortalComposer.access$000(UIPortalComposer.java:98)
> at org.exoplatform.portal.webui.portal.UIPortalComposer$FinishSiteEditionActionListener.execute(UIPortalComposer.java:427)
> at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
> at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:51)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
> at org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:779)
> at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:210)
> at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:167)
> {code}
> This problem appears when the logged-in user doesn't have UserProfile. I do think there are also other places that we need to fix
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Vu Viet Phuong reassigned GTNPORTAL-3350:
-----------------------------------------
Assignee: Vu Viet Phuong (was: Hai Nguyen)
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Assignee: Vu Viet Phuong
> Fix For: 3.7.0.Final
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 3.0.4
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months