{"action":"created","issue":{"url":"https://api.github.com/repos/maxg/didit/issues/25","labels_url":"https://api.github.com/repos/maxg/didit/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/maxg/didit/issues/25/comments","events_url":"https://api.github.com/repos/maxg/didit/issues/25/events","html_url":"https://github.com/maxg/didit/issues/25","id":44930839,"number":25,"title":"Build page template error","user":{"login":"maxg","id":41432,"avatar_url":"https://avatars.githubusercontent.com/u/41432?v=3","gravatar_id":"","url":"https://api.github.com/users/maxg","html_url":"https://github.com/maxg","followers_url":"https://api.github.com/users/maxg/followers","following_url":"https://api.github.com/users/maxg/following{/other_user}","gists_url":"https://api.github.com/users/maxg/gists{/gist_id}","starred_url":"https://api.github.com/users/maxg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxg/subscriptions","organizations_url":"https://api.github.com/users/maxg/orgs","repos_url":"https://api.github.com/users/maxg/repos","events_url":"https://api.github.com/users/maxg/events{/privacy}","received_events_url":"https://api.github.com/users/maxg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-05T22:06:30Z","updated_at":"2015-06-03T21:09:56Z","closed_at":null,"body":"    /var/didit/views/build.jade:94\r\n        92|   h3 #{suite.package}#{suite.package ? '.' : ''}#{suite.name}&nbsp;\r\n        93|     mixin testcounts(suite)\r\n      > 94|   p= suite.properties.desc\r\n        95|   ul\r\n        96|     each test in suite.testcases\r\n        97|       li\r\n        Cannot call method 'escape' of null\r\n"},"comment":{"url":"https://api.github.com/repos/maxg/didit/issues/comments/108617005","html_url":"https://github.com/maxg/didit/issues/25#issuecomment-108617005","issue_url":"https://api.github.com/repos/maxg/didit/issues/25","id":108617005,"user":{"login":"scotttmiller","id":4870036,"avatar_url":"https://avatars.githubusercontent.com/u/4870036?v=3","gravatar_id":"","url":"https://api.github.com/users/scotttmiller","html_url":"https://github.com/scotttmiller","followers_url":"https://api.github.com/users/scotttmiller/followers","following_url":"https://api.github.com/users/scotttmiller/following{/other_user}","gists_url":"https://api.github.com/users/scotttmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/scotttmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scotttmiller/subscriptions","organizations_url":"https://api.github.com/users/scotttmiller/orgs","repos_url":"https://api.github.com/users/scotttmiller/repos","events_url":"https://api.github.com/users/scotttmiller/events{/privacy}","received_events_url":"https://api.github.com/users/scotttmiller/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T21:09:56Z","updated_at":"2015-06-03T21:09:56Z","body":"Thanks for your reply -- we still see the same error on the latest version of Jade.  We are updating other dependencies in our project (NodeJS, Mongoose, and on and on...) to see whether it gets sideswiped by going current on all of those.  Just thought it worth mentioning that upgrading Jade did not fix it for us.\r\n\r\nIn our situation, what's happening is a piece of javascript that often corresponds to several dynamically assembled method calls for rendering page fragments is passed a Jade rendering object that, for some unknown reason, gets nulled out somewhere in the middle of the rendering the page.  There is one particular mixin we have that triggers this issue across several different page types, and we have no idea why.  We're wondering whether the reference to the jade renderer is getting garbage collected or perhaps an error is being handled badly deep within Jade, Node, or even V8.\r\n\r\nPlease do respond if anything you do seems to fix it -- I'll do likewise."}}