Article - CS249265

"RHINO USAGE WARNING: Missed Context.javaToJS() conversion" messages in ThingWorx Tomcat Server Logs

Modified: 10-Jul-2020   


Applies To

  • ThingWorx Platform 6.5 to 8.4

Description

  • The following message is logged in the Tomcat STDERR logs (catalina.out on Linux, tomcat8-stderr<date>.log on Windows) or in the ThingWorx Script Log:
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object <objectDetails> of class <classType> where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
 
This is a printer-friendly version of Article 249265 and may be out of date. For the latest version click CS249265