cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Mashup loading error whenever reading from input infotable (SeriesClicked, SelectedData)

Deon
7-Bedrock

Mashup loading error whenever reading from input infotable (SeriesClicked, SelectedData)

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!

ACCEPTED SOLUTION

Accepted Solutions
Rocko
18-Opal
(To: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.

 

 

View solution in original post

3 REPLIES 3
bchaudhary
17-Peridot
(To:Deon)

Hello @Deon ,

 

Could you pls share the sample entities, if possible? Also, share the Application Logs to identify the errors.

 

Regards,

Bhawna

Deon
7-Bedrock
(To:bchaudhary)

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.

 

Deon_0-1722216694250.png

 

Regards,

Deon

 

Rocko
18-Opal
(To: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.

 

 

Announcements


Top Tags