Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4972

LDAP: after login interceptor to sync user groups make an error for non LDAP user

Details

    Description

      This is only an ERROR in log files, there is n't any consequence for the user.

      2020-10-12 08:38:04.711 [ajp-nio2-8058-exec-6] ERROR  LDAPGroupsLoginInterceptor ^%^ I355-J211 ^%^ org.olat.ldap.ui.LDAPGroupsLoginInterceptor 
      https://xyz.com/dmz/?lang=de&logout=true
      Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
      Cannot sync LDAP groups java.lang.NullPointerException
       at org.olat.ldap.manager.LDAPLoginManagerImpl.syncUserGroups(LDAPLoginManagerImpl.java:747)
       at org.olat.ldap.ui.LDAPGroupsLoginInterceptor.isUserInteractionRequired(LDAPGroupsLoginInterceptor.java:55)
       at org.olat.core.commons.controllers.resume.ResumeSessionController.<init>(ResumeSessionController.java:113)
       at org.olat.core.commons.fullWebApp.BaseFullWebappController.<init>(BaseFullWebappController.java:267)
       at org.olat.basesecurity.AuthHelper.createAuthHome(AuthHelper.java:216)
       at org.olat.basesecurity.AuthHelper.doLogin(AuthHelper.java:136)
       at org.olat.login.LoginAuthprovidersController.event(LoginAuthprovidersController.java:314)
       at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:258)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:255)
       at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:202)
       at org.olat.login.auth.AuthenticationController.authenticated(AuthenticationController.java:64)
       at org.olat.ldap.ui.LDAPAuthenticationController.doLoginAndRegister(LDAPAuthenticationController.java:301)
       at org.olat.ldap.ui.LDAPAuthenticationController.event(LDAPAuthenticationController.java:241)
       at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:258)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:255)
       at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:202)
       at org.olat.login.auth.OLATAuthentcationForm.formOK(OLATAuthentcationForm.java:89)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:389)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:124)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:461)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:448)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:77)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:316)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1249)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:715)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:310)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:273)
       

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            okant Oliver Kant
            Mandy Menzel Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: