Home Forums Bunifu UI Winforms NullReference Exceptions During Initialization

Viewing 0 reply threads
  • Author
    Posts
    • Marin
      Participant
      Post count: 2

      I’m having an issue with a few Bunifu Objects during form initialization. The issue is occurring in version 1.11.5.21 AND 1.9.0.1. Although these errors do not display during runtime, I believe these issues are leading to application instability.

      private void InitializeComponent()
      {
      ….
      this.bunifuLabel14 = new Bunifu.UI.WinForms.BunifuLabel(); <–BUG #1
      this.dgvBunifuCustomDataGrid.DoubleBuffered = true; <–BUG #2
      ….
      }

      BUG #1
      System.NullReferenceException
      HResult=0x80004003
      Message=Object reference not set to an instance of an object.
      Source=Bunifu.UI.WinForms.BunifuLabel
      StackTrace:
      at Bunifu.UI.WinForms.BunifuLabel.set_BaseStylesheet(String value)

      BUG #2
      Bunifu.Framework.UI.BunifuCustomDataGrid
      System.NullReferenceException
      HResult=0x80004003
      Message=Object reference not set to an instance of an object.
      Source=<Cannot evaluate the exception source>
      StackTrace:
      <Cannot evaluate the exception stack trace>

Viewing 0 reply threads
  • You must be logged in to reply to this topic.