Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
Scripting Sightly Engine 1.0.10
-
None
-
None
-
Mac
Description
I often see the following error in the terminal:
RHINO USAGE WARNING: Missed Context.javaToJS() conversion: Rhino runtime detected object java.util.GregorianCalendar[time=1434664044399,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT-07:00",offset=-25200000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2015,MONTH=5,WEEK_OF_YEAR=25,WEEK_OF_MONTH=3,DAY_OF_MONTH=18,DAY_OF_YEAR=169,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=3,AM_PM=1,HOUR=2,HOUR_OF_DAY=14,MINUTE=47,SECOND=24,MILLISECOND=399,ZONE_OFFSET=-25200000,DST_OFFSET=0] of class java.util.GregorianCalendar where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
I think it happens for if statements. Attached is a stack. Please let me know if you need more information.