Showing posts from July, 2019

Modifying the Org VDC Distributed Firewall fails with java.lang.NullPointerException: uuid

UI Error:

java.lang.NullPointerException: uuid

Error in the logs:

2018-11-01 11:33:55,446 | DEBUG | pool-jetty-81 | ExceptionHandlerAdvice | Handling unmapped exception | requestId=8aeb2135-78a0-447f-901f-aa46c02b13ad,request=PUT https://cloudcom/network/firewall/globalroot-0/config/layer3sections/ce30a14f-8703-4aeb-a444-e17e81a4b402,requestTime=1541025233061,remoteAddress=,userAgent=Mozilla/5.0 (Macintosh; Intel Mac O
S X 10_14_0) AppleWebKit/5...,accept=application/xml
java.lang.NullPointerException: uuid
        at com.vmware.vcloud.common.model.BaseObjectId.from(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at jav…

Unable to create/deploy VM in one vApp - NullPointerException


Unable to deploy a VM in only one vApp It didn't matter which template I use.The same template works fine in another vApp in the same OrgVDC 
The error NullPointerException is quite generic with vCloud director and this is mostly due to a stale/invalid entry in the vCloud director database. 
The vCloud-container-debug.log failed with the below

             at com.vmware.vcloud.common.validate.impl.VmLimitsValidatorImpl.validateVmDisks(

After checking a bit more in the logs just above the error, I found that vCD was unable to query a VM storage information. 

In my case, it was 'IncomeOnline-Rock_DeleteOn' with moref  vm-3055.  The vm did not exist in my vCenter and was part of the same vApp in vCD where I have deployment (VM creation) issue. 
Fix  :
Deleted the VM named 'IncomeOnline-Rock_DeleteOn' from vCD and this resolved the deployment issue. 

Hope this he…

VM console fails to connect - vCloud director 9.7

I deployed a new vCloud director 9.7 and the VM console fails to connect even though the certificates and URLs are updated correctly in Public Addresses.

The chrome browser console (ctrl+shift+j) fails like below : 
failed: Error during WebSocket handshake: Unexpected response code: 404

After reading the VMware documentation which says "For an installation with a single IP address, you can customize the console proxy address from the vCloud Director Web Console. For example, for the vCloud Director appliance, you must customize the console proxy address to"
From vCloud director 9.7, the second network (eth1) is dedicated to vpostgres database and console proxy uses (eth0) with a custom port 8443

Update the console proxy address with custom port 8443 under vCD portal --> Administrator --> Public addresses


Thanks for reading. Hope it helps :)