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
Related
According to Sentry, our react application has reported this error 700 times in the last 24 hours, from 2 users:
Error: Extension context invalidated.
at Object._updateMetadata(chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:202361)
at ? (chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:202179)
at c(chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:141364)
at x._settlePromiseFromHandler(chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:114161)
at x._settlePromiseAt(chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:115434)
at x._settlePromises(chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:117279)
at a._drainQueue(chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:74218)
at a._drainQueues(chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:74279)
at drainQueues(chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js:16:72590)
It seems that the error is being thrown in the chrome-extension://haldlgldplgnggkjaafhelgiaglafanh/admin.js script, which suggests that this extension is causing the problem?
Is this safe to ignore in Sentry? If not, what are the alternative options for handling this error? If the error is caused by a chrome extension that is completely unrelated to our react application, how could we possibly do anything other than to ignore the error in Sentry?
When I press the button to display the task pane, I am seeing the following error message in the console window which I cannot remove or explain ?
"Uncaught (in promise) TypeError: Cannot read property 'name' of undefined"
at t (word-web-16.00.js:26)
at word-web-16.00.js:26
at Office.js:46
at Array.forEach ()
at d (Office.js:46)
at Office.js:46
Steps to Reproduce - Side load the TypeScript add-in into Word Online and press the Button to display the task pane.
The task pane is displayed but why is this error message appearing.
This error message might have always been there, not sure.
I have tried all the following URLs and the message is consist.
src="appsforoffice.microsoft.com/lib/beta/hosted/Office.js"
src="appsforoffice.microsoft.com/lib/1/hosted/Office.js"
src="appsforoffice.microsoft.com/lib/1.1/hosted/Office.js"
This appears in Word Online
Windows 10 64 bit and Office 64 bit
Browser - Microsoft Edge, Version 88.0.705.68 (Official build) (64-bit)
The following repository contains the project (only 5 files):
https://github.com/OfficeAddins/undefined
This issue was logged on github but no-one has replied yet:
https://github.com/OfficeDev/office-js/issues/1644
Can you try using this using lowercase o when referencing the office.js url -
src="appsforoffice.microsoft.com/lib/beta/hosted/office.js"
This could be due to a case sensitive string comparison bug, which we will fix. You should be able to workaround it by using the lowercase office.js.
I've just started to get this error:
Uncaught (in promise) Objectmessage: "The message port closed before a reponse was received."
at chrome-extension://gppongmhjkpfnbhagpmjfkannfbllamg/js/browser-polyfill.js at this line:
const makeCallback = promise => {
return (...callbackArgs) => {
if (chrome.runtime.lastError) {
promise.reject(chrome.runtime.lastError); // uncaught in promise
} else if (callbackArgs.length === 1) {
promise.resolve(callbackArgs[0]);
} else {
promise.resolve(callbackArgs);
}
};
};
Do you know what can cause it?
Thanks
Update:
As of the comment by morficus, the problem has been fixed in the version: 4.0.1
The plugin will auto-update or you could reinstall from here:
https://chrome.google.com/webstore/detail/wappalyzer/gppongmhjkpfnbhagpmjfkannfbllamg
If anyone is interested in the issue the pull request is here:
https://github.com/AliasIO/Wappalyzer/pull/1491
2019 Edit:
If that is not solving your issue. You could try disabling all the chrome extensions and check if that solve your issue.
To disable you could type the below code in chrome url:
chrome://extensions/
or could go on
Settings > Extensions
After that you could enable each extensions and check the culprit.
Older issue:
It is not the chrome's bug but the bug with the wappalyzer extension.
I am not sure you are using it but i have used it and was just updated and got the same issue.
Here is the proof of the issue:
https://github.com/AliasIO/Wappalyzer/issues/1487
We need to wait until there is any solution for the extension or use the older version of the extension until it gets resolved.
In my case was due to the extension 'Katalon recorder'. Probably the most generalistic solution is:
Disable all all extensions in chrome://extensions
Enable extensions one by one to detect which one is presenting de issue.
Using Chrome ^71.0 and this issue pops in multiple extensions. I comprised a list that caused trouble for me + all other reporters in this thread:
Katalon Recorder
PictureMate
Pinterest Save Button
Wappalyzer
Mine was due to the Google Publisher Toolbar extension. Disabled that and the error went away.
In my case it happens because of Foxit PDF Creator 8.2.0.2 for the information.
Foxit PDF Creator
this Helps me to overcome with this error
by removing the Selenium (Chrome Extension)
Promise error:
The message port closed before a response was received
because you have installed Selenium (Chrome Extension)
If you are using live-server to auto refresh the browser, then this error was coming up.
I stopped the live-server and then opened the index.html file on browser this error didn't come up.
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.
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.