TrueDB Grid unable to paint during exception

Posted by: kshitizkumar on 17 June 2020, 3:06 pm EST

    • Post Options:
    • Link

    Posted 17 June 2020, 3:06 pm EST

    Hi,

    We are using winforms edition(version 4.0.20201.416) of the grid. When moving the form window when the grid is busy doing some operation. Grid gets distorted as shown in the attached document. We get the following exception in the application:

    Global exception occurred in Schedule Editor:

    System.NullReferenceException: Object reference not set to an instance of an object.

    at C1.Win.C1TrueDBGrid.BaseGrid.View.DrawEmptyCells(PaintEventArgs e)

    at C1.Win.C1TrueDBGrid.BaseGrid.View.DrawCells(PaintEventArgs e)

    at C1.Win.C1TrueDBGrid.BaseGrid.View.OnPaint(PaintEventArgs e)

    at C1.Win.C1TrueDBGrid.Split.OnPaint(PaintEventArgs e)

    at C1.Win.C1TrueDBGrid.BaseGrid.ViewList.OnPaint(PaintEventArgs e)

    at C1.Win.C1TrueDBGrid.BaseGrid.Frame.OnPaint(PaintEventArgs e)

    at C1.Win.C1TrueDBGrid.C1TrueDBGrid.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 C1.Win.C1TrueDBGrid.BaseGrid.Frame.WndProc(Message& m)

    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    202006021343.zip

  • Posted 18 June 2020, 7:08 am EST

    Hi Kshitiz,

    This is very strange and we never came across this kind of issue before.

    If you can replicate this in a small sample then please attach it here so we can look into it.

    Regards,

    Prabhat Sharma.

  • Posted 18 June 2020, 10:10 am EST

    Hi Prabhat,

    Our application in production already. This is high priority and we need a resolution asap. This is affecting users and they are informing system is unusable. Can you tell how we can get in touch with you via zoom/webex/phone ? Please help us reach a resolution for this issue.

    Regards,

    Kshitiz

  • Posted 19 June 2020, 4:40 am EST

    Hello,

    Your case has been replied on the given link:

    https://supportone.componentone.com/casedetail/441688

    Please continue the thread there only.

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels