exo-addons / staging-extension

Platform Staging Extension
5 stars 10 forks source link

Exception during the import of users. #24

Open mkrout opened 11 years ago

mkrout commented 11 years ago

When I try to import users using the staging extension the following exception is thrown several times: | ERROR | Add Favorite failed [AddToFavoriteScript] javax.jcr.PathNotFoundException: Node not found /Users/t/te/tes___/test/Private/Favorites

How to reproduce:

During the import the exception is thrown several times.

Seems that this exception don't impact the import operation, since all users are imported with their data.

thomasdelhomenie commented 11 years ago

Can you paste the full stack trace please ?

Do you have the same issue without selecting "With Personel JCR Content" during export ?

mkrout commented 11 years ago

2013-10-17 16:15:19,801 | ERROR | Add Favorite failed [AddToFavoriteScript] javax.jcr.PathNotFoundException: Node not found /Users/t/te/tes___/test/Private/Favorites at org.exoplatform.services.jcr.impl.core.NodeImpl.getNode(NodeImpl.java:992) ~[exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at sun.reflect.GeneratedMethodAccessor259.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45] at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229) ~[groovy-all-1.7.6.jar:1.7.6] at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) ~[groovy-all-1.7.6.jar:1.7.6] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) ~[groovy-all-1.7.6.jar:1.7.6] at AddToFavoriteScript.execute(groovy.groovy:65) ~[na:na] at org.exoplatform.services.cms.actions.impl.ScriptActionPlugin.executeAction(ScriptActionPlugin.java:141) ~[ecms-core-services-4.0.2-CP01.jar:4.0.2-CP01] at org.exoplatform.services.cms.actions.impl.ScriptActionPlugin$ScriptActionLauncherListener.triggerAction(ScriptActionPlugin.java:152) ~[ecms-core-services-4.0.2-CP01.jar:4.0.2-CP01] at org.exoplatform.services.cms.actions.impl.BaseActionLauncherListener.onEvent(BaseActionLauncherListener.java:115) ~[ecms-core-services-4.0.2-CP01.jar:4.0.2-CP01] at org.exoplatform.services.jcr.impl.core.observation.ActionLauncher.onSaveItems(ActionLauncher.java:158) ~[exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager.notifySaveItems(WorkspacePersistentDataManager.java:1233) ~[exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.doSave(CacheableWorkspaceDataManager.java:1116) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.access$800(CacheableWorkspaceDataManager.java:93) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager$9.run(CacheableWorkspaceDataManager.java:1045) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager$9.run(CacheableWorkspaceDataManager.java:1042) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:310) [exo.kernel.commons-2.4.5-GA.jar:2.4.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.save(CacheableWorkspaceDataManager.java:1041) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.save(CacheableWorkspaceDataManager.java:1007) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.ShareableSupportedWorkspaceDataManager.save(ShareableSupportedWorkspaceDataManager.java:176) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.persistent.VersionableWorkspaceDataManager.save(VersionableWorkspaceDataManager.java:334) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.dataflow.session.TransactionableDataManager.save(TransactionableDataManager.java:471) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.core.SessionDataManager.commit(SessionDataManager.java:1560) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.core.ItemImpl.save(ItemImpl.java:706) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.services.jcr.impl.core.SessionImpl.save(SessionImpl.java:1121) [exo.jcr.component.core-1.15.5-GA.jar:1.15.5-GA] at org.exoplatform.management.organization.user.UserImportResource.createContent(UserImportResource.java:291) [staging-extension-organization-2.1.1-SNAPSHOT.jar:2.1.1-SNAPSHOT] at org.exoplatform.management.organization.user.UserImportResource.execute(UserImportResource.java:127) [staging-extension-organization-2.1.1-SNAPSHOT.jar:2.1.1-SNAPSHOT] at org.gatein.management.core.api.controller.SimpleManagementController.execute(SimpleManagementController.java:100) [gatein-management-core-1.1.0.Final.jar:1.1.0.Final] at org.exoplatform.management.service.impl.StagingServiceImpl.importResource(StagingServiceImpl.java:51) [StagingServiceImpl.class:na] at org.exoplatform.management.portlet.StagingExtensionController.importResources(StagingExtensionController.java:209) [StagingExtensionController.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45] at juzu.impl.request.Request.doInvoke(Request.java:265) [juzu-core-0.6.0.jar:na] at juzu.impl.request.Request.invoke(Request.java:216) [juzu-core-0.6.0.jar:na] at juzu.plugin.upload.impl.UploadPlugin.invoke(UploadPlugin.java:119) [juzu-plugins-upload-0.6.0.jar:na] at juzu.impl.request.Request.invoke(Request.java:196) [juzu-core-0.6.0.jar:na] at juzu.impl.plugin.controller.ControllerPlugin.invoke(ControllerPlugin.java:200) [juzu-core-0.6.0.jar:na] at juzu.impl.request.Request.invoke(Request.java:196) [juzu-core-0.6.0.jar:na] at juzu.impl.plugin.asset.AssetPlugin.invoke(AssetPlugin.java:190) [juzu-core-0.6.0.jar:na] at juzu.impl.request.Request.invoke(Request.java:196) [juzu-core-0.6.0.jar:na] at org.exoplatform.commons.juzu.ajax.AjaxPlugin.invoke(AjaxPlugin.java:76) [commons-juzu-4.0.2.jar:4.0.2] at juzu.impl.request.Request.invoke(Request.java:196) [juzu-core-0.6.0.jar:na] at juzu.impl.plugin.controller.ControllerPlugin.invoke(ControllerPlugin.java:161) [juzu-core-0.6.0.jar:na] at juzu.impl.bridge.spi.portlet.PortletRequestBridge.invoke(PortletRequestBridge.java:332) [juzu-core-0.6.0.jar:na] at juzu.bridge.portlet.JuzuPortlet.serveResource(JuzuPortlet.java:345) [juzu-core-0.6.0.jar:na] at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:582) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:184) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:77) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:184) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:84) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:513) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) [pc-bridge-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$201(ContextDispatcherInterceptor.java:46) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$CallableImpl.call(ContextDispatcherInterceptor.java:119) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.exoplatform.portal.webui.application.ExoServerContext$1.doCallback(ExoServerContext.java:49) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82) [wci-wci-2.3.0.Final.jar:2.3.0.Final] at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45] at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135) [wci-wci-2.3.0.Final.jar:2.3.0.Final] at org.gatein.wci.command.CommandServlet.doPost(CommandServlet.java:166) [wci-wci-2.3.0.Final.jar:2.3.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) [servlet-api.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544) [catalina.jar:7.0.42] at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84) [wci-wci-2.3.0.Final.jar:2.3.0.Final] at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58) [wci-wci-2.3.0.Final.jar:2.3.0.Final] at org.gatein.wci.tomcat.TC7ServletContainerContext.include(TC7ServletContainerContext.java:112) [wci-tomcat7-2.3.0.Final.jar:2.3.0.Final] at org.gatein.wci.ServletContainer.include(ServletContainer.java:392) [wci-wci-2.3.0.Final.jar:2.3.0.Final] at org.exoplatform.portal.webui.application.ExoServerContext.dispatch(ExoServerContext.java:45) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:65) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:84) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:131) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:263) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:163) [pc-federation-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:244) [pc-federation-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:247) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final] at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:905) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.webui.application.UIPortletActionListener$ServeResourceActionListener.execute(UIPortletActionListener.java:333) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.webui.event.Event.broadcast(Event.java:97) [exo.portal.webui.framework-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:115) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:54) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119) [exo.portal.webui.framework-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119) [exo.portal.webui.framework-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:118) [exo.portal.webui.framework-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:569) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:182) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:159) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.web.WebAppController.service(WebAppController.java:325) [exo.portal.component.web.controller-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.portal.application.PortalController.onService(PortalController.java:108) [exo.portal.webui.portal-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132) [exo.kernel.container-2.4.5-GA.jar:2.4.5-GA] at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.platform.common.account.setup.web.AccountSetupFilter.doFilter(AccountSetupFilter.java:61) [platform-component-common-4.0.2-CP01.jar:4.0.2-CP01] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.platform.welcomescreens.web.TermsAndConditionsFilter.doFilter(TermsAndConditionsFilter.java:79) [platform-welcome-screens-component-4.0.2-CP01.jar:4.0.2-CP01] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.wennsoft.web.changepassword.ChangePasswordFilter.doFilter(ChangePasswordFilter.java:79) [user-management.jar:na] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.wennsoft.web.termsandconditions.TermsAndConditionsFilter.doFilter(TermsAndConditionsFilter.java:83) [user-management.jar:na] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.platform.common.account.setup.web.AccountSetupFilter.doFilter(AccountSetupFilter.java:61) [platform-component-common-4.0.2-CP01.jar:4.0.2-CP01] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.platform.welcomescreens.web.TermsAndConditionsFilter.doFilter(TermsAndConditionsFilter.java:79) [platform-welcome-screens-component-4.0.2-CP01.jar:4.0.2-CP01] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.platform.welcomescreens.service.UnlockService$UnlockFilter.doFilter(UnlockService.java:345) [platform-welcome-screens-component-4.0.2-CP01.jar:4.0.2-CP01] at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70) [exo.portal.component.web.api-3.5.6-PLF.jar:3.5.6-PLF] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:67) [exo.portal.component.web.security-3.5.6-PLF.jar:3.5.6-PLF] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122) [exo.jcr.framework.web-1.15.5-GA.jar:1.15.5-GA] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66) [exo.portal.component.web.security-3.5.6-PLF.jar:3.5.6-PLF] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88) [exo.core.component.security.core-2.5.5-GA.jar:2.5.5-GA] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:81) [exo.portal.component.web.security-3.5.6-PLF.jar:3.5.6-PLF] at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49) [exo.portal.component.web.security-3.5.6-PLF.jar:3.5.6-PLF] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60) [sso-integration-1.3.1.Final.jar:1.3.1.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78) [exo.kernel.container-2.4.5-GA.jar:2.4.5-GA] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.42] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.42] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [catalina.jar:7.0.42] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.42] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.42] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:341) [catalina.jar:7.0.42] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.42] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.42] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) [tomcat-coyote.jar:7.0.42] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.42] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1686) [tomcat-coyote.jar:7.0.42] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_45] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]

mkrout commented 11 years ago

Note that the exception is only thrown for the logged user.

thomasdelhomenie commented 11 years ago

This is due to the AddToFavoriteScript action which is executed for every content added in the user's folder of the connected user. So when the user's folder is imported, the script is executed for each content, and as long as the Favorite folder has not been imported, this exception is thrown.

We cannot do much on our side here (except forcing to import the Favorite folder before the others, the hacky way...).