• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

YUI Uploader 2.7.0 issue: Failed conversion between PP_Var and V8 value

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, everybody.

My JSP pages use YUI 2.7.0 file uploader, which, unfortunately, I'm not familiar with at all. As I've been told, this uploader worked before, but now it's not doing anything: it allows the user to choose a file, adds a file to the list, shows an empty progress bar, and that's it. Using Firebug, I've found that the error has been thrown, which says: "Failed conversion between PP_Var and V8 value. " Here's what my code looks like. First, the JSP page (${config.yahooRoot} is the location for YUI 2.7.0, including the uploader, at this point I keep it locally):



And here is the javascript file multiFileUpload.js:



Most of those methods don't even get used, everything seems to stop at the upload() method in the JSP page, when it tries to call uploader.uploadAll method, that's where the error gets thrown. And it looks like it complains about the vars parameter, it tries to pass to uploadAll(), but I have no idea what does the error mean and if there's any way to fix it. If anyone here knows anything about YUI uploader, I could use some help or at least some advise on how to debug this.

Thanks for your help
 
reply
    Bookmark Topic Watch Topic
  • New Topic