google chrome bug? - javascript

this message appears all the time in chrome developer tool's console:
Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:232
chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:232
Error in event handler for 'undefined': Cannot read property 'instanceId' of undefined TypeError: Cannot read property 'instanceId' of undefined
at [object Object].<anonymous> (chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:2:372)
at chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:1:182
at miscellaneous_bindings:276:11
at [object Object].dispatch (event_bindings:203:41)
at Object.<anonymous> (miscellaneous_bindings:235:27) event_bindings:207
chrome.Event.dispatch event_bindings:207
chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:235
is this a bug in chrome or there is something wrong in my chrome installation?

It seems to be a problem with the Google Dictionary (by Google)
This script doesn't seem to exist or is not accessible by that port.

Based on some googling, this is a problem with a chrome extension, but it may not be clear which. (For me, it was Feedly).
The quickest way to find out which is causing the problem:
Disable all your chrome extensions. (Chrome menu > tools > extensions)
Refresh a page - hopefully the port error should be gone now
Re-enable your extensions one by one, refreshing the page after each, 'til the error pops up again in the console. You should now have your culprit.
I know this could be a pain if there are a lot of extensions :/ personally, I took it as a chance to prune the unused / unworthy extensions while I was going through them.

Related

Javascript - "Cannot read property 'closingEls' of undefined" and "Script error."

I get the following errors in the JavaScript console with no file source hint:
Uncaught TypeError: Cannot read property 'closingEls' of undefined
and
Script error
These errors prevent my page from running scripts and I don't understand what kind of errors they are.
I tried searching what 'closingEls' is, but no luck. I don't know what type of tags I need to put in this question due to the vague nature of these errors.
Edit 1: Please, before you say show us the code, read the question! my scripts do not run in the first place. And this errors does not come out of the site's scripts, it comes from the user's agent trying to load the page.
Edit 2: Please, advice a way to deal with the users having this errors and can not load the page successfully. I would consider this very helpful, constructive and question-related.
The "Script error." happens in Firefox, Safari, and Chrome when an exception violates the browser's same-origin policy - i.e. when the error occurs in a script that's hosted on a domain other than the domain of the current page.
Can read more over here:
http://blog.errorception.com/2012/04/script-error-on-line-0.html
https://blog.sentry.io/2016/05/17/what-is-script-error.html
Regarding "Uncaught TypeError: Cannot read property 'closingEls' of undefined" Even I'm getting them in my Sentry log, and I don't know how to fix them. I think these errors are from Browser Extensions trying to add their own script. In case of the "Script Error" the extension (or browser) has not allowed you to access the debugging information, while the other extension (or browser) has allowed you to see it.
Most Client JS error tracking ignore "Script Error.". Read here
https://docs.sentry.io/clients/javascript/tips/
http://blog.errorception.com/2012/03/tale-of-unfindable-js-error.html
Let's hope that this question finds popularity and we find the developer of the extension.

Uncaught Error: Expected to find a document already present for removed

When I try to log into app, the error I get in client console (chrome dev tools) is this:
Uncaught Error: Expected to find a document already present for removed mongo.js?69942a86515ec397dfd8cbb0a151a0eefdd9560d:253
and the login is halted: the loading gif from the accounts-google package shows and the loading never ends.
I however get no errors in server console. Unfortunately, the error gives me little understanding as to where to even start debugging my app from.
I have gone through the portion where the error is thrown in the mongo.js file, but I don't get what's going on there from it either.
Since I do not have any idea where I am going wrong, this is the link to the project repository.
Maybe you was use fast-render package and doing 2 subscriptions for the same publication as explined here
Hope this help someone.

Undefined media issue

I maintaine the web site of a friend of mine, and the console logs the following error:
GET https://www.my-client-site.ext/undefined 404 (Not Found) undefined:1
The problem is that I can't find the location of this call in the page.
I have try to search the page source code, and I cannot find any referense to this URL.
Also I have try to check JS files with break points, and still I cannot find this issue.
Is there any other way to make reseach for this particular issue ?
Go to firefox and install addon called Firebug.
https://addons.mozilla.org/en-US/firefox/addon/firebug/
Now Open firebug and go to console tab,
Firebug will show your javascript which is calling ajax in right corner of the pane.
Hope this helps.

Javascript error - extensions::SafeBuiltins:82

Uncaught TypeError: Illegal invocation
Everything works good but I noticed there is an error in console.
Does anyone know what is this?
If you have the same problem with me, try to disable extensions. For example, when I disable "Open SEO Stats", the error message is disappeared.
I am the author of Open SEO Stats. The Page Speed module of Open SEO Stats extension is not working on Google Chrome 44 and causing error message "Uncaught TypeError: Illegal invocation - extensions::SafeBuiltins:82" in console window.
This bug is caused by Google Chrome 44 issue. I have fixed it. You can update the extension to latest version 9.1.0.0.
If you have any questions about Open SEO Stats, you can also send email to pr [at] chromefans.org.
Open SEO Stats in Chrome Web Store: https://chrome.google.com/webstore/detail/open-seo-statsformerly-pa/hbdkkfheckcdppiaiabobmennhijkknn
How to update: http://www.chromefans.org/chrome-tutorial/how-to-manually-update-chrome-extensions.htm

Object #<Text> has no method 'getBoundingClientRect' on XAJAX

recently, I'm getting very strange error using the libraries XAJAX. Everything seems to work correctly, but Chrome console gives me an error every time I run any element.
The page where I is happening is this:
http://es.woow360.com/
For example clicking on any tab business that appears in the search box it does is load a new panoramic generates this error:
Uncaught TypeError: Object #<Text> has no method 'getBoundingClientRect'
WombatUtils.getElementRect
M
U
Y
CrossbrowserMutationObserver.n
d.callbackWrapper
xajax.dom.assign xajax_core.js:210
(anonymous function) xajax_core.js:318
xajax.command.handler.call xajax_core.js:315
xajax.executeCommand xajax_core.js:404
xajax.tools.queue.process xajax_core.js:150
xajax.responseProcessor.xml xajax_core.js:165
xajax.responseReceived xajax_core.js:399
oRequest.request.onreadystatechange xajax_core.js:356
Here you have the link to the file where error occurs:
http://es.woow360.com/xajax/xajax_js/xajax_core.js
It's very strange. Until recently it worked fine.
But now fails.
It fails only on this page, also I have other pages that use the same library, and gives the same error.
Even in other domains, where I have loaded the library XAJAX gives the same error.
Not to be that.
The strange thing is that except for the error message, everything works fine.
Any idea?
Thank you!
I've got the same errors/warnings. Add-less chrome extension was the issue. Try to review extensions of your chrome.

Categories