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

EAN13 Exception with ShowText

1 Answer 34 Views
Barcode
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 13 May 2019, 10:17 AM

Hi,

I recently updated Telerik controls. Since the update, EAN13Barcode component generate an exception if ShowText parameter is set true.

 

Exception

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

 

Sample

<barcode:RadBarcode
          x:Name="barcode"
          HeightRequest="75"
          WidthRequest="250"
          Value="8710755121463">
          <barcode:RadBarcode.Symbology>
               <barcode:EAN13 AutoChecksum="False" SizingMode="Stretch" ShowText="True" />
          </barcode:RadBarcode.Symbology>
</barcode:RadBarcode>

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 15 May 2019, 11:55 AM
Hi Sébastien,

Thank you for providing the snippet.

We've been reported such an issue with ArgumentNullException and it is actually a bug in the used SkiaSharp library especially in version 1.68.0. The SkiaSharp team is aware of that and it will be resolved in the next 1.68.1 version.

In the meantime, I would suggest you downgrade the SkiaSharp nuget packages to version 1.59.3 where this issue is not reproducible.

Let me know if I can help with anything else.

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
Tags
Barcode
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or