[ubuntu-mono] [Bug 708780] [NEW] Setting up syncing with Ubuntu One causes a crash

Paul Hummer 708780 at bugs.launchpad.net
Thu Jan 27 17:36:35 UTC 2011


Public bug reported:

Binary package hint: tomboy

I'm running Maverick, with Tomboy 1.4.2-0ubuntu1

I had a good syncing flow working with Tomboy and U1 for a while.
However, all of a sudden I was unable to sync.  This coincided with some
changes I had made to the server side of notes, so I went to
investigate.

When running `tomboy --debug` I got the following output:

[INFO 09:52:11.901] Initializing Mono.Addins
[ERROR 09:52:49.217] Caught exception. Message: The remote server returned an error: (404) NOT FOUND.
[ERROR 09:52:49.223] Stack trace for previous exception:   at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 
[ERROR 09:52:49.226] Rest of stack trace for above exception:    at System.Environment.get_StackTrace()
   at Tomboy.WebSync.Api.OAuth.MakeWebRequest(RequestMethod method, System.String url, System.Collections.Generic.List`1 parameters, System.String postData)
   at Tomboy.WebSync.Api.OAuth.WebRequest(RequestMethod method, System.String url, System.String postData)
   at Tomboy.WebSync.Api.OAuth.Get(System.String uri, IDictionary`2 queryParameters)
   at Tomboy.WebSync.Api.UserInfo.GetUser(System.String userUri, IWebConnection connection)
   at Tomboy.WebSync.WebSyncServer.BeginSyncTransaction()
   at Tomboy.Sync.SyncManager.SynchronizationThread()
[ERROR 09:52:49.227] Synchronization failed with the following exception: The remote server returned an error: (404) NOT FOUND.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 

(Tomboy:17955): GLib-CRITICAL **: g_source_remove: assertion `tag > 0'
failed

This seemed to indicate that my credentials were broken.  So I removed
all the tomboy config folders to backups, and re-ran Tomboy, went to set
up synchronization, but when I hit save, I get a crash, and the debug
output looks like this:

Marshaling clicked signal
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.NullReferenceException: Object reference not set to an instance of an object
  at Tomboy.WebSync.U1SyncPreferencesWidget.OnAuthButtonClicked (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (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 
  --- 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 Gnome.Program.Run()
   at Tomboy.GnomeApplication.StartMainLoop()
   at Tomboy.Application.StartMainLoop()
   at Tomboy.Tomboy.StartTrayIcon()
   at Tomboy.Tomboy.Main(System.String[] args)

** Affects: tomboy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to tomboy in ubuntu.
https://bugs.launchpad.net/bugs/708780

Title:
  Setting up syncing with Ubuntu One causes a crash

Status in “tomboy” package in Ubuntu:
  New

Bug description:
  Binary package hint: tomboy

  I'm running Maverick, with Tomboy 1.4.2-0ubuntu1

  I had a good syncing flow working with Tomboy and U1 for a while.
  However, all of a sudden I was unable to sync.  This coincided with
  some changes I had made to the server side of notes, so I went to
  investigate.

  When running `tomboy --debug` I got the following output:

  [INFO 09:52:11.901] Initializing Mono.Addins
  [ERROR 09:52:49.217] Caught exception. Message: The remote server returned an error: (404) NOT FOUND.
  [ERROR 09:52:49.223] Stack trace for previous exception:   at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
    at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 
  [ERROR 09:52:49.226] Rest of stack trace for above exception:    at System.Environment.get_StackTrace()
     at Tomboy.WebSync.Api.OAuth.MakeWebRequest(RequestMethod method, System.String url, System.Collections.Generic.List`1 parameters, System.String postData)
     at Tomboy.WebSync.Api.OAuth.WebRequest(RequestMethod method, System.String url, System.String postData)
     at Tomboy.WebSync.Api.OAuth.Get(System.String uri, IDictionary`2 queryParameters)
     at Tomboy.WebSync.Api.UserInfo.GetUser(System.String userUri, IWebConnection connection)
     at Tomboy.WebSync.WebSyncServer.BeginSyncTransaction()
     at Tomboy.Sync.SyncManager.SynchronizationThread()
  [ERROR 09:52:49.227] Synchronization failed with the following exception: The remote server returned an error: (404) NOT FOUND.
    at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
    at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 

  (Tomboy:17955): GLib-CRITICAL **: g_source_remove: assertion `tag > 0'
  failed

  This seemed to indicate that my credentials were broken.  So I removed
  all the tomboy config folders to backups, and re-ran Tomboy, went to
  set up synchronization, but when I hit save, I get a crash, and the
  debug output looks like this:

  Marshaling clicked signal
  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.NullReferenceException: Object reference not set to an instance of an object
    at Tomboy.WebSync.U1SyncPreferencesWidget.OnAuthButtonClicked (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0 
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (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 
    --- 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 Gnome.Program.Run()
     at Tomboy.GnomeApplication.StartMainLoop()
     at Tomboy.Application.StartMainLoop()
     at Tomboy.Tomboy.StartTrayIcon()
     at Tomboy.Tomboy.Main(System.String[] args)





More information about the Ubuntu-mono mailing list