Skip to content

Instantly share code, notes, and snippets.

@rubo77
Created February 24, 2015 17:09
Show Gist options
  • Save rubo77/12ef9be4060c7935c74c to your computer and use it in GitHub Desktop.
Save rubo77/12ef9be4060c7935c74c to your computer and use it in GitHub Desktop.
firefox bookmark export error
*************************
A coding exception was thrown and uncaught in a Task.
Full message: TypeError: root is undefined
Full stack: BookmarkExporter@resource://gre/modules/BookmarkHTMLUtils.jsm:980:1
BHU_exportToFile/<@resource://gre/modules/BookmarkHTMLUtils.jsm:228:22
TaskImpl_run@resource://gre/modules/Task.jsm:314:40
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:865:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:744:7
*************************
@rubo77
Copy link
Author

rubo77 commented Feb 24, 2015

I get this error When I try to export my thousands of bookmarks into a HTML file, see http://askubuntu.com/questions/588142/transfer-important-files-from-an-old-firefox-profile-into-a-new-one

Line 980 contains

if (root.children && root.children.length > 0) {

see https://dxr.mozilla.org/mozilla-central/source/toolkit/components/places/BookmarkHTMLUtils.jsm#980

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment