Bug #312
Random Startup / Connect Crash: NullReferenceException
Status: | Closed | Start: | 01/23/2010 | |
Priority: | Urgent | Due date: | ||
Assigned to: | % Done: | 100% |
||
Category: | Frontend GNOME | |||
Target version: | 0.7.1 | |||
Complexity: | High |
Found in Version: | ||
Votes: | 0 |
Description
Sometimes when starting the Smuxi client (only seen if local engine is used) Smuxi will crash like this:
Exception Type: System.NullReferenceException Exception Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. Exception StackTrace: bei Smuxi.Frontend.Gnome.GnomeUI._AddMessageToChat(ChatModel chatModel, MessageModel msg) bei Smuxi.Frontend.Gnome.GnomeUI.<AddMessageToChat>c__AnonStorey6.<>m__12(Object , EventArgs ) bei Gtk.Application.InvokeCB.Invoke() bei GLib.Timeout.TimeoutProxy.Handler()
This can also happen if you connect to a server.
I believe the issue is a race condition, the tries to push messages to the frontend while he is not ready yet for that (the chat view is missing).