Article - CS272986

WinDU tasks report error "PartialResultException: Search results size has exceeded the limit set by the System Administrator" in Windchill PDMLink.

Modified: 01-Apr-2025   


Applies To

  • Windchill PDMLink 10.2 to 12.1
  • Windchill Navigate (formerly ThingWorx Navigate) 1.8.0 to 9.2

Description

  • WinDU task PrincipalValidator/InheritedDomainDT report error below
Error in method server code:
java.lang.Exception: Exception of type 'java.lang.reflect.InvocationTargetException' was generated on the server with message 'null'
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
    at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
    at sun.reflect.GeneratedMethodAccessor561.invoke(null)
Task failed.
com.ptc.windchill.upgrade.updates.UpdateExecutionException: Error executing IncrementalUpdate Validate Users, Groups and Organizations in the DB and in LDAP (#PrincipalValidator)
Nested exception is: (com.ptc.windchill.upgrade.updates.directives.directivesResource/39) com.ptc.windchill.upgrade.updates.DirectiveExecutionException: Method server code com.ptc.windchill.org.PrincipalValidator.runDiagnostics failed.  See nested exception for details
Nested exception is: wt.util.WTException: java.lang.reflect.InvocationTargetException
Nested exception is: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
    at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
    at sun.reflect.GeneratedMethodAccessor561.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:152)
    at wt.method.MethodResult.writeExternal(MethodResult.java:226)
Caused by: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator.
    at wt.pom.PagingHelper.query(PagingHelper.java:431)
    at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:1169)
    at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:1039)
    at wt.fc.StandardPersistenceManager._query(StandardPersistenceManager.java:1961)
    at wt.fc.StandardPersistenceManager.query(StandardPersistenceManager.java:1489)
    at wt.fc.StandardPersistenceManager.query(StandardPersistenceManager.java:1368)
    at com.ptc.windchill.org.PrincipalValidator.checkPrincipalJndiAdaptersLinkages(PrincipalValidator.java:357)
    at com.ptc.windchill.org.PrincipalValidator.runDiagnostics(PrincipalValidator.java:134)
    ... 27 more
  • WinDU CabinetBasedDataContainerAlignmentReport is getting failed 
  • Windu ReportRegisteredUsers task fails and reports below error in ReportRegisteredUsers.log.
Deactivated Users user count:0
An error occurred in the retrieval of registered users.
java.lang.Exception: Exception of type 'wt.pds.PartialResultException' was generated on the server with message 'Message:  Resource bundle/Message key = wt.pds.pdsResource/22'
at wt.pds.SQLDatabasePds.query(SQLDatabasePds.java:867)
at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:1076)
at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:985)
at wt.fc.StandardPersistenceManager._query(StandardPersistenceManager.java:1972)
at wt.fc.StandardPersistenceManager.query(StandardPersistenceManager.java:1465)
at wt.fc.StandardPersistenceManager.query(StandardPersistenceManager.java:1123)
at wt.org.ReportRegisteredUsers.retrieveAndOutputValidUsers(ReportRegisteredUsers.java:107)
at wt.org.ReportRegisteredUsers.runDiagnostics(ReportRegisteredUsers.java:54)
  • WinDU CheckActivitiesWithWrongDuration getting failed with below error
Wed 6/5/24 13:34:54: Task failed.
Wed 6/5/24 13:34:54: com.ptc.windchill.upgrade.updates.UpdateExecutionException: Error executing IncrementalUpdate Check for the duration of Activities in Classic Project based on the Start Date and End time (#CheckActivitiesWithWrongDuration)
Wed 6/5/24 13:34:54: Nested exception is: (com.ptc.windchill.upgrade.updates.directives.directivesResource/39) com.ptc.windchill.upgrade.updates.DirectiveExecutionException: Method server code wt.projmgmt.project.CheckActivitiesWithWrongDuration.executeDiagnosticTask failed.  See nested exception for details
Wed 6/5/24 13:34:54: Nested exception is: wt.util.WTException: java.lang.reflect.InvocationTargetException
Wed 6/5/24 13:34:54: Nested exception is: java.lang.reflect.InvocationTargetException
Wed 6/5/24 13:34:54: 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Wed 6/5/24 13:34:54: 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Wed 6/5/24 13:34:54: 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Wed 6/5/24 13:34:54: 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Wed 6/5/24 13:34:54: 	at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
Wed 6/5/24 13:34:54: 	at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
Wed 6/5/24 13:34:54: 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Wed 6/5/24 13:34:54: 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Wed 6/5/24 13:34:54: 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Wed 6/5/24 13:34:54: 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Wed 6/5/24 13:34:54: 	at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:165)
Wed 6/5/24 13:34:54: 	at wt.method.MethodResult.writeExternal(MethodResult.java:226)
Wed 6/5/24 13:34:54: 	at java.base/java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1447)
Wed 6/5/24 13:34:54: 	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1421)
Wed 6/5/24 13:34:54: 	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
Wed 6/5/24 13:34:54: 	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:293)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:369)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
Wed 6/5/24 13:34:54: 	at java.base/java.security.AccessController.doPrivileged(Native Method)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
Wed 6/5/24 13:34:54: 	at java.base/java.security.AccessController.doPrivileged(Native Method)
Wed 6/5/24 13:34:54: 	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
Wed 6/5/24 13:34:54: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
Wed 6/5/24 13:34:54: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Wed 6/5/24 13:34:54: 	at java.base/java.lang.Thread.run(Thread.java:829)
Wed 6/5/24 13:34:54: Caused by: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator.
Wed 6/5/24 13:34:54: 	at wt.pom.PagingHelper.query(PagingHelper.java:435)
Wed 6/5/24 13:34:54: 	at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:1111)
Wed 6/5/24 13:34:54: 	at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:1005)
Wed 6/5/24 13:34:54: 	at wt.fc.StandardPersistenceManager._query(StandardPersistenceManager.java:1945)
Wed 6/5/24 13:34:54: 	at wt.fc.StandardPersistenceManager._find(StandardPersistenceManager.java:1998)
Wed 6/5/24 13:34:54: 	at wt.fc.StandardPersistenceManager.find(StandardPersistenceManager.java:645)
Wed 6/5/24 13:34:54: 	at jdk.internal.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
Wed 6/5/24 13:34:54: 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Wed 6/5/24 13:34:54: 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Wed 6/5/24 13:34:54: 	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
Wed 6/5/24 13:34:54: 	at com.sun.proxy.$Proxy29.find(Unknown Source)
Wed 6/5/24 13:34:54: 	at wt.projmgmt.project.CheckActivitiesWithWrongDuration.getExecutionObjectWithWrongDuration(CheckActivitiesWithWrongDuration.java:54)
Wed 6/5/24 13:34:54: 	at wt.projmgmt.project.CheckActivitiesWithWrongDuration.executeDiagnosticTask(CheckActivitiesWithWrongDuration.java:32)
Wed 6/5/24 13:34:54: 	... 30 more
  • Unable to execute Custom getParts service with following error in Thingworx Navigate Composer:
Unable to execute Custom getParts service with following error:
Unable to Invoke Service getParts on PartlistConnector : Your route exchange has failed. Service operation failed with status [ - Failed to get the search results using windchill search service: (wt.pom.pomResource/22) wt.pds.PartialResultException: Search results size has exceeded the limit set by the System Administrator.]
This is a printer-friendly version of Article 272986 and may be out of date. For the latest version click CS272986