java.lang.IllegalArgumentException: Exact Label must not be empty

Issue

When you try to import your LDAP users to CQ, you get an error similar to the following:

import failed: java.lang.IllegalArgumentException: Exact Label must not be empty. java.lang.IllegalArgumentException: Exact Label must not be empty. at com.day.cq.util.Text.validateLabel(Text.java:1759) at com.day.cq.jcr.adapter.TicketAdapter$PageCreator.run(TicketAdapter.java:3357) at com.day.cq.jcr.adapter.TicketAdapter.runLocked(TicketAdapter.java:3231) at com.day.cq.jcr.adapter.TicketAdapter.createPage (TicketAdapter.java:2233) at com.day.cq.jcr.adapter.TicketAdapter.createPage(TicketAdapter.java:881) at com.day.cq.jcr.adapter.TicketAdapter.createPage(TicketAdapter.java:872) at com.day.cq.delivery.DeliveryTicketWrapper.createPage(DeliveryTicketWrapper.java:111) at com.day.cq.contentbus.importer.ldap.LdapImporter.createFolder(LdapImporter.java:244)

Solution

In /config/repository/ldapdefaultfinder, check the section under to see whether you correctly set the parameters from LDAP. For example, if the user LDAP object does not have a UID, and you set the User ID to use UID, this error appears in error.log. Make sure that you are using the correct matching between your LDAPuser object and the CQ user page. You can set CQ authentication logger to DEBUG and analyze the details.

Additional information

When this error occurs, it is likely that the LDAP configuration file isn't configured properly.

 Adobe

更快、更轻松地获得帮助

新用户?

Adobe MAX 2024

Adobe MAX
创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX

创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX 2024

Adobe MAX
创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX

创意大会

10 月 14 日至 16 日迈阿密海滩及线上