Bug #953

avatar

NullReferenceException in Frontend.TryOpenChatLink()

Added by Jamie Bliss 3937 days ago. Updated 3933 days ago.

Status:Closed Start:02/10/2014
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Frontend GNOME
Target version:0.10.1
Complexity:

Medium

Found in Version:

Votes: 0

Description

Inner-Exception Type:
System.NullReferenceException

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

Inner-Exception StackTrace:
  at Smuxi.Frontend.Gnome.Frontend.TryOpenChatLink (System.Uri link) [0x0027b] in /build/buildd/smuxi-0.11 dev.bzr411~ubuntu12.10.1/src/Frontend-GNOME/Frontend.cs:857 
  at Smuxi.Frontend.Gnome.Frontend.OpenLink (System.Uri link) [0x0003d] in /build/buildd/smuxi-0.11 dev.bzr411~ubuntu12.10.1/src/Frontend-GNOME/Frontend.cs:909 
  at Smuxi.Frontend.Gnome.MessageTextView.OnLinkTagTextEvent (System.Object sender, Gtk.TextEventArgs e) [0x00061] in /build/buildd/smuxi-0.11 dev.bzr411~ubuntu12.10.1/src/Frontend-GNOME/Views/MessageTextView.cs:628 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 

Exception Type:
System.Reflection.TargetInvocationException

Exception Message:
Exception has been thrown by the target of an invocation.

Exception StackTrace:
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 

I clicked on a room link (#help) in an invite notification.

Expected: Join room and switch views
Actual: Crash.

Associated revisions

Revision d51099a24ae75f7898991e1d81ae28a39adaa371
Added by Mirco Bauer 3933 days ago

Engine-IRC: only pass stored networks in invite links (closes: #953)

Revision a53b49faf12f28ed8e0ee8431f82d649a8139b7e
Added by Mirco Bauer 3933 days ago

Frontend-GNOME: fixed NRE in Frontend.TryOpenChatLink() (closes: #953)

History

Updated by Jamie Bliss 3937 days ago

avatar

Server: Build 413
Client: Not sure

Updated by Mirco Bauer 3936 days ago

avatar

Frontend is bzr411 (which is luckily part of the build path)

Updated by Mirco Bauer 3933 days ago

avatar
  • Category set to Frontend GNOME
  • Assigned to set to Mirco Bauer
  • Target version set to 0.10.1
  • Complexity set to Medium

Updated by Mirco Bauer 3933 days ago

avatar

Can you provide the network name used in that server preferences (of that network)

Updated by Mirco Bauer 3933 days ago

avatar

Nevermind, I can reproduce this is issue now.

Updated by Mirco Bauer 3933 days ago

avatar
  • Subject changed from Exception: Exception has been thrown by the target of an invocation. to NullReferenceException in Frontend.TryOpenChatLink()

Updated by Mirco Bauer 3933 days ago

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

Also available in: Atom PDF