Comment 2 for bug 612533

Revision history for this message
Jan-Helge (jhberges) wrote :

Stacktrace from console:

jhb@planke:~$ tomboy
[INFO 11:04:16.540] Initializing Mono.Addins
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.Xml.XmlException: Document element did not appear. Line 1, position 1.
  at Mono.Xml2.XmlTextReader.Read () [0x00000]
  at System.Xml.XmlTextReader.Read () [0x00000]
  at Tomboy.XmlDecoder.Decode (System.String source) [0x00000]
  at Tomboy.Note.get_TextContent () [0x00000]
  at Tomboy.NoteLinkWatcher.ContainsText (System.String text) [0x00000]
  at Tomboy.NoteLinkWatcher.OnNoteAdded (System.Object sender, Tomboy.Note added) [0x00000]
  at (wrapper delegate-invoke) Tomboy.NotesChangedHandler:invoke_void__this___object_Note (object,Tomboy.Note)
  at (wrapper delegate-invoke) Tomboy.NotesChangedHandler:invoke_void__this___object_Note (object,Tomboy.Note)
  at (wrapper delegate-invoke) Tomboy.NotesChangedHandler:invoke_void__this___object_Note (object,Tomboy.Note)
  at (wrapper delegate-invoke) Tomboy.NotesChangedHandler:invoke_void__this___object_Note (object,Tomboy.Note)
  at (wrapper delegate-invoke) Tomboy.NotesChangedHandler:invoke_void__this___object_Note (object,Tomboy.Note)
  at Tomboy.NoteManager.CreateNewNote (System.String title, System.String xml_content, System.String guid) [0x00000]
  at Tomboy.NoteManager.Create (System.String title, System.String xml_content) [0x00000]
  at Tomboy.NoteManager.GetOrCreateTemplateNote () [0x00000]
  at Tomboy.PreferencesDialog.OpenTemplateButtonClicked (System.Object sender, System.EventArgs args) [0x00000]
  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]
  --- 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]
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000]
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000]
   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)