catching the case when the object is of the wrong type so there is no longer a class cast exception when viewing the diagram
components for jcloud needed now a call to their activate method to work