Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Uncaught Error: Error calling method on NPObject.  #19

Open

Description

@particle6

Erroring on line 208: FileAPIProxy.swfObject.read(file.input, file.name, 'readAsDataURL');

I know hardly anything about flash, so it may just be something i'm over looking.

--Please help!!

Activity

  1. dwick commented on Oct 10, 2012

    @dwick

    I too am having this issue. Any help would be appreciated.

  2. jinlin commented on Oct 19, 2012

    @jinlin

    same here..

  3. AVapps commented on Oct 24, 2012

    @AVapps
    Owner

    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!

  4. jinlin commented on Nov 6, 2012

    @jinlin

    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...

  5. conradthegray commented on Feb 22, 2013

    @conradthegray

    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?

  6. AVapps commented on Feb 22, 2013

    @AVapps
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions