"error: class java.lang.NullPointerException" when trying to replace a cell certificate in VMware Cloud Director.
search cancel

"error: class java.lang.NullPointerException" when trying to replace a cell certificate in VMware Cloud Director.

book

Article ID: 393039

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When we try to replace a cell certificate in VMware Cloud Director, we get a "error: class java.lang.NullPointerException"  error.
  • In the /opt/vmware/vcloud-director/logs/vcloud-container-debug.log, the following entries are seen:

activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
java.lang.NullPointerException
        at com.vmware.vcloud.common.model.view.OrgMemberAccountView.getProviderType(OrgMemberAccountView.java:229)
        at com.vmware.ssdc.backendbase.dao.impl.UserDaoImpl.toUserSpec(UserDaoImpl.java:1009)
        at com.vmware.ssdc.backendbase.dao.impl.UserDaoImpl.findUserByUserName(UserDaoImpl.java:149)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess

Environment

VMware Cloud Director 10.6.1

Cause

A built in system id is required to complete this task.
That id has either been removed or modified, preventing the task to complete.

Resolution

In order to resolve the issue a database modification is needed. Please Contact Broadcom Support