This is a migrated thread and some comments may be shown as answers.

KeyTipService - Object null reference

5 Answers 44 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Mrdec
Top achievements
Rank 1
Mrdec asked on 14 Jun 2012, 12:27 PM
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

5 Answers, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 19 Jun 2012, 06:34 AM
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 >>

0
Mrdec
Top achievements
Rank 1
answered on 19 Jun 2012, 10:07 AM
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

0
Viktor Tsvetkov
Telerik team
answered on 22 Jun 2012, 12:38 PM
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 >>

0
Abdul
Top achievements
Rank 1
answered on 08 Jul 2012, 10:21 PM
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.
0
Miro Miroslavov
Telerik team
answered on 11 Jul 2012, 08:46 AM
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 >>

Tags
RibbonView and RibbonWindow
Asked by
Mrdec
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Mrdec
Top achievements
Rank 1
Viktor Tsvetkov
Telerik team
Abdul
Top achievements
Rank 1
Share this question
or