Bug #635

avatar

Crash when closing a chat before it was synced

Added by Mirco Bauer 4813 days ago. Updated 4807 days ago.

Status:Closed Start:10/19/2011
Priority:Urgent Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Frontend GNOME
Target version:0.8.9
Complexity:

Found in Version:

Votes: 0

Description

The frontend will crash if you close a chat before it finished the sync:
Exception Type:
System.NullReferenceException

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

Exception StackTrace:
  at Smuxi.Frontend.Gnome.GroupChatView.Populate () [0x00043] in /home/meebey/Projects/smuxi/src/Frontend-GNOME/Views/Chats/GroupChatView.cs:251 
  at Smuxi.Frontend.Gnome.ChatViewManager+<OnChatSynced>c__AnonStorey18.<>m__25 () [0x0003a] in /home/meebey/Projects/smuxi/src/Frontend-GNOME/ChatViewManager.cs:248 
  at GLib.Idle+IdleProxy.Handler () [0x00000] in <filename unknown>:0 

Related issues

duplicated by Smuxi - Bug #637 Exception: Object reference not set to an instance of an object Closed 10/25/2011

Associated revisions

Revision d7ca864e7b53ca1c4fbebdeef08cd4850f3275dd
Added by Mirco Bauer 4807 days ago

[Frontend-GNOME] Avoid crash in ChatView.Populate() when the chat was closed during the sync (closes: #635)

History

Updated by Bianca Mix 4807 days ago

avatar

For me not synced chat crashes with a different stack trace:

2011-10-25 22:21:31,789 [Main] DEBUG TRACE - [smuxi-frontend-gnome.exe] MessageTextView.AddMessage(msg = -!- Connecting to Twitter..., addLinebreak = True)

(smuxi-frontend-gnome:6487): Gtk-CRITICAL **: IA__gtk_widget_get_name: assertion `GTK_IS_WIDGET (widget)' failed

(smuxi-frontend-gnome:6487): Gtk-CRITICAL **: IA__gtk_text_buffer_move_mark: assertion `!gtk_text_mark_get_deleted (mark)' failed
2011-10-25 22:21:31,791 [Main] DEBUG TRACE - [smuxi-frontend-gnome.exe] Frontend._OnUnhandledException(e = GLib.UnhandledExceptionArgs)
2011-10-25 22:21:31,791 [Main] DEBUG TRACE - [smuxi-frontend-gnome.exe] Frontend.ShowException(ex = System.NullReferenceException)
2011-10-25 22:21:31,792 [Main] DEBUG TRACE - [smuxi-frontend-gnome.exe] Frontend.ShowException(parent = (null), ex = System.NullReferenceException)
2011-10-25 22:21:31,792 [Main] ERROR Smuxi.Frontend.Gnome.Frontend - ShowException(): Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at Smuxi.Frontend.Gnome.ChatView.OnMessageTextViewMessageAdded (System.Object sender, Smuxi.Frontend.Gnome.MessageTextViewMessageAddedEventArgs e) [0x00075] in /home/mix/Code/smuxi/src/Frontend-GNOME/Views/Chats/ChatView.cs:587 
  at Smuxi.Frontend.Gnome.MessageTextView.AddMessage (Smuxi.Engine.MessageModel msg, Boolean addLinebreak) [0x00505] in /home/mix/Code/smuxi/src/Frontend-GNOME/Views/MessageTextView.cs:343 
  at Smuxi.Frontend.Gnome.MessageTextView.AddMessage (Smuxi.Engine.MessageModel msg) [0x00000] in /home/mix/Code/smuxi/src/Frontend-GNOME/Views/MessageTextView.cs:174 
  at Smuxi.Frontend.Gnome.ChatView.AddMessage (Smuxi.Engine.MessageModel msg) [0x00000] in /home/mix/Code/smuxi/src/Frontend-GNOME/Views/Chats/ChatView.cs:501 
  at Smuxi.Frontend.Gnome.ChatView.Populate () [0x0008e] in /home/mix/Code/smuxi/src/Frontend-GNOME/Views/Chats/ChatView.cs:478 
  at Smuxi.Frontend.Gnome.ChatViewManager+<OnChatSynced>c__AnonStorey18.<>m__25 () [0x0003a] in /home/mix/Code/smuxi/src/Frontend-GNOME/ChatViewManager.cs:248 
  at GLib.Idle+IdleProxy.Handler () [0x00000] in <filename unknown>:0

Updated by Mirco Bauer 4807 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF