Check for null before getting list of components when seeing if ID is already in use
Authored by: jimwinston 2008-11-18
Parent: [r270]
Child: [r272]