Article - CS59225

"Populate the fields Prefix, First, Middle, Last and Suffix in the WTUser table" returns "LDAP error" during upgrade of Windchill PDMLink

Modified: 22-Apr-2025   


Applies To

  • Windchill PDMLink 9.1 to 12.0

Description

  • Upgrade to Windchill 10.x fails in step "Populate the fields Prefix, First, Middle, Last and Suffix in the WTUser table" due to disconnected User:
    • User holds LDAP path to the EnterpriseLdap
    • User is disconnected (= does not exist in the EnterpriseLdap)
  • Several errors may be reported of type:
    • INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Migrator EXECUTING: Populate the fields Prefix, First, Middle, Last and Suffix in the WTUser table.:919772423-1197561275280-14600371-207-10-253-132 (0.0%) - Populate the fields Prefix, First, Middle, Last and Suffix in the WTUser table. started
    • INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message: PopulateUserFullNameFields START:1333609499523
      ERROR [main] wt.method.client - RemoteMethodServer.invoke() called on default method server from within method server! Bad loopback code!
      Caused by: wt.util.WTException: Error in finding mapping key for "<WTUser.name>" in adapter : <EnterpriseLdap>.jndiAdapter
      Verschachtelte Ausnahme ist: com.infoengine.exception.adapter.IEAdapterException; verschachtelte Ausnahme ist:
      javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:
      '<Search path for users in EnterpriseLdap>'
      ]; remaining name '<User path in EnterpriseLdap>'
      at wt.org.PopulateUserFullNameFields.readPrincipal(PopulateUserFullNameFields.java:335)
      at wt.org.PopulateUserFullNameFields.populateAdditionalFieldsAndUpdate(PopulateUserFullNameFields.java:158)
      at wt.org.PopulateUserFullNameFields.runMigration(PopulateUserFullNameFields.java:98)
      ... 23 more
    • Caused by: wt.util.WTException: Error in finding mapping key for "user.cn" in adapter : com.ptc.vmwindchill10x.ldap-pending
      Nested exception is: com.infoengine.exception.adapter.IEAdapterException; nested exception is:
      javax.naming.NameNotFoundException: [LDAP: error code 32 - The search base entry 'uid=user_name_?,ou=pendingUsers,dc=team-ind,dc=com,cn=configuration,cn=Windchill_10.0,o=ptc' does not exist
  • PopulateUserFullNameFields migrator fails with:
    javax.naming.NamingException: [LDAP: error code 1 - The provided value "xxxxx" could not be parsed as a valid distinguished name because it contained an RDN containing an empty attribute name]
        at com.infoengine.jndi.JNDIAdapterImpl.processRequest(JNDIAdapterImpl.java:254)
        at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:391)
        at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:262)
        at com.infoengine.compiledTasks.file.C$3a$5cptc$5cWindchill_10$2e1$5cWindchill$5ctasks.wt.federation.queryprincipals$2exml.invoke(queryprincipals$2exml.java:100)
        at com.infoengine.SAK.Task.invoke(Task.java:1806)
        at com.infoengine.SAK.Task.invoke(Task.java:1714)
        at wt.org.PopulateUserFullNameFields.readPrincipal(PopulateUserFullNameFields.java:310)
This is a printer-friendly version of Article 59225 and may be out of date. For the latest version click CS59225