When trying to run the GRloader command to import an xml file the following error appear:
<!--ERROR: Valid class/family must be provided for a new CI. class(CONTROLLER) family(null) is invalid.-->
<!--ERROR: Valid class/family must be provided for a new CI. class(Controller) family(null) is invalid.-->
SDM 12.7/9 and SDM 14.1.X
Class is not present in the application and when the import is trying to find this value and doesn't exist then message error appear.
1- Login in SDM with an administrator account.
2- To to Administration tab
3- Expand CA CMDB >> CI Class > search the missing class from the message. If doesn't exist then click on Create NEW button to create it.
4- Associate this new Class to a Family.
5- Run again the GRLoader command and verify.
When using Class or Family these parameters must exist in SDM , xml , cvs or other extension file won't create them in if they are not present and this type of error will appear.