Bug #297

avatar

NullReferenceException on start with auto-connecting Twitter account

Added by Sebastian Schnur 5210 days ago. Updated 5192 days ago.

Status:Closed Start:01/13/2010
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Frontend GNOME
Target version:0.7.1
Complexity:

Found in Version:

Votes: 0

Description

I just installed the Smuxi 0.7 backports from debian.meebey.net.

My Debian installation was completely clean of any kind what has to do with smuxi (I purged it).
After adding a twitter account with auto-connect and restarting smuxi to test if the auto-reconnection works, smuxi crashes with the following exceptions:

Exception Type:
System.NullReferenceException

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

Exception StackTrace:
  at Smuxi.Frontend.Gnome.GnomeUI+<>c__CompilerGenerated62.<SyncChat>c__63 (System.Object +57, System.EventArgs +58) [0x00000] 
  at Gtk.Application+InvokeCB.Invoke () [0x00000] 
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000] 
2010-01-13 23:20:17,991 [Main] ERROR Smuxi.Frontend.Gnome.Frontend - ShowException(): Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Cannot cast from source type to destination type.
  at Smuxi.Frontend.Gnome.IrcGroupChatView..ctor (Smuxi.Engine.GroupChatModel groupChat) [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace ---

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] 
  at Smuxi.Frontend.ChatViewManagerBase.CreateChatView (Smuxi.Engine.ChatModel chat) [0x00000] 
  at Smuxi.Frontend.Gnome.ChatViewManager.AddChat (Smuxi.Engine.ChatModel chat) [0x00000] 
  at Smuxi.Frontend.Gnome.GnomeUI+<>c__CompilerGenerated52.<AddChat>c__53 (System.Object +37, System.EventArgs +38) [0x00000] 
  at Gtk.Application+InvokeCB.Invoke () [0x00000] 
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000] 

smuxi-error07-twitter.png (176.2 KB) Sebastian Schnur, 01/13/2010 10:32 PM

History

Updated by Mirco Bauer 5192 days ago

avatar
  • Category set to Frontend GNOME
  • Assigned to set to Mirco Bauer
  • Target version set to 0.7.1

Updated by Mirco Bauer 5192 days ago

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

Also available in: Atom PDF