Bug Report T462973
Visible to All Users

RibbonControl - NullReferenceException is thrown in the RibbonItemViewInfoCalculator.CalcEditItemViewInfo method

created 8 years ago (modified 8 years ago)

After upgrading my projects from 16.1.6 to 16.2.3, the FullTextSearch does not work anymore when using the RibbonBar.

It also doesn't work on new projects created with 16.2.3.

I've attached a screencast and a sample project where I did not modify anything except adding 1 BO.

UPDATED by Dennis (DevExpress Support):

Code
Object reference not set to an instance of an object. at DevExpress.XtraBars.Ribbon.ViewInfo.RibbonItemViewInfoCalculator.CalcEditItemViewInfo(Graphics graphics, RibbonItemViewInfo item) at DevExpress.XtraBars.Ribbon.ViewInfo.RibbonItemViewInfo.CheckViewInfo(Graphics graphics) at DevExpress.XtraBars.Ribbon.Drawing.RibbonItemPainter.DrawObject(ObjectInfoArgs e) at DevExpress.Utils.Drawing.ObjectPainter.DrawObject(GraphicsCache cache, ObjectPainter painter, ObjectInfoArgs e) at DevExpress.Utils.Drawing.Animation.XtraAnimator.DrawAnimationHelper(GraphicsCache cache, ISupportXtraAnimation obj, Object animationId, ObjectPainter painter, ObjectInfoArgs info, ObjectPainter textPainter, ObjectInfoArgs textInfo) at DevExpress.XtraBars.Ribbon.ViewInfo.RibbonItemViewInfoCalculator.DrawItem(GraphicsCache cache, RibbonItemViewInfo itemInfo) at DevExpress.XtraBars.Ribbon.Drawing.RibbonPanelGroupPainter.DrawItems(ObjectInfoArgs e) at DevExpress.XtraBars.Ribbon.Drawing.RibbonPanelPainter.DrawGroup(RibbonViewInfo viewInfo, GraphicsCache cache, RibbonPageGroupViewInfo groupInfo) at DevExpress.XtraBars.Ribbon.Drawing.RibbonPanelPainter.DrawObject(ObjectInfoArgs e) at DevExpress.Utils.Drawing.ObjectPainter.DrawObject(GraphicsCache cache, ObjectPainter painter, ObjectInfoArgs e) at DevExpress.XtraBars.Ribbon.Drawing.RibbonPainter.Draw(GraphicsCache cache, RibbonViewInfo viewInfo) at DevExpress.XtraBars.Ribbon.RibbonControl.RibbonPaint(PaintEventArgs e) at DevExpress.XtraBars.Ribbon.RibbonControl.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m) at DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Show previous comments (6)

    i completely agree with Jerome. We cant wait a week on this fix. Our customers are getting

    irritated.

      Also our customers are altered and look forward to the hotfix…
      Thank you for working hard  to give us the hotfix as soon as possible

      DevExpress Support Team 8 years ago

        We always do our best to publish hotfixes as soon as possible. My phrase "during a week" did not mean that you have to wait for a whole week to obtain a hotfix. It means that we publish a hotfix within a week. That is, it can be published today, tomorrow, or on any another day but usually within the same week. The time that is necessary to publish such a hotfix depends on the stability of our intermediate builds at the moment.

        As for the current situation, we understand the urgency of this matter and are planning to publish this hotfix today. Please bear with us.

        Answers approved by DevExpress Support

        created 8 years ago (modified 8 years ago)

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Show previous comments (1)
          DevExpress Support Team 8 years ago

            Thank you for informing us that the issue has been resolved. Please do not hesitate to contact us in case of any difficulty. We will be happy to help you!

            E E
            Esben Maack Brandt 8 years ago

              Had the same problem, the hotfix solved it.

                This worked for me as well. Thanks.

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.