技术文章 - CS390447

在 ThingWorx Navigate 的 ODataConnector 中执行 GetEndpointList 失败并出现错误“您的路由交换失败。资源错误 [无法聚合所有元数据,预期为 6,但仅收到 2]”

已修改: 11-Apr-2023   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

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

说明

  • 在 ThingWorx Navigate 的 ODataConnector 中执行 GetEndpointList 失败
  • ThingWorx 应用程序日志打印以下错误:
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]
  • 集成运行时报告以下错误:
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)

这是文章 390447 的 PDF 版本,可能已过期。最新版本 CS390447