Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Many "No tab with id: ###" error messages in background console in Chrome

Hi,

As my extension is running all the time in the background, it generates a couple of hundred following errors in the background console in Chrome during the course of a day:

Unchecked runtime.lastError while running tabs.get: No tab with id: 268.
at chrome-extension://ppcdhlicbeamihibghpgknfmonbhmnii/js/api/monitor.js:1:1249


The tab id changes after several repetitions, so perhaps it is trying to somehow interact with the current tab. The name of source file and line number doesn't change.

There don't seem to be any other issues, and this happens even without me doing anything with the extension (the bg scope is checking for several kinds of webRequests and sends out messages to all tabs if certain conditions are met — and they shouldn't be met in most cases during my day, so I think that it is the "listening" to these and other messages is generating these errors.

My extension id is 57891 (I am looking at the prod version), if you need to check the bg code. It has several listeners.
1 person has
this question
+1
Reply