Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Background:
I have a few assets defined and some connected tags via KepServer. These tags have good quality and I can see their values updating in the Composer. I'll also note I have the status's of these assets configured, and I can watch the status change according to their definitions (I have seen the status change from Running to Unplanned Downtime correctly). The properties corresponding to the KepServer tags in the Asset_ Things are flagged as Logged (the ones of type Integer and Boolean anyways). Our ThingWorx version is 8.4.3.
The Problem:
The asset performance is not being updated. The availability remains stuck at 0% and the status chart shows Not Configured 100% of the time:
I get this error in the Mashup:
ERROR - universalServiceTrigger, exception: triggerName: "UI_timelinechart-10_render", _evt: {"EventHandlerArea":"UI","EventHandlerId":"timelinechart-10","EventHandlerService":"render","EventTriggerArea":"Data","EventTriggerEvent":"ServiceInvokeCompleted","EventTriggerId":"GetStatusHistoryData","EventTriggerSection":"Things_PTC.SCA.SCO.AssetMonitor.AssetDetail.PerformanceMonitorController","Id":"2ff74a77-99c5-43f2-8c53-bd892e77ea7a"} Exception: Cannot read property '0' of undefined
In the Monitored Properties, the charts and property values are blank:
I get these errors in the Mashup:
Let me know if any additional information would be useful. I appreciate any help you can offer!
Hello,
I am following up on this post to see if this issue is still affecting you? If so, it looks like the issue is caused by a configuration issue. In the second error message, it says: Exception: Cannot read property 'length' of undefined.
Is it possible that in your input data there is a feature called length that is not being populated correctly and that is causing the issue downstream?
Warm Regards,
John