[MonoDevelop] Bug when switching open files?

Fredrik Svensson fredrik at molnbas.nu
Sat Dec 17 14:02:12 EST 2005


I'm getting an interesting error when trying to switch between open
files in monodevelop from svn trunk. It seems like the internal list of
open files is only initialized when the Window menu is selected. Trying
to switch files with Alt+num without having opened the Window menu
results in nothing. After looking at the Window menu it works but if you
close a file and press the Alt+num combination that was for the now
closed file you get the output below. Maybe this is already known and
worked on, maybe I should file a bug or maybe I should fix it and send a
patch ;-)


Exception occurred: Object reference not set to an instance of an object

System.NullReferenceException: Object reference not set to an instance
of an object
in <0x00010> MonoDevelop.Ide.Gui.SdiWorkspaceWindow:SelectWindow ()
in <0x00017> MonoDevelop.Ide.Gui.Document:Select ()
in <0x0002a> MonoDevelop.Ide.Commands.OpenWindowListHandler:Run
(System.Object doc)
in <0x00056>
(System.Object dataItem)
in <0x0034d>
(System.Object commandId, System.Object dataItem)


More information about the Monodevelop-list mailing list