System.NullReferenceException

Apr 4, 2010 at 11:33 PM

Hi, I made an application based on FluidControls and PasswordSafe example, but I did something wrong and in case if I click on the keyboard icon (inputpanel) - NullReferenceException occurs.

  Message="NullReferenceException"

  StackTrace:

    bei Fluid.Controls.FluidListBox.get_Host()

    bei Fluid.Controls.FluidListBox.InputPanel_EnabledChanged(Object sender, EventArgs e)

    bei Microsoft.WindowsCE.Forms.InputPanel._SIPWnProc(IntPtr hwnThis, WM wm, Int32 wParam, Int32 lParam)

    bei Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)

    bei System.Windows.Forms.Application.Run(Form fm)

    bei StudiO.Program.Main()

 

 

I'm trying to develop my application since 6 month and I'm almost at the end of developing stage. But I really don't understand, why this exception could occur. I hope, somebody could help me...

 

  Message="NullReferenceException"
  StackTrace:
    bei Fluid.Controls.FluidListBox.get_Host()
    bei Fluid.Controls.FluidListBox.InputPanel_EnabledChanged(Object sender, EventArgs e)
    bei Microsoft.WindowsCE.Forms.InputPanel._SIPWnProc(IntPtr hwnThis, WM wm, Int32 wParam, Int32 lParam)
    bei Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
    bei System.Windows.Forms.Application.Run(Form fm)
    bei StudiO.Program.Main()

 

May 29, 2010 at 5:54 AM
Does your main form have a FluidHost object that contains all the fluid controls? Looks like its trying to find that but its not there...?