You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 27, 2026. It is now read-only.
Uncaught Error: Error calling method on NPObject. #19
I have tried with the latest commit . but the error is still there.
["FileReader read...", null, "3.jpg", "readAsDataURL"]...It seems like file.input is null which call npObject...
To methods readAsBinaryString, readAsText, readAsDataURL and readAsArrayBuffer is passed File object. Here's how that object looks like https://developer.mozilla.org/en-US/docs/DOM/File. There's no property called input and none of browsers I tested doesn't add this property.
Could you @Jahdrien just tell me what exactly I should have in file.input?
Activity
dwick commentedon Oct 10, 2012
I too am having this issue. Any help would be appreciated.
jinlin commentedon Oct 19, 2012
same here..
AVapps commentedon Oct 24, 2012
Please try with the latest commit (not the minified one as it is not yet updated) and tell me if you still have this issue!
jinlin commentedon Nov 6, 2012
I have tried with the latest commit . but the error is still there.
["FileReader read...", null, "3.jpg", "readAsDataURL"]...It seems like file.input is null which call npObject...
conradthegray commentedon Feb 22, 2013
To methods
readAsBinaryString,readAsText,readAsDataURLandreadAsArrayBufferis passed File object. Here's how that object looks like https://developer.mozilla.org/en-US/docs/DOM/File. There's no property calledinputand none of browsers I tested doesn't add this property.Could you @Jahdrien just tell me what exactly I should have in
file.input?AVapps commentedon Feb 22, 2013
file.input is the file input id. It's a custom property from this polyfill used to track which file input the file belongs to.