EM 12c: Editing a HVM Target in Enterprise Manager 12c Cloud Control with an Empty CDROM Attached Fails with Message: Error while performing the operation: Could not update virtual machine (Doc ID 2095748.1)

Last updated on JANUARY 16, 2016

Applies to:

Enterprise Manager for Virtualization - Version 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

Editing a HVM (guest VM target host) which has an empty CDROM attached fails with a NullPointerException error.
The .../gc_inst/em/EMGC_OMS1/sysman/log/emoms.log will show :

Operation failed
oracle.sysman.vt.ovm.integration.api.EMOVMCommunicationServiceException:
2100: Error while performing the operation: Could not update virtual machine TEST-GVM[oracle.sysman.vt.ovm.integration.api.EMOVMCommunicationServiceException:2100: Error while performing the operation: Commiting the ovm job EM_UpdateRunningGuestVM_TEST-GVM_2015-08-11_11-14-23-578 failed.[java.lang.NullPointerException:null]]
at
oracle.sysman.vt.ovm.integration.core.GuestVMManagerImpl.updateRunningGuestVM(GuestVMManagerImpl.java:1641)

 Note; Adjust the file path for the actual instance directory name, if not "gc_inst".

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms