adamalshehabi / iphonebrowser

Automatically exported from code.google.com/p/iphonebrowser
0 stars 0 forks source link

Favorites menu will raise a error #191

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
0. Open iPhoneBrowser
1. Create a "Favorites" item for some folder
2. Quit and re-launch the app
3. Open the Favorites menu, an error shows :

"System.NullReferenceException: La référence d'objet n'est pas définie à
une instance d'un objet.
   à iPhoneBrowser.frmMain.getSelectedFolder()
   à iPhoneBrowser.frmMain.mnuFavorites_DropDownOpening(Object sender,
EventArgs e)
   à System.Windows.Forms.ToolStripDropDownItem.OnDropDownShow(EventArgs e)
   à System.Windows.Forms.ToolStripDropDownItem.ShowDropDownInternal()
   à System.Windows.Forms.ToolStripDropDownItem.ShowDropDown(Boolean mousePush)
   à System.Windows.Forms.ToolStripDropDownButton.OnMouseDown(MouseEventArgs e)
   à System.Windows.Forms.ToolStripItem.HandleMouseDown(MouseEventArgs e)
   à System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
ToolStripItemEventType met)
   à System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
ToolStripItemEventType met)
   à System.Windows.Forms.ToolStrip.OnMouseDown(MouseEventArgs mea)
   à System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons
button, Int32 clicks)
   à System.Windows.Forms.Control.WndProc(Message& m)
   à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   à System.Windows.Forms.ToolStrip.WndProc(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)"

Versions used :
iPod Touch 1G, 1.93, iPhone OS 3.1.2 (7D11).

Additional information :
- The isssue was also reproduced on older iPod firmware.
- The problem doesn't reproduce if you click on a folder of the left pane
(folder tree root for example) just before clicking on the Favorites menu item.

Original issue reported on code.google.com by supertib...@yahoo.com on 16 Mar 2010 at 1:43