Skip to content
Bug Barometer

Internal Salesforce Error thrown in tests running API>=24.0 when invoking .getInstance() in trigger invoked after lead conversion

Salesforce closed this issue.

Summary

The custom setting method getInstance(String) throws a fatal error in test classes running API version 24.0 or above when invoked in a trigger that is executed right after Database.convertLead(leadConvert) that in turn is called in the context of an Event trigger.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Closed with 5 reports

    Nov 30, 2026

Also open in Uncategorized