Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I have service which receives a string as input and result number as output. I have tested service is working as expected.
I have binded that service with value display widget and input to service through mashup parameter. When running mashup I am getting error: "Execution error in service script [Thing serviceName] : TypeError: Cannot call method "serviceName" of null (serviceName#2)"
Are you logged in as Administrator? Is the parameter type matching your service value type?
Looks like the logged-in user does not have access (visibility) to the entity on which the service is defined.