Menu

#81 Start GPS / Stop GPS: UI glitch and abends

open
nobody
None
5
2011-04-09
2011-04-09
SierraBravo
No

The "Start GPS" button is always displayed in a disabled state, even if GPS is stopped.

With driver "none" pressing "Stop GPS", "Start GPS", "Stop GPS" leads to an abend of CB - the PDA needs a soft reset afterwards.

After some starting/stopping with the windows driver, an exception occurs and again, a soft reset is needed:

20:10 System.NullReferenceException: NullReferenceException
bei Cachebox.Views.GpsSettings.tabButton2_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
bei System.Windows.Forms.ContainerControl.WnProc(WM wm, Int32 wParam, Int32 lParam)
bei System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
bei OpenNETCF.Windows.Forms.ApplicationEx.DispatchMessage(MSG& lpMsg)
bei OpenNETCF.Windows.Forms.ApplicationEx.Pump()
bei OpenNETCF.Windows.Forms.ApplicationEx.RunMessageLoop()
bei OpenNETCF.Windows.Forms.ApplicationEx.Run(Form mainForm)
bei Cachebox.Program.Main()

Discussion