Article - CS390447

Executing GetEndpointList in ODataConnector of ThingWorx Navigate fails with the error "Your route exchange has failed. Resource Error [Failed to aggregate all metadatas, 6 were expected, but only 2 received]"

Modified: 11-Apr-2023   


Applies To

  • Windchill Navigate (formerly ThingWorx Navigate) 9.3 9.3.4
  • Windchill PDMLink 12.0.2.7

Description

  • Executing GetEndpointList in ODataConnector of ThingWorx Navigate fails
  • ThingWorx Application log prints the following error:
2023-04-10 10:10:57.192+0000 [L: ERROR] [O: c.t.w.Things] [I: ] [U: Administrator] [S: ] [P: ] [T: https-openssl-nio-8443-exec-3] Unable to Invoke Service GetEndpointList on PartSearchOData : Your route exchange has failed.  Resource Error [Failed to aggregate all metadatas, 6 were expected, but only 2 received]
  • Integration Runtime reports the following error:
2023-10-04 10:10:57.176 [Camel (camel-1) thread #15 - RecipientList-AggregateTask] WARN  c.t.i.r.o.MetadataAggregator - Failure processing metadata: HTTP operation failed invoking https://xxxxxxx.xxxx.com/Windchill/sslClientAuth/servlet/odata/v2/Workflow/$metadata with statusCode: 500
2023-10-04 10:10:57.177 [ClientProcessor-3] INFO  c.t.i.r.o.MetadataTransformer - MetadataTransformer expected 6 metadatas and received 2 actual
2023-10-04 10:10:57.178 [ClientProcessor-3] ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown : Your route exchange has failed.  Resource Error [Failed to aggregate all metadatas, 6 were expected, but only 2 received]
java.lang.RuntimeException: Your route exchange has failed.  Resource Error [Failed to aggregate all metadatas, 6 were expected, but only 2 received]
         at com.twx.integration.route.exceptions.ExceptionHelper.convertToRuntimeException(ExceptionHelper.java:77)
         at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:159)
         at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72)
         at jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.base/java.lang.reflect.Method.invoke(Method.java:568)
         at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261)
         at com.thingworx.communications.client.things.VirtualThing.invokeService(VirtualThing.java:1120)
         at com.thingworx.communications.client.things.VirtualThing.handleServiceRequest(VirtualThing.java:1028)
         at com.thingworx.communications.client.ConnectedThingClient.handleRequest(ConnectedThingClient.java:315)
         at com.thingworx.communications.client.processor.ClientProcessorTask.run(ClientProcessorTask.java:55)
         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
         at java.base/java.lang.Thread.run(Thread.java:833)

 
This is a printer-friendly version of Article 390447 and may be out of date. For the latest version click CS390447