Skip to main content

KI-16

Key/SummaryKI-16 Blank object-specific SLA configuration values result in null pointer exceptionsStatusDone
Created09/17/2019Updated12/19/2019
DescriptionThe object-specific SLA configuration within the Local Setting custom metadata type throws exceptions when Users attempt to create new records. The specific error message presented contains the following portion: Insert failed. execution of BeforeInsert caused by: System.NullPointerException This issue exists for the following fields: Request SLA (MED_Request_SLA_c, Adverse Event SLA (MED_Adverse_Event_SLAc), & Product Quality Complaint SLA (MED_Product_Quality_Complaint_c). When any of these fields is blank, the corresponding object is unable to be created. For example, if Request SLA is blank Users will be unable to create Requests.
Impacted CapabilitiesAffected AppsMedical Information Cloud - Classic Medical Information Cloud - Lightning
Affects VersionsV7Fix VersionV8
Steps to Reproduce1. Access the configured local settings by navigating to Setup > Custom Metadata Types > Local Setting > Manage Local Settings. 2. Locate the entry applicable to the impacted User. 3. Update the Local Setting with a blank value for Request SLA, Adverse Event SLA, and/or Product Quality Complaint SLA. 4. Attempt to create the corresponding record as a User covered by the Local Setting. 5. Observe the error presented to the User.
WorkaroundPopulate all object-specific SLA fields with a numeric value (e.g. 8.00).