技术文章 - CS267063
访问 Thingworx 中的服务时出现问题,并在 Thingworx 7.3 中遇到主要 CPU 峰值
已修改: 26-Jul-2023
适用于
- ThingWorx Platform 7.3 F000
说明
- 使用 POSTMAN 运行有问题的服务会导致返回 500 错误
- 在ApplicationLog.log中发现以下错误:
<时间戳> [L:错误] [O:EctwBaseService] [I:] [U:<用户名>] [S:] [T:http-nio-8080-exec-53] [上下文:com.thingworx.webservices。 context.HttpExecutionContext@1e98b02][消息:服务脚本中执行错误 [<Thing> <Service>]:JSON 不允许非有限数字。] com.thingworx.common.exceptions.InvalidRequestException:服务脚本中执行错误 [< Thing> <Service>] :JSON 不允许非有限数字。
在 com.thingworx.dsl.engine.DSLProcessor.executeService(DSLProcessor.java:305) ~[thingworx-platform-common-7.3.1-b39.jar:na]
在 com.thingworx.dsl.DSLServiceHandler.processService(DSLServiceHandler.java:37) ~[thingworx-platform-common-7.3.1-b39.jar:na]
在 com.thingworx.things.Thing.processServiceRequestDirect(Thing.java:6874) ~[thingworx-platform-common-7.3.1-b39.jar:na]
在 com.thingworx.dsl.engine.DSLProcessor.executeService(DSLProcessor.java:305) ~[thingworx-platform-common-7.3.1-b39.jar:na]
在 com.thingworx.dsl.DSLServiceHandler.processService(DSLServiceHandler.java:37) ~[thingworx-platform-common-7.3.1-b39.jar:na]
在 com.thingworx.things.Thing.processServiceRequestDirect(Thing.java:6874) ~[thingworx-platform-common-7.3.1-b39.jar:na]
这是文章 267063 的 PDF 版本,可能已过期。最新版本 CS267063