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

ArrayIndexOutOfBoundsException: 0 thrown on scheduled_user_ldap_import-1

    Details

      Description

      1. Start portal. Go to control panel -> Configuration -> Portal Settings -> Authentication -> LDAP, check "Enable", "Enable Import". Save.
      2. Wait for the exception throws.

      10:39:40,109 ERROR [liferay/scheduled_user_ldap_import-1][LDAPUserImporterImpl:463] Unable to import LDAP users and groups
      java.lang.ArrayIndexOutOfBoundsException: 0
      	at com.liferay.portal.ldap.internal.DefaultLDAPSettings.getProperties(DefaultLDAPSettings.java:236)
      	at com.liferay.portal.ldap.internal.DefaultLDAPSettings.getUserExpandoMappings(DefaultLDAPSettings.java:154)
      	at com.liferay.portal.ldap.internal.exportimport.LDAPUserImporterImpl.importUsers(LDAPUserImporterImpl.java:435)
      	at com.liferay.portal.ldap.internal.exportimport.LDAPUserImporterImpl.importUsers(LDAPUserImporterImpl.java:398)
      	at com.liferay.portal.ldap.internal.messaging.UserImportMessageListener.doReceive(UserImportMessageListener.java:84)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:65)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      	at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:58)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:724)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bejond.shao Bejond Shao (Inactive)
                Reporter:
                bejond.shao Bejond Shao (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 46 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 Alpha 4