Skip to content

Instantly share code, notes, and snippets.

@loganek
Created June 26, 2014 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loganek/795eb621889f8940ce96 to your computer and use it in GitHub Desktop.
Save loganek/795eb621889f8940ce96 to your computer and use it in GitHub Desktop.
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for <StartupCode$FSharp-Data>.$FSharp.Data.Runtime.UriUtils ---> System.NullReferenceException: Object reference not set to an instance of an object
at FSharp.Data.Runtime.UriUtils+purifierDotNet@46.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Control.LazyExtensions+Create@5713[Microsoft.FSharp.Core.FSharpFunc`2[System.Uri,System.Uri]].Invoke () [0x00000] in /home/loganek/banshee/fsharp/src/fsharp/FSharp.Core/prim-types.fs:5713
at System.Lazy`1[Microsoft.FSharp.Core.FSharpFunc`2[System.Uri,System.Uri]].InitValue () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at FSharp.Data.Runtime.UriUtils.get_enableUriSlashes () [0x00000] in <filename unknown>:0
at FSharp.Data.Http.InnerRequest[String,HttpResponse] (System.String url, Microsoft.FSharp.Core.FSharpFunc`2 toHttpResponse, Microsoft.FSharp.Core.FSharpOption`1 query, Microsoft.FSharp.Core.FSharpOption`1 headers, Microsoft.FSharp.Core.FSharpOption`1 httpMethod, Microsoft.FSharp.Core.FSharpOption`1 body, Microsoft.FSharp.Core.FSharpOption`1 cookies, Microsoft.FSharp.Core.FSharpOption`1 cookieContainer, Microsoft.FSharp.Core.FSharpOption`1 silentHttpErrors, Microsoft.FSharp.Core.FSharpOption`1 responseEncodingOverride, Microsoft.FSharp.Core.FSharpOption`1 customizeHttpRequest) [0x00000] in <filename unknown>:0
at <StartupCode$FSharp-Data>.$Http+AsyncRequestString@690.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Control.AsyncBuilderImpl+callA@780[System.String,Microsoft.FSharp.Core.Unit].Invoke (Microsoft.FSharp.Control.AsyncParams`1 args) [0x0002b] in /home/loganek/banshee/fsharp/src/fsharp/FSharp.Core/control.fs:784
--- End of inner exception stack trace ---
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
at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
at Gtk.Application.gtk_main()
at Gtk.Application.Run()
at Banshee.Gui.GtkBaseClient.Run() in /home/loganek/banshee/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 225
at Banshee.Gui.GtkBaseClient.Startup() in /home/loganek/banshee/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 79
at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) in /home/loganek/banshee/banshee/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:line 54
at Banshee.Gui.GtkBaseClient.Startup() in /home/loganek/banshee/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 74
at Banshee.Gui.GtkBaseClient.Startup(System.String[] args) in /home/loganek/banshee/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 64
at Nereid.Client.Main(System.String[] args) in /home/loganek/banshee/banshee/src/Clients/Nereid/Nereid/Client.cs:line 54
at System.AppDomain.ExecuteAssembly(System.AppDomain , System.Reflection.Assembly , System.String[] )
at System.AppDomain.ExecuteAssemblyInternal(System.Reflection.Assembly a, System.String[] args)
at System.AppDomain.ExecuteAssembly(System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args)
at System.AppDomain.ExecuteAssembly(System.String assemblyFile)
at Booter.Booter.BootClient(System.String clientName) in /home/loganek/banshee/banshee/src/Clients/Booter/Booter/Entry.cs:line 108
at Booter.Booter.Main() in /home/loganek/banshee/banshee/src/Clients/Booter/Booter/Entry.cs:line 102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment