This is a migrated thread and some comments may be shown as answers.

Exception

1 Answer 38 Views
This is a migrated thread and some comments may be shown as answers.
Abdou
Top achievements
Rank 1
Abdou asked on 30 Jan 2019, 09:49 AM

Hallo,

after update Skiasharp to the last version:

when i set the Itemsource to datagrid and the column/s is null or emtpy i get this exception :

System.ArgumentNullException: Value cannot be null.
Parameter name: buffer

i rolled back to Skiasharp ver. 1.60.3 and the error is gone!

i think is a error in your Library or something please check!

Gruß

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 01 Feb 2019, 09:28 AM
Hello Gruß,

Indeed, this is an issue in the Skiasharp library introduced in the latest version - MeasureText method used in our DataGrid control fails when called with empty string.  The Skiasharp team are already working on resolving it and a fix will be available with the next version 1.68.1.  You could check the issue in their github repository at the link below:
https://github.com/mono/SkiaSharp/issues/734
 
I have checked the changes and they're also applied for MeasureText method.

I hope I was of help.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Abdou
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or