Exception in VS2013 designer with Rad Chart control

12 posts, 1 answers
  1. Stephan
    Stephan avatar
    29 posts
    Member since:
    May 2013

    Posted 16 Nov 2013 Link to this post

    Hi Telerik-Team,

    quite often, when I click onto the XAML code for the RadCartesianChart the designer shows the following exception:

    KeyNotFoundException: The given key was not present in the dictionary.
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    InnerException: None

    I then need to close that page and reopen it to keep on working. Here is the code for my Chart:
    <telerikChart:RadCartesianChart Grid.Row="1" x:Name="ProgressChart">
        <telerikChart:RadCartesianChart.VerticalAxis>
            <telerikChart:LinearAxis Maximum="100"/>
        </telerikChart:RadCartesianChart.VerticalAxis>
        <telerikChart:RadCartesianChart.HorizontalAxis>
            <telerikChart:CategoricalAxis/>
        </telerikChart:RadCartesianChart.HorizontalAxis>
        <telerikChart:AreaSeries Stroke="ForestGreen" StrokeThickness="1" Fill="LimeGreen">
            <telerikChart:AreaSeries.DataPoints>
                <charting:CategoricalDataPoint Value="40"/>
                <charting:CategoricalDataPoint Value="20"/>
                <charting:CategoricalDataPoint Value="40"/>
            </telerikChart:AreaSeries.DataPoints>
        </telerikChart:AreaSeries>
    </telerikChart:RadCartesianChart>

    I'm using this small piece of code in a rather new project. Lately I went from VS2012 to VS2013 with my much bigger project and I keep getting a lot of (different) exceptions in the designer. So practically all of the time I have to use Blend now to work on the XAML UI. Is there any way to collect some logs from the Telerik Controls in Visual Studio to check whether all of these issues are related to the controls? I've already been collecting VS logs and R# logs but without any errors in there.

    Regards,
    Stephan
  2. Answer
    Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 20 Nov 2013 Link to this post

    Hello Stephan,

    Thanks for writing and for reporting this issue.

    I would like to inform you that we are aware of this issue and we have already found the reason for it on our side. We will be issuing an Internal Build containing the fix by the end of this week. The fix will also make it into the official Q3 2013 SP1 release due to by the end of this month.

    Let us know if you have additional questions.

    Regards,
    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Stephan
    Stephan avatar
    29 posts
    Member since:
    May 2013

    Posted 20 Nov 2013 Link to this post

    Hi Deyan,

    thanks for your update. I'm really looking forward to this fix.

    Is the root cause for this issue also related to other designer error messages? For example,

    ObjectDisposedException: Cannot access a disposed object.
    Object name: 'NativeObject'.
     
    at System.Windows.DependencyObject.MS.Internal.IManagedPeerBase.get_NativeObject()
    at MS.Internal.XcpImports.DependencyObject_SetParentForInheritanceContextOnly(DependencyObject doh, DependencyObject parentDO)
    at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
    at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
    at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)

    and more...

    Regards,
    Stephan
  5. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 20 Nov 2013 Link to this post

    Hi Stephan,

    Thanks for writing back.

    We are currently not aware of the issue with the disposed object. Is it easily reproducible on your side? Could you please describe how we can reproduce it so that we can make sure we address anything that might be wrong in our codebase?

    Thanks for your time.

    Regards,
    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  6. Stephan
    Stephan avatar
    29 posts
    Member since:
    May 2013

    Posted 21 Nov 2013 Link to this post

    Hi Deyan,

    Unfortunately, it's not easy to reproduce. It just happens in my bigger project. That's why I'd like to collect some logs from the Telerik controls when working with them in Visual Studio. This way I can check whether those other issues are related to your controls or not. In case they are I can show you some logs (I'm not talking about collecting logs in the WP8 app. I just want logs in Visual Studio).

    For now, I will wait for your fixes. Maybe this resolves the other issues, too :)

    Regards,
    Stephan
  7. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 21 Nov 2013 Link to this post

    Hi Stephan,

    Thanks for writing back.

    We will consider this thread closed for now.

    Let us know if you have additional questions.

    Regards,
    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  8. Stephan
    Stephan avatar
    29 posts
    Member since:
    May 2013

    Posted 21 Nov 2013 Link to this post

    Hi Deyan,

    so there is no way to collect some RadControls logs in order to look out for some exceptions?

    Regards,
    Stephan
  9. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 22 Nov 2013 Link to this post

    Hello Stephan,

    Thanks for writing back.

    No, we do not collect any logs as of now.

    Regards,
    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  10. Stephan
    Stephan avatar
    29 posts
    Member since:
    May 2013

    Posted 22 Nov 2013 Link to this post

    Hi Deyan,

    thanks for your reply. In the mean time I found a post at http://www.monkeyslaps.com/vs-issue-designer-failing/ that describes the same issue, also having the assumption that it has something todo with the Telerik Controls. I also started adding some controls to my newer/smaller app and now I get those messages regularly on those pages where I added some controls. I'll open a support ticket this evening and will attach my project. Hope this helps in hunting down this issue.

    Regards,
    Stephan
  11. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 26 Nov 2013 Link to this post

    Hi Stephan,

    We will suspend this thread for now as you have started a support communication thread with us regarding this topic. We will make sure to repost here any additional information that might be helpful in resolving this case.



    Regards,

    Deyan
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  12. Manish
    Manish avatar
    1 posts
    Member since:
    Aug 2014

    Posted 06 Aug 2014 in reply to Deyan Link to this post

    Hi Deyan

    I am still getting this exception. I am using your UI for Windows Phone 8 Q2 2014 controls. Can you please let me know if this is fixed?
  13. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 08 Aug 2014 Link to this post

    Hi Manish,

    Please, open a formal support ticket and send us your project, so that we can investigate the problem. Thank you.

    Best regards,
    Ves
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner