Summary: JavaScript exception on adding network adapter to VM that doesn't have any.
I deliberately removed the default network adapter on two of my virtual machines so that they both had none defined. I then made some changes to my networking and went back to the virtual machines to add a network adapter to each. Attempting to add a network adapter resulted in a JavaScript exception:
Unfortunately, we hit an error that we weren't expecting.
The client may continue working, but at this point, we recommend refreshing your browser and submitting a bug report.
Cause: TypeError: Cannot set property 'open' of undefined
Version: 0.6.0
Build: 3623722
ESXi: 6.0.0
Exception stack:
TypeError: Cannot set property 'open' of undefined
at Object.fn (https://192.168.1.204/ui/scripts/main.js:326:16368)
at k.$digest (https://192.168.1.204/ui/scripts/main.js:206:15315)
at k.$apply (https://192.168.1.204/ui/scripts/main.js:206:16759)
at HTMLAnchorElement.<anonymous> (https://192.168.1.204/ui/scripts/main.js:293:24908)
at HTMLAnchorElement.n.event.dispatch (https://192.168.1.204/ui/scripts/main.js:203:14464)
at HTMLAnchorElement.r.handle (https://192.168.1.204/ui/scripts/main.js:203:11251)
Steps:
1. Select the virtual machine.
2. Select edit settings.
3. Select add network adapter.
** Error message is displayed. **
This happens in both Chrome and Firefox.
This is a great project -- keep up the good work!
Thanks!
Hi there,
Thanks for taking the time to report this to us. I will investigate and deal with this bug.
Bumping this as I too have this exact issue after removing to network adapters to fiddle with the netowkr.
I am also receiving this same error using ESXi 6.5. Should we be using 6.0 for fresh installs until 6.5 is more stable?
Unhandled exception (9)
Cause: TypeError: Cannot set property 'open' of undefined
Version: 1.8.0
Build: 4516221
ESXi: 6.5.0
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Exception stack:
TypeError: Cannot set property 'open' of undefined
at Object.fn (https://192.168.0.28/ui/scripts/main.js:399:29901)
at k.$digest (https://192.168.0.28/ui/scripts/main.js:265:15315)
at k.$apply (https://192.168.0.28/ui/scripts/main.js:265:16759)
at HTMLAnchorElement.<anonymous> (https://192.168.0.28/ui/scripts/main.js:366:31316)
at HTMLAnchorElement.dispatch (https://192.168.0.28/ui/scripts/main.js:262:14464)
at HTMLAnchorElement.r.handle (https://192.168.0.28/ui/scripts/main.js:262:11251)
Hi,
I was working on a Win7. while I was working the RDP connection was disconnected, so I open the Web interface of the Host.
All database connections are broken and the VM does not detect any network or networkdevices.
So I tried to add the missing network device from the Host ...
I get a similar message:
Ursache: TypeError: $scope.stackBlockCssClasses is undefined
Version: 1.8.0
Build: 4516221
ESXi: 6.5.0
Browser: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Ausnahmestapel:
.compile/</<@https://10.149.32.54/ui/scripts/main.js:399:29869
Me/this.$get</k.prototype.$digest@https://10.149.32.54/ui/scripts/main.js:265:15313
Me/this.$get</k.prototype.$apply@https://10.149.32.54/ui/scripts/main.js:265:16757
@https://10.149.32.54/ui/scripts/main.js:366:31314
n.event.dispatch@https://10.149.32.54/ui/scripts/main.js:262:14412
n.event.add/r.handle@https://10.149.32.54/ui/scripts/main.js:262:11234
I tried to add the networkdevice from the VSphere Client, but this doesn't work. Maybe the Client does not support the newest version 6.5.
Is this a known issue? Is there a hotfix or something else available?
THX
Bastian
I'm having the same issues too any fix yet?
У меня тоже аналогичная ситуация после редактирования физ адаптеров
Has there been any progress on this? I am experiencing this issue too. Thank god we are only in development right now. This web application is far from ideal. Wish we could use the old vSphere client!
Just wanted to add on another case of unable to add network adapters to any VM. I've run into several other 'Unhandled exception' errors on various OSes and web browsers, and it seems to always come down to some CSS and or Java issues.
I've been using ESXi off and on again for almost a decade and nothing ever beat the stand alone C# client. I really wish VMware would continue to support and update it until the web client becomes stable for all versions.
Unhandled Exception (28)
Cause: TypeError: $scope.stackBlockCssClasses is undefined
Version: 1.8.0
Build: 4516221
ESXi: 6.5.0
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0
Exception stack:
compile/</<@https://192.168.1.97/ui/scripts/main.js:399:29869
$digest@https://192.168.1.97/ui/scripts/main.js:265:15313
$apply@https://192.168.1.97/ui/scripts/main.js:265:16757
@https://192.168.1.97/ui/scripts/main.js:366:31314
dispatch@https://192.168.1.97/ui/scripts/main.js:262:14412
add/r.handle@https://192.168.1.97/ui/scripts/main.js:262:11234