CRM-15555 declare processor_type before calling singleton