Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi all,
My mashup is completed and working, that is until I tried adding a new function.
Currently I have a service that provide data to the bar chart and have my seriesclicked and selecteddata binded to another barchart which works, it takes in the x and dataField of the first barchart. The problem occurs when I try reading the x and dataField of the chart in the same service that provide the data to the chart.
Now my Mashup have loading error only on the chart, and only when I try to read the x or dataField of the input infotable. Any advice is greatly appreciated!
Solved! Go to Solution.
The error is occurring in the code of service script RetrieveProgress, line 1, where you try to access the property x of some input variable. It looks like that input variable was not set or has no value.
Beside fixing that you don't provide value, all the services you call directly from a mashup should have proper error handling, i.e. a try-catch block and/or validating of input parameters so you don't return exceptions to the mashup.
Hello @Deon ,
Could you pls share the sample entities, if possible? Also, share the Application Logs to identify the errors.
Regards,
Bhawna
Hello Bhawna!
Thank you for helping! Attached is the Application Logs. I am sorry, I am very new to PTC and not sure which entities should I share.
Regards,
Deon
The error is occurring in the code of service script RetrieveProgress, line 1, where you try to access the property x of some input variable. It looks like that input variable was not set or has no value.
Beside fixing that you don't provide value, all the services you call directly from a mashup should have proper error handling, i.e. a try-catch block and/or validating of input parameters so you don't return exceptions to the mashup.