Error : "you must set IsFrozen to false"

6 posts, 0 answers
  1. Michele
    Michele avatar
    30 posts
    Member since:
    Mar 2008

    Posted 19 May 2011 Link to this post

    Hi,
    I have (randomly) this kind of problem in my application:

    when I load the Window containing the telerik Chart control ("WindowChart") the app crashes with this kind of error:
    "Specified value of type 'System.Windows.Media.SolidColorBrush' must have IsFrozen set to false to modify."

    It doesn't happen when "WindowChart" is the First window loaded.
    If I load other windows before (all containing other telerik controls - not chart) - only in some cases, but always loading "WindowChart" - the App crashes

    can you help me?

    Michele Semprini
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 24 May 2011 Link to this post

    Hello Michele,

    I am afraid we have not received such reports so far. Can you please provide more details about your setup -- if possible a small runnable project, which reproduces the issue. This way we will be able to debug it and get back to you with our findings. Thank you.

    Best regards,
    Ves
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Michele
    Michele avatar
    30 posts
    Member since:
    Mar 2008

    Posted 24 May 2011 Link to this post

    Hi,
    I'm sorry but i can't provide an examle because in happens randomly

    but if you search on your Forums you can find another guy with the same problem
    Are you sure you cannot figure out what kind of problem could be?

    As you can imagine it.s a serious problem for our application

    thanks, michele
  5. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 27 May 2011 Link to this post

    Hi Michele,

    It is still strange to me how I missed that other forum post. Unfortunately, the stack trace provided there could not really help  us to find the reason for this issue. I understand that it is hard to isolate an example for a problem which happens randomly, but I am afraid we cannot debug it when we are not able to reproduce it. You can start stripping various styling settings applied to the chart to see if removing any of them will fix the problem. You can focus on those related to SolidColorBrush objects. Do you use SeriesPalette as shown in the other forum post? Any additional detail you find might prove helpful to pinpoint the problem.

    Best regards,
    Ves
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  6. Michele
    Michele avatar
    30 posts
    Member since:
    Mar 2008

    Posted 10 Jun 2011 Link to this post

    Hi Ves,
    I've some more informations:
    The problem happens (in the InitializeComponents sub) also with the RadGridView and only in Windows that have the control (GridView or Chart) inside a tabControl but not in the first tab (I mean they are hidden when the window opens).

    Can it help you?

    thanks in advance
    michele
  7. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 15 Jun 2011 Link to this post

    Hello Michele,

    I am afraid, I had now success in reproducing the problem. I put a RadTabControl with 3 RadTabItems -- one for a TextBlock, one for a RadChart and one for a RadGridView and loaded this window on a button click (as per your description -- it should not be the first window loaded). Still, everything works a expected. You can get this sample and start to apply any custom styles and/or themes you use to see which change will trigger the problem. Once reproduced, please send it back to us for investigation.

    Best regards,
    Ves
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready