Hi,<br />
<br />
I have a report which uses scripted data sets. The report displays as expected, but in my application console in Eclipse, I get the following warning messages:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object [Ljava.lang.Object;
@192a441 of class [Ljava.lang.Object; where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object 2008-07-03 of class java.sql.Date where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
</pre>
<br />
I'm just wondering what I would need to do to fix this issue. In the palette, under context, the objects are this and reportContext, but none of those have a javaToJS method, and the script does not recognise Context as a valid object.<br />
<br />
Thanks,<br />
Cedric