[ubuntu-mono] [Bug 664157] Re: Export to HTML gives error with linked notes

Bengt Lüers Bengt.Lueers at gmail.com
Fri Mar 23 18:47:21 UTC 2012


Importance should be somewhat high, I think. I just ran into this when
exporting my meeting notes to HTML, which are routinely named
<project_name> <date> , eg. "Tomboy 2012-03-23" or "Tomboy 23.03.2012"
Therefore I think, dots and dashes and slashes in note titles are a
pretty common scenario.

-- 
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/664157

Title:
  Export to HTML gives error with linked notes

Status in “tomboy” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: tomboy

  Description:	Ubuntu 10.10
  Release:	10.10
  tomboy:
    Installed: 1.4.0-0ubuntu2
    Candidate: 1.4.0-0ubuntu2
    Version table:
   *** 1.4.0-0ubuntu2 0
          500 http://ca.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
          100 /var/lib/dpkg/status

  When I attempt to export my notes, including all the linked notes I
  get the error "Custom function reported an error."  I expect to get a
  nicely formatted document with all my notes.  Instead, I get an error
  and only the initial note saved as an html document with all the links
  broken.

  Here is the console output when I attempt to do this after running
  tomboy --debug:

  [DEBUG 15:43:25.366] Exporting Note 'Comp 3440' to '/home/david/Desktop/Comp 3440.html'...
  [ERROR 15:43:25.881] Could not export: System.Xml.Xsl.XsltException: Custom function reported an error. ---> 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.ExportToHtml.TransformExtension.GetPath (System.String title) [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 Mono.Xml.Xsl.XsltExtensionFunction.Invoke (Mono.Xml.Xsl.XsltCompiledContext xsltContext, System.Object[] args, System.Xml.XPath.XPathNavigator docContext) [0x00000] in <filename unknown>:0 
    --- End of inner exception stack trace ---
    at Mono.Xml.Xsl.XsltExtensionFunction.Invoke (Mono.Xml.Xsl.XsltCompiledContext xsltContext, System.Object[] args, System.Xml.XPath.XPathNavigator docContext) [0x00000] in <filename unknown>:0 
    at Mono.Xml.Xsl.XPFuncImpl.Invoke (System.Xml.Xsl.XsltContext xsltContext, System.Object[] args, System.Xml.XPath.XPathNavigator docContext) [0x00000] in <filename unknown>:0 
    at System.Xml.XPath.ExprFunctionCall.Evaluate (System.Xml.XPath.BaseIterator iter) [0x00000] in <filename unknown>:0 
    at System.Xml.XPath.CompiledExpression.Evaluate (System.Xml.XPath.BaseIterator iter) [0x00000] in <filename unknown>:0 
  [ERROR 15:43:25.898] Could not export: Custom function reported an error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/664157/+subscriptions




More information about the Ubuntu-mono mailing list