In addition, when I am trying to retrieve the alarm object through
Alarm[] alarmArray = alarmMgr.getAlarm(virtualmachine);
it is giving me an error that says, +com.sun.jdi.ClassNotLoadedException: Type has not been loaded occurred while retrieving component type of array. +
I'm not sure what this is and why can't I get the Alarm object. Maybe the informations I am looking for is already there.