Subj : Re: org.mozilla.javascript.EvaluatorException: Can't convert to type To : mesuti@aciworldwide.com From : Igor Bukanov Date : Thu Feb 26 2004 10:43 am mesuti@aciworldwide.com wrote: > > > > Thank you very much for the tip Igor. > > The problem is solved in Rhino 1.5R5 Release Candidate 1. But I've got > onother problem when I use the result object of the concat() method in the > Java Script. You have the same problem as http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&oe=UTF-8&group=netscape.public.mozilla.jseng&selm=ea369075.0402251631.5b474035%40posting.google.com see my reply for details but in short replace in jsFunction_concat the line ByteString bs1 = new ByteString(); with ByteString bs1 = (ByteString)Context. newObject("ByteString", getParentScope()); Regards, Igor .