Leszek Gawron wrote:
> RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
> Rhino runtime detected object
> [EMAIL PROTECTED]
> of class com.mobilebox.
> cocoon.components.SpringApplicationContextFetcher where it expected
> String, Number, Boolean or Scriptable instance. Please ch
> eck your code for missig Context.javaToJS() call.
>
> can it be disabled somehow? or even better - is there a possibility of
> implementing some kind of interceptor so I do not mess my code with
> statements like:
>
> public ApplicationContext fetchContext() { return context };
> public Scriptable fetchScriptableContext() {
> return Context.javaToJS( fetchContext() );
> }
>
> ?
I agree this warning comes up frequently when objects are tested if null.
But I don't understand why though?
Thanks
Tibor