KeyTipService - Object null reference

6 posts, 0 answers
  1. Mrdec
    Mrdec avatar
    2 posts
    Member since:
    Jun 2012

    Posted 14 Jun 2012 Link to this post

    In Telerik 2012.Q1.0326.Dev / RibbonView / KeyTipService.cs - line 499 (method HideTips) sometimes throws object null reference exception. In previous version (2011.Q3.1220.Dev) there was a check if (this.popup != null) { ... } and it worked. Now the check disappeared. Please fix it!
    Mrdec
  2. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 19 Jun 2012 Link to this post

    Hello Mrdec,

     It shouldn't be possible the popup to be null at any time, but I logged a bug and it should be resolved soon.
    Thank you for reporting it.

    Kind regards,
    Miro Miroslavov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Mrdec
    Mrdec avatar
    2 posts
    Member since:
    Jun 2012

    Posted 19 Jun 2012 Link to this post

    It shouldn't be possible but it actually happened. I found 3 places where it throws null reference exception - it's in version (2012.1.0614.40):

    line 375: this.tipsStack.Clear();  // should be: if (this.tipsStack != null) this.tipsStack.Clear();

    line 499: this.popup.IsOpen = false;  // should be: if (this.popup != null) this.popup.IsOpen = false;

    line 657: this.openedRootVisuals.Add(element);  // should be: if (openedRootVisuals != null) this.openedRootVisuals.Add(element);

    Sorry, but I really hate this framework. It is the most buggiest code I used. Not because of this bug, but because of the number of bugs you introduce in each new version or hotfix. There is no single version of this framework without problems.

    Mr. Mrdec

  5. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 22 Jun 2012 Link to this post

    Hi Mrdec,

    Please accept our apologies for the caused inconvenience. The issue should be fixed soon.

    Regards,
    Viktor Tsvetkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Abdul
    Abdul avatar
    5 posts
    Member since:
    Oct 2010

    Posted 08 Jul 2012 Link to this post

    Just been bitten by this one myself.  I am also feeling the pain of using this product.  After using this product for over a year I find I dread updates.
  7. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 11 Jul 2012 Link to this post

    Hi Abdul,

     All the possible Null Reference exceptions are fixed and will released with the upcoming internal builds and the Q2.SP1. 
    Please let us know if you have any issues regarding the Ribbon and the KeyTips.

    Kind regards,
    Miro Miroslavov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
UI for WPF is Visual Studio 2017 Ready