"java.lang.NullPointerException" error when checking the active tasks on the cell.
search cancel

"java.lang.NullPointerException" error when checking the active tasks on the cell.

book

Article ID: 325675

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Symptoms:
  • Running the command
/opt/vmware/vcloud-director/bin/cell-management-tool cell -i $(service vmware-vcd pid cell) -tt

on a VCD cell fails with the error:

java.lang.NullPointerException

  • In the /opt/vmware/vcloud-director/logs/cell-management-tool.log, following entries are seen:

2023-10-12 09:28:45,767 | ERROR | main | CellManagementTool | Error executing command: NullPointerException |

java.lang.NullPointerException

        at com.vmware.vcloud.backendbase.management.system.SchedulerControllerMBean.extractTaskDetails(SchedulerControllerMBean.java:199)

 


Environment

VMware Cloud Director 10.x
VMware Cloud Director for Service Provider 10.x

Cause

This issue occurs due to a running activity with an already completed job. The corresponding task was deleted from the database but the activity was not marked as complete.

This issue will be resolved in a later release of Cloud Director.

Resolution

To resolve this issue, please open a Support Request.

Database modifications are required to delete stale activity records, which will require VMware Technical Support assistance.