Designer and White screen of death crash

8 posts, 1 answers
  1. Patrick
    Patrick avatar
    57 posts
    Member since:
    Jan 2013

    Posted 26 Jun Link to this post

    With the current builds 2017.2.614 (and potentially previous one) we are getting a consistent error in the designer:

    Error: Unhandled Error in Silverlight Application Cannot find a Resource with the Name/Key thumbResizeMargin [Line: 26 Position: 49]

    In production it occasionally takes down our entire product with the white screen of death when rendering the control.

    There is an entry in the feedback forums but it doesn't suggest a timely fix. Link

     

    Is there a quick fix or property we can set to avoid this issue? We really cannot wait until the next service pack to address this. Please advise.

     

    Thank you,

    Patrick

  2. Patrick
    Patrick avatar
    57 posts
    Member since:
    Jan 2013

    Posted 26 Jun in reply to Patrick Link to this post

    Just tested previous DLLs

    Issue occurs in:

    2017.2.614

    2017.2.503

     

    Does not in:

    2017.1.222

     

    Stated as fixed on Internal Release 2017.2.619, but we can't goto production with this DLL. Is there anything else we can do?

  3. Patrick
    Patrick avatar
    57 posts
    Member since:
    Jan 2013

    Posted 27 Jun Link to this post

    Support ticket created
  4. Tanya
    Admin
    Tanya avatar
    584 posts

    Posted 28 Jun Link to this post

    Hi Patrick,

    Thank you for opening the ticket.

    I already answered in the support thread but will post a reply here as well in case anyone else encounters this question.

    Indeed, the design time error with message "Cannot find a Resource with the Name/Key thumbResizeMargin" is already fixed and the fix is included in our Latest Internal Build. Unfortunately, we didn't manage to find a workaround for the error for the current official version.

    Regards,
    Tanya
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Patrick
    Patrick avatar
    57 posts
    Member since:
    Jan 2013

    Posted 28 Jun in reply to Tanya Link to this post

    Thank you Tanya. I cannot reproduce the issue during runtime with 2017.2.619+. I, more than once, observed this as a script debugging error in IE, which took down our entire app. It was difficult to reproduce but the error was "Cannot find a Resource with the Name/Key thumbResizeMargin", so that designer issue somehow made it to runtime.

    Is it possible to get a release build of 2017.2.619 so we may repackage and push a fix?

    -Patrick

  6. Tanya
    Admin
    Tanya avatar
    584 posts

    Posted 29 Jun Link to this post

    Hello Patrick,

    I am happy to hear that the runtime error is not reproducible after the fix. 

    We are currently working on the tasks for the next official version of the controls and pushing a release build at this point is not possible. I sent you a detailed reply in the support ticket and would suggest you to continue our conversation there so we can keep it consistent. Thank you for understanding.

    Regards,
    Tanya
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  7. Patrick
    Patrick avatar
    57 posts
    Member since:
    Jan 2013

    Posted 06 Jul in reply to Tanya Link to this post

    FYI to all:

    After testing the runtime issue is still there.

    Repro steps:

    1. RichTextBox is added to the UI
    2. Run line Application.Current.Resources.MergedDictionaries.Clear()
    3. RichTextBox is added to the UI *Crash*

    This does not occur in 2017.1.222, but it does in 2017.2.503 through 2017.2.703

     

    From telerik:

    As a workaround until the fix is available, you can merge the required resources before initializing RadRichTextBox after Application.Current.Resources.MergedDictionaries are cleared:

    App.Current.Resources.MergedDictionaries.Add(new ResourceDictionary()
    {
        Source = new Uri("/Telerik.Windows.Documents;component/Themes/Styles/ImageAdornerUIResourcesDictionary.xaml", UriKind.RelativeOrAbsolute)
    });

     

     

  8. Answer
    Tanya
    Admin
    Tanya avatar
    584 posts

    Posted 07 Jul Link to this post

    Hello,

    I would like to add that, with the help of Patrick, we managed to reproduce the issues and logged them in our portal. For anyone that might be interested, here are the public items:


    Regards,
    Tanya
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top