Donut series throws : Object reference not set to an instance of an object.

2 posts, 1 answers
  1. Hady
    Hady avatar
    9 posts
    Member since:
    Oct 2018

    Posted 12 Nov 2018 Link to this post

    I am trying to build a sample of donut series but it throws Null reference exception on Android.

    I am using:

    - Xamarin forms version 3.2

    - Android 8.1


  2. Answer
    Lance | Manager Technical Support
    Lance | Manager Technical Support avatar
    1195 posts

    Posted 12 Nov 2018 Link to this post

    Hello Hady,

    Unfortunately, this is not enough information to be able to tell what the problem is. The example in the documentation works as expected on XF 3.2 (targeting Android 8.1).

    Find the runnable demo attached and here's a screenshot at runtime:

    Further Investigation

    Double check that every project is using the Chart's Required Telerik Assemblies. If you are using NuGet, make sure that the solution doesn't have duplicate NuGet packages installed (for example, if Telerik.UI.for.Xamarin package is installed, it should be the only Telerik package installed).
    If you've confirmed that the references are good, can you please provide the code you're using so that we can replicate the exception. Please include:

    - The view code  XAML (and code-behind)
    - If you're using MVVM, please include the view model class
    - The data model class being used for the 

    I look forward to your reply.

    Lance | Tech Support Engineer, Sr.
    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
Back to Top