Article - CS340091

GetText and GetJSON return NullPointerException in ThingWorx 9.0 and 9.1

Modified: 14-Jun-2021   


Applies To

  • ThingWorx Platform 9.0 to 9.1

Description

  • GetText and GetJSON return NullPointerException in ThingWorx 9.0 and 9.1 even though same service working in previous versions
  • GetText() and GetJSON() from ContentLoaderFunctions fails with error:
Error executing service <service_name>. Message :: Wrapped java.lang.NullPointerException - See Script Error Log for more details.
 
This is a printer-friendly version of Article 340091 and may be out of date. For the latest version click CS340091