EnhancedLightningGrid icon indicating copy to clipboard operation
EnhancedLightningGrid copied to clipboard

Uncaught Error during LWC component connect phase: [Cannot convert undefined or null to object]

Open AngelMtz97 opened this issue 1 year ago • 3 comments

Summary

Calling an API and loading the data on the table cause an error, the response of the API is correct and was validated. The error was reported after winter 23 release update.

After testing our code, we found that using this method causes the error, trying to convert to Double.

private List<grishield.SDGField> GetFields() { List<grishield.SDGField> fields = new List<grishield.SDGField>(); fields.add( new grishield.SDGField('1', 'AMOUNT USED', 'FieldName__c', 'DOUBLE', '', false, false, null, 5)); }

Actual result Error Componente

AngelMtz97 avatar Sep 15 '22 22:09 AngelMtz97