You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the error message: A Javascript error occurred in the main process. Uncaught Exception: TypeError: Object has been destroyed at App. (C:\Users\brand\AppData\Local\Youtube Music For Desktop\resources\app.asar\out\main\index.js:3163:19) at App.emit (node:events:519:28)
Error occurred when I had opened the mini-player, then terminated the main application. Music continued to play, however I wanted to add the song to a playlist and could not do so in the mini-player. After reopening the main app, the error message above opened and the main application did not open. The music playing in the music player began to pause and cut out, then after terminating the mini-player and the Java error message, I was able to open the main application with no issues.
Below is an image of the final error message I received after closing both the mini-player and main app, it is quite lengthy and I typed it out below as well into relevant log output.
Error
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Object has been destroyed
at BrowserWindow. (C:\Users\brand\AppData\Local\Programs\YouTube Music for Desktop\resources\app.asar\out\main\index.js:10295:33)
at BrowserWindow.emit (node:events:531:35)
at AppProvider._onSubWindowClose (C:\Users\brand\AppData\Local\Programs\YouTube Music for Desktop\resources\app.asar\out\main\index.js:3246:19)
at IpcMainImpl.func (C:\Users\brand\AppData\Local\Programs\YouTube Music for
Desktop\resources\app.asar\out\main\index.js:1327:96)
at IpcMainImpl.emit (node:events:519:28)
at WebContents. (node:electron/js2c/browser_init:2:86186)
at WebContents.emit (node:events:519:28)
at Object.showErrorBox (node:electron/js2c/browser_init:2:20971)
at node:electron/js2c/browser_init:2:126393
Steps to reproduce
Open main application.
Open mini player.
Close main application whilst still keeping mini-player active.
Attempt to reopen main application with mini-player active.
Relevant log output
A Javascript error occurred in the main process. Uncaught Exception: TypeError: Object has been destroyed at App. <anonymous> (C:\Users\brand\AppData\Local\Youtube Music For Desktop\resources\app.asar\out\main\index.js:3163:19) at App.emit (node:events:519:28)
Error
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Object has been destroyed
at BrowserWindow.<anonymous> (C:\Users\brand\AppData\Local\Programs\YouTube Music for Desktop\resources\app.asar\out\main\index.js:10295:33)
at BrowserWindow.emit (node:events:531:35)
at AppProvider._onSubWindowClose (C:\Users\brand\AppData\Local\Programs\YouTube Music for Desktop\resources\app.asar\out\main\index.js:3246:19)
at IpcMainImpl.func (C:\Users\brand\AppData\Local\Programs\YouTube Music for
Desktop\resources\app.asar\out\main\index.js:1327:96)
at IpcMainImpl.emit (node:events:519:28)
at WebContents.<anonymous> (node:electron/js2c/browser_init:2:86186)
at WebContents.emit (node:events:519:28)
at Object.showErrorBox (node:electron/js2c/browser_init:2:20971)
at node:electron/js2c/browser_init:2:126393
The text was updated successfully, but these errors were encountered:
On a side note, sometimes the issue does not always occur after trying to reproduce the error with those exact steps. It happens about 50% of the time, but thought I should bring it to light at least.
Also, you must be playing music to open the mini-player in order to reproduce this.
Hopefully the last edit I'll make to this comment, but I felt it's worth mentioning I am enrolled with Windows Insider for Beta Channel releases of Windows 11. Here's a copy of my specs if that helps.
Edition Windows 11 Home
Version 23H2
Installed on 11/5/2024
OS build 22635.4510
Experience Windows Feature Experience Pack 1000.22700.1060.0
Operating system
Microsoft Windows [Version 10.0.22635.4510]
YouTube Music Desktop App Version
v0.14.5-rc3
Bug description
Per the error message: A Javascript error occurred in the main process. Uncaught Exception: TypeError: Object has been destroyed at App. (C:\Users\brand\AppData\Local\Youtube Music For Desktop\resources\app.asar\out\main\index.js:3163:19) at App.emit (node:events:519:28)
Error occurred when I had opened the mini-player, then terminated the main application. Music continued to play, however I wanted to add the song to a playlist and could not do so in the mini-player. After reopening the main app, the error message above opened and the main application did not open. The music playing in the music player began to pause and cut out, then after terminating the mini-player and the Java error message, I was able to open the main application with no issues.
Below is an image of the final error message I received after closing both the mini-player and main app, it is quite lengthy and I typed it out below as well into relevant log output.
Error
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Object has been destroyed
at BrowserWindow. (C:\Users\brand\AppData\Local\Programs\YouTube Music for Desktop\resources\app.asar\out\main\index.js:10295:33)
at BrowserWindow.emit (node:events:531:35)
at AppProvider._onSubWindowClose (C:\Users\brand\AppData\Local\Programs\YouTube Music for Desktop\resources\app.asar\out\main\index.js:3246:19)
at IpcMainImpl.func (C:\Users\brand\AppData\Local\Programs\YouTube Music for
Desktop\resources\app.asar\out\main\index.js:1327:96)
at IpcMainImpl.emit (node:events:519:28)
at WebContents. (node:electron/js2c/browser_init:2:86186)
at WebContents.emit (node:events:519:28)
at Object.showErrorBox (node:electron/js2c/browser_init:2:20971)
at node:electron/js2c/browser_init:2:126393
Steps to reproduce
Relevant log output
The text was updated successfully, but these errors were encountered: