Npobject Error Firefox
BMO. For more details see Persona Deprecated. Last error calling method on npobject javascript Comment Bug338630 - Error calling method on NPObject! Summary: Error error calling method on npobject applet calling method on NPObject! Status: RESOLVED WORKSFORME Whiteboard: Keywords: regression Product: Core Classification: Components Component: Plug-ins (show other bugs) Version: Trunk Platform: All Windows XP Importance: -- normal (vote) TargetMilestone: --- Assigned To: Nobody; OK to take it and work on it QA Contact: TriageOwner: Benjamin Smedberg [:bsmedberg] Mentors: URL: http://bugzilla.mozdev.org/attachment... Depends on: Blocks: Show dependency tree /graph Reported: 2006-05-20 03:47 PDT by Philip Chee Modified: 2014-12-25 20:42 PST (History) CC List: 7 users (show) bzbarsky gavin.sharp jonas jst martijn.martijn mrbkap roland Flags: jonas: blocking1.9- See Also: Crash Signature: (edit) QA Whiteboard: Iteration: --- Points: --- Has Regression Range: --- Has STR: --- Tracking Flags: Attachments Add an attachment (proposed patch, testcase, etc.) Description Philip Chee 2006-05-20 03:47:52 PDT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060519 Minefield/3.0a1 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060519 MultiZilla/1.8.2.0e Mnenhy/0.7.4.0 SeaMonkey/1.5a Error: Error calling method on NPObject! Source file: chrome://flashblock/content/flashblock.xml Line: 41 Steps to reproduce: 1. Install latest Flashblock-cvs from:
Sign in Pricing Blog Support Search GitHub This repository Watch 1,098 Star 16,983 Fork 3,593 emberjs/ember.js Code Issues 202 Pull requests 84 Projects 0 Pulse Graphs New issue "Error calling method on NPObject!" on Firefox #12364 Closed YoranBrondsema opened this Issue Sep 18, 2015 · 5 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants YoranBrondsema commented Sep 18, 2015 The monitoring system of our application has been reporting occasional errors https://bugzilla.mozilla.org/show_bug.cgi?id=338630 Error calling method on NPObject!. The method is symcBFPerformOnDOMChangedHandler. This is an error message specific to Firefox so it only happens on that browser. It happens sporadically for some of our users and unfortunately I haven't been able to replicate it. However, from the stack trace I did figure out that it comes from https://github.com/emberjs/ember.js/blob/master/packages/ember-routing/lib/location/history_location.js#L162, i.e. the line get(this, https://github.com/emberjs/ember.js/issues/12364 'history').replaceState(state, null, path); of the file history_location.js. Firefox is exposing its window objects through NPObject interface, I'm assuming including window.history, so I'm not even sure if this is a bug in Ember.js or in Firefox itself. Given how little information I have about the bug, I'm not sure how much this issue is worth. But I thought I'd post it anyway in the case someone else has encountered similar issues or knows more about it. Ember.js member stefanpenner commented Sep 18, 2015 My first inclination is that this sounds like a FF issue. Although as you mentioned, without further info. I don't know what we can do... zourtney commented Feb 9, 2016 Any luck pinning this down? I'm using a different tech stack, but experiencing the same symptoms. In my case, it also seems related to window.history manipulation. Equivalent offending code, angular.js/browser.js#145: history[replace ? 'replaceState' : 'pushState'](state, '', url); YoranBrondsema commented Feb 10, 2016 I think the fact that it appears in Angular.js too indicates event more that it's a Firefox issue, like @stefanpenner sugge
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of http://stackoverflow.com/questions/28695572/firefox-bad-npobject-error-with-swf-only-when-using-function-apply this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question https://discuss.newrelic.com/t/error-calling-method-on-npobject/2964 x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error calling Firefox “Bad NPObject” error with swf only when using Function.apply() up vote 2 down vote favorite 1 I am struggling with flash and firefox (latest, 35.0.1) and can't find any solution. I want to call an ActionScript function with javascript, using ExternalInterface. So I wrote this simple javascript function (App is just an object to wrap my functions): App.swfCall = function(callbackName, params) { error calling method var callback = $('#swf object, #swf embed')[0][callbackName]; if(typeof(callback) === "function") { callback.apply(null, params); // executed but throws NPObject error... } } And Firefox throws an error: Bad NPObject as private data! The only help I found about this error is not relevant with my issue, as: Everything is ready at this moment; actually the action is first initiated by a user action on the swf itself There is no cross-domain issues (everything on the same domain) Actually, if I do not use the Function javascript object (either with call() or apply()), everything works fine. So this is working: App.swfCall = function(callbackName, data) { var swf = $('#swf object, #swf embed')[0]; if(typeof(swf[callbackName]) === "function") { swf[callbackName](data); } }; Anyway there are many problems with this: I can just pass a single argument to the function ...And I have to check if the parameter is the "data" parameter is not null I cannot pass null parameters beacause of that (not the biggest issue) So all I need is to be able to pass parameters to the swf (0, one or more!) And I'd really like to understand what is h
in my app (no actionscript!). Is it possible that this error comes from some newrelic.jar class ? tdoherty 2014-07-07 15:33:00 UTC #3 Hi Daniel, It is difficult to say what might be causing this. But as an initial troubleshooting step, lets try to eliminate some of your browswer addons. Can you try use Chrome in Incognito mode, or with all addons disabled and see if this helps? Please let us know how that goes for you. Also, it would be very useful to know if your page has any adds in it, Google, Bing etc. Tom daniel_goldberg 2014-07-07 18:21:31 UTC #4 Hi Tom, thanks for reply.We don't have any addon in our page. I could not reproduce the error. I tested the page with IE, Firefox and Chrome (Mac and Windows environment) and nothing happens but in our page, in the last six hours, we had 65 NPObject error.We only have one js library (Strophe - https://github.com/strophe/strophejs) but it doesn't need any flash file. Do you have additional information about this error in our app? alexis 2014-07-08 16:40:04 UTC #5 To help us investigate this further, can you provide a URL to the page on your site where you're seeing this error occur? That way we can take a look at how the New Relic monitoring scripts are being injected and what they may be interacting with. NPObject is not only used for Flash or Actionscript (although this is a very common case where it appears); it's an interface to any foreign (non-Javascript) code. It also would be helpful if you could provide a permalink to the application your site is reporting to in New Relic. To create a permalink to any page within the New Relic user interface, scroll to the bottom and click 'Permalink ∞' all the way on the right next to 'Kiosk Mode.' This will show us the exact page and time period that you are observing. It's safe to post a permalink on the forum; only New Relic staff and users with existing access to your account will be able to use it. daniel_goldberg 2014-07-08 19:08:51 UTC #6 Hi A