Bug #856


NullReferenceExceptionException in GroupChatView.Populate()

Added by Noel Kuntze 4038 days ago. Updated 4007 days ago.

Status:Closed Start:06/25/2013
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:


Category:Frontend GNOME
Target version:


Found in Version:

Votes: 0


This happened just after I connected. I don't know exactly what caused it.
Smuxi version is

Exception Type:System.NullReferenceExceptionException Message:Object reference not set to an instance of an objectException StackTrace:  at Smuxi.Frontend.Gnome.GroupChatView.Populate () [0x0008b] in /tmp/pacaurtmp-thermi/smuxi-git/src/smuxi/src/Frontend-GNOME/Views/Chats/GroupChatView.cs:307   at Smuxi.Frontend.Gnome.ChatViewManager <OnChatSynced>c__AnonStorey1F.<>m__31 () [0x0007a] in /tmp/pacaurtmp-thermi/smuxi-git/src/smuxi/src/Frontend-GNOME/ChatViewManager.cs:326   at GLib.Idle IdleProxy.Handler () [0x00000] in <filename unknown>:0 

crash_befoire.png (46.9 KB) Noel Kuntze, 06/26/2013 05:48 PM

Associated revisions

Revision 106fb81ef695a03233a8facb2ae9a8accf0617db
Added by Mirco Bauer 4007 days ago

[Frontend-GNOME] Fixed potential NRE race in GroupChatView.Populate() (closes: #856)


Updated by Noel Kuntze 4036 days ago


I just had this crash again and Smuxi had this error 0,5 to 2 seconds before it crashed. It might therefore be related to the crash cause.

Updated by Noel Kuntze 4013 days ago


That issue was related to my hwclock not set to the correct time and my system using ntpd to keep the time. What caused the crash was, that after my system started, the system time was ~6-8 hours lagging behind the real time. When ntpd synchronized the system clock to the source, the time changed by that large amount and that somehow not only made smuxi fail, but also the watchdog of my system. I think you can close this ticket.

Updated by Mirco Bauer 4013 days ago


Thanks for the update. Even though your clock got screwed up, Smuxi shouldn't crash in this way. From the stack trace the crash happened when syncing a group chat. I will look into potentional race conditions.

Updated by Mirco Bauer 4013 days ago

  • Subject changed from Exception: Object reference not set to an instance of an object to NullReferenceExceptionException in GroupChatView.Populate()

Updated by Mirco Bauer 4007 days ago

  • Target version set to
  • Complexity set to Low

Updated by Mirco Bauer 4007 days ago

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

Also available in: Atom PDF