Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-100767

Exception when logging in with LDAP after email address changed in Liferay

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.1.10 DXP FP9, 7.1.10 DXP FP13, 7.2.10 DXP FP1
    • Fix Version/s: None
    • Labels:
      None

      Description

      I have LDAP enabled and an LDAP Connection configured in my Instance Settings, authenticating by Screen Name.

      Users can login successfully etc, but if I login as Liferay Administrator, change the users Email Address in the user profile screen then attempt to login as the user I get the attached exception.

      I am able to login but need to avoid getting the exception if possible...

      This doesn't seem to happen for changes to First Name or Last Name, only Email Address.

      Import Method is User.
      Import User Sync Strategy is Auth Type.
      Scheduled Import is not enabled.
      Export is not enabled.

      2019-08-28 14:21:10.278 ERROR [http-nio-8080-exec-10][LDAPAuth:427] Problem accessing LDAP server

      com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException:

      {"agreedToTermsOfUse":false,"comments":"","companyId":"20099","contactId":"483155","createDate":1566998677557,"defaultUser":false,"emailAddress":"","emailAddressVerified":false,"externalReferenceCode":"","facebookId":"0","failedLoginAttempts":0,"firstName":"harry","googleUserId":"","graceLoginCount":0,"greeting":"Welcome harry hole!","jobTitle":"","languageId":"sv_SE","lastFailedLoginDate":null,"lastLoginDate":1567001956942,"lastLoginIP":"127.0.0.1","lastName":"hole","ldapServerId":"482918","lockout":false,"lockoutDate":null,"loginDate":1567002017612,"loginIP":"127.0.0.1","middleName":"","modifiedDate":1566998697000,"mvccVersion":"54","openId":"","portraitId":"0","reminderQueryAnswer":"","reminderQueryQuestion":"","screenName":"harry.hole","status":0,"timeZoneId":"UTC","userId":"483154","uuid":"74e5b976-3aaf-4988-629d-506d0968d69f"}

      is stale in comparison to

      {"agreedToTermsOfUse":false,"comments":"","companyId":"20099","contactId":"483155","createDate":1566998677557,"defaultUser":false,"emailAddress":"","emailAddressVerified":false,"externalReferenceCode":"","facebookId":"0","failedLoginAttempts":0,"firstName":"harry","googleUserId":"","graceLoginCount":0,"greeting":"Welcome harry hole!","jobTitle":"","languageId":"sv_SE","lastFailedLoginDate":null,"lastLoginDate":1567001956942,"lastLoginIP":"127.0.0.1","lastName":"hole","ldapServerId":"482918","lockout":false,"lockoutDate":null,"loginDate":1567002017612,"loginIP":"127.0.0.1","middleName":"","modifiedDate":1566998697000,"mvccVersion":"55","openId":"","portraitId":"0","reminderQueryAnswer":"","reminderQueryQuestion":"","screenName":"harry.hole","status":0,"timeZoneId":"UTC","userId":"483154","uuid":"74e5b976-3aaf-4988-629d-506d0968d69f"}

      at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:269)

      at com.liferay.portal.service.persistence.impl.UserPersistenceImpl.updateImpl(UserPersistenceImpl.java:8608)

      at com.liferay.portal.service.persistence.impl.UserPersistenceImpl.updateImpl(UserPersistenceImpl.java:83)

      at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:356)

      at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:375)

      at com.liferay.portal.service.impl.UserLocalServiceImpl.updateUser(UserLocalServiceImpl.java:5473)

      at sun.reflect.GeneratedMethodAccessor1746.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)

      at com.sun.proxy.$Proxy457.updateUser(Unknown Source)

      at com.liferay.portal.kernel.service.UserLocalServiceWrapper.updateUser(UserLocalServiceWrapper.java:3581)

      at com.liferay.message.boards.internal.service.MBMessageUserLocalServiceWrapper.updateUser(MBMessageUserLocalServiceWrapper.java:70)

      at sun.reflect.GeneratedMethodAccessor1746.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)

      at com.sun.proxy.$Proxy458.updateUser(Unknown Source)

      at sun.reflect.GeneratedMethodAccessor1746.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)

      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:203)

      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:94)

      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:113)

      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130)

      at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:51)

      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130)

      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55)

      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130)

      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:125)

      at com.sun.proxy.$Proxy69.updateUser(Unknown Source)

      at com.liferay.portal.security.ldap.internal.exportimport.LDAPUserImporterImpl.updateUser(LDAPUserImporterImpl.java:1615)

      at com.liferay.portal.security.ldap.internal.exportimport.LDAPUserImporterImpl.importUser(LDAPUserImporterImpl.java:1092)

      at com.liferay.portal.security.ldap.internal.exportimport.LDAPUserImporterImpl.importUser(LDAPUserImporterImpl.java:151)

      at com.liferay.portal.security.ldap.internal.authenticator.LDAPAuth.authenticate(LDAPAuth.java:360)

      at com.liferay.portal.security.ldap.internal.authenticator.LDAPAuth.authenticateAgainstPreferredLDAPServer(LDAPAuth.java:546)

      at com.liferay.portal.security.ldap.internal.authenticator.LDAPAuth.authenticate(LDAPAuth.java:465)

      at com.liferay.portal.security.ldap.internal.authenticator.LDAPAuth.authenticateByScreenName(LDAPAuth.java:112)

      at com.liferay.portal.security.auth.AuthPipeline._authenticate(AuthPipeline.java:150)

      at com.liferay.portal.security.auth.AuthPipeline.authenticateByScreenName(AuthPipeline.java:49)

      at com.liferay.portal.service.impl.UserLocalServiceImpl.authenticate(UserLocalServiceImpl.java:5880)

      at com.liferay.portal.service.impl.UserLocalServiceImpl.authenticateByScreenName(UserLocalServiceImpl.java:1310)

      at sun.reflect.GeneratedMethodAccessor1738.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)

      at com.sun.proxy.$Proxy457.authenticateByScreenName(Unknown Source)

      at com.liferay.portal.kernel.service.UserLocalServiceWrapper.authenticateByScreenName(UserLocalServiceWrapper.java:491)

      at sun.reflect.GeneratedMethodAccessor1738.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)

      at com.sun.proxy.$Proxy458.authenticateByScreenName(Unknown Source)

      at sun.reflect.GeneratedMethodAccessor1738.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)

      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:203)

      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:94)

      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:113)

      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130)

      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55)

      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130)

      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:125)

      at com.sun.proxy.$Proxy69.authenticateByScreenName(Unknown Source)

      at com.liferay.portal.kernel.service.UserLocalServiceUtil.authenticateByScreenName(UserLocalServiceUtil.java:472)

      at com.liferay.portal.security.auth.session.AuthenticatedSessionManagerImpl._getAuthenticatedUser(AuthenticatedSessionManagerImpl.java:470)

      at com.liferay.portal.security.auth.session.AuthenticatedSessionManagerImpl.login(AuthenticatedSessionManagerImpl.java:133)

      at com.liferay.login.web.internal.portlet.action.LoginMVCActionCommand.login(LoginMVCActionCommand.java:208)

      at com.liferay.login.web.internal.portlet.action.LoginMVCActionCommand.doProcessAction(LoginMVCActionCommand.java:99)

      at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:61)

      at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:378)

      at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:97)

      at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:260)

      at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:77)

      at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:50)

      at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:108)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

      at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)

      at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)

      at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)

      at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)

      at com.liferay.portlet.internal.InvokerPortletImpl.invoke(InvokerPortletImpl.java:564)

      at com.liferay.portlet.internal.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:610)

      at com.liferay.portlet.internal.InvokerPortletImpl.processAction(InvokerPortletImpl.java:299)

      at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.processAction(MonitoringInvokerPortlet.java:216)

      at com.liferay.portlet.internal.PortletContainerImpl._processAction(PortletContainerImpl.java:490)

      at com.liferay.portlet.internal.PortletContainerImpl.lambda$processAction$0(PortletContainerImpl.java:148)

      at com.liferay.portlet.internal.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:395)

      at com.liferay.portlet.internal.PortletContainerImpl.processAction(PortletContainerImpl.java:141)

      at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:95)

      at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:78)

      at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:118)

      at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:346)

      at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:174)

      at com.liferay.portal.struts.PortalRequestProcessor._processActionPerform(PortalRequestProcessor.java:715)

      at com.liferay.portal.struts.PortalRequestProcessor._process(PortalRequestProcessor.java:655)

      at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:194)

      at com.liferay.portal.servlet.MainServlet.process(MainServlet.java:1066)

      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)

      at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:597)

      at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:574)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:103)

      at com.liferay.portal.apio.internal.architect.servlet.filter.APIDocumentationFilter.processFilter(APIDocumentationFilter.java:74)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:58)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:178)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:101)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)

      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)

      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)

      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)

      at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:372)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

      at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:98)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:103)

      at com.liferay.portal.apio.internal.architect.servlet.filter.APIDocumentationFilter.processFilter(APIDocumentationFilter.java:74)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:340)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:360)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:58)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:88)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:260)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:263)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)

      at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:178)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)

      at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)

      at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)

      at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)

      at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)

      at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)

      at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)

      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:101)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:407)

      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)

      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)

      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

      at java.lang.Thread.run(Thread.java:748)

      Caused by: com.liferay.portal.kernel.dao.orm.ORMException:

      {"agreedToTermsOfUse":false,"comments":"","companyId":"20099","contactId":"483155","createDate":1566998677557,"defaultUser":false,"emailAddress":"","emailAddressVerified":false,"externalReferenceCode":"","facebookId":"0","failedLoginAttempts":0,"firstName":"harry","googleUserId":"","graceLoginCount":0,"greeting":"Welcome harry hole!","jobTitle":"","languageId":"sv_SE","lastFailedLoginDate":null,"lastLoginDate":1567001956942,"lastLoginIP":"127.0.0.1","lastName":"hole","ldapServerId":"482918","lockout":false,"lockoutDate":null,"loginDate":1567002017612,"loginIP":"127.0.0.1","middleName":"","modifiedDate":1566998697000,"mvccVersion":"54","openId":"","portraitId":"0","reminderQueryAnswer":"","reminderQueryQuestion":"","screenName":"harry.hole","status":0,"timeZoneId":"UTC","userId":"483154","uuid":"74e5b976-3aaf-4988-629d-506d0968d69f"}

      is stale in comparison to

      {"agreedToTermsOfUse":false,"comments":"","companyId":"20099","contactId":"483155","createDate":1566998677557,"defaultUser":false,"emailAddress":"","emailAddressVerified":false,"externalReferenceCode":"","facebookId":"0","failedLoginAttempts":0,"firstName":"harry","googleUserId":"","graceLoginCount":0,"greeting":"Welcome harry hole!","jobTitle":"","languageId":"sv_SE","lastFailedLoginDate":null,"lastLoginDate":1567001956942,"lastLoginIP":"127.0.0.1","lastName":"hole","ldapServerId":"482918","lockout":false,"lockoutDate":null,"loginDate":1567002017612,"loginIP":"127.0.0.1","middleName":"","modifiedDate":1566998697000,"mvccVersion":"55","openId":"","portraitId":"0","reminderQueryAnswer":"","reminderQueryQuestion":"","screenName":"harry.hole","status":0,"timeZoneId":"UTC","userId":"483154","uuid":"74e5b976-3aaf-4988-629d-506d0968d69f"}

      at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:67)

      at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:226)

      at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:394)

      at com.liferay.portal.service.persistence.impl.UserPersistenceImpl.updateImpl(UserPersistenceImpl.java:8604)

      ... 234 more

      Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): com.liferay.portal.model.impl.UserImpl#483154

      at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:485)

      at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:255)

      at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84)

      at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:867)

      at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:851)

      at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:855)

      at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:223)

      ... 236 more

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              michael.wall Michael Wall
              Participants of an Issue:
              Recent user:
              Michael Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                7 weeks, 4 days ago

                Packages

                Version Package