{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6793","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6793/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6793/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6793/events","html_url":"https://github.com/meteor/meteor/issues/6793","id":147513290,"number":6793,"title":"[1.3.1] Exception from Tracker recompute function - Cannot read property 'splice' of null","user":{"login":"speciose","id":8721324,"avatar_url":"https://avatars.githubusercontent.com/u/8721324?v=3","gravatar_id":"","url":"https://api.github.com/users/speciose","html_url":"https://github.com/speciose","followers_url":"https://api.github.com/users/speciose/followers","following_url":"https://api.github.com/users/speciose/following{/other_user}","gists_url":"https://api.github.com/users/speciose/gists{/gist_id}","starred_url":"https://api.github.com/users/speciose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/speciose/subscriptions","organizations_url":"https://api.github.com/users/speciose/orgs","repos_url":"https://api.github.com/users/speciose/repos","events_url":"https://api.github.com/users/speciose/events{/privacy}","received_events_url":"https://api.github.com/users/speciose/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/bug","name":"bug","color":"b60205"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Impact:few","name":"Impact:few","color":"c2e0c6"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Blaze","name":"Project:Blaze","color":"eb6420"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Severity:blocks-development","name":"Severity:blocks-development","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2016-04-11T18:29:19Z","updated_at":"2016-06-01T05:59:37Z","closed_at":null,"body":"I'm using Chrome Canary 51 and this error appear from time to time (pretty rare actualy) when I change route (navigate through my website). I've not seen this error when I was using Meteor 1.2\r\nI don't have any errors on server side.\r\n\r\nSo. Right now I have Meteor 1.3.1 and Iron Router (latest version with manual update of middleware-stack)\r\n\r\n```\r\niron:controller@1.0.12\r\niron:core@1.0.11\r\niron:dynamic-template@1.0.12\r\niron:layout@1.0.12\r\niron:location@1.0.11\r\niron:middleware-stack@1.1.0\r\niron:router@1.0.12\r\niron:url@1.0.11\r\n```\r\n\r\nAnd here is the text that I get in chrome console:\r\n\r\n```\r\nException from Tracker recompute function:\r\n69e39e0….js?meteor_js_resource=true:3 Error: The basic HTML.TransformingVisitor does not support foreign objects in attributes.  Define a custom visitAttributes for this case.\r\n    at visitAttributes (69e39e0….js?meteor_js_resource=true:86)\r\n    at visitAttributes (69e39e0….js?meteor_js_resource=true:90)\r\n    at Object.f._expandAttributes (69e39e0….js?meteor_js_resource=true:90)\r\n    at p (69e39e0….js?meteor_js_resource=true:90)\r\n    at 69e39e0….js?meteor_js_resource=true:90\r\n    at Function.e._withTemplateInstanceFunc (69e39e0….js?meteor_js_resource=true:92)\r\n    at 69e39e0….js?meteor_js_resource=true:90\r\n    at Object.f._withCurrentView (69e39e0….js?meteor_js_resource=true:90)\r\n    at c (69e39e0….js?meteor_js_resource=true:90)\r\n    at o.Computation._compute (69e39e0….js?meteor_js_resource=true:32)\r\n69e39e0….js?meteor_js_resource=true:3 Exception from Tracker recompute function:\r\n69e39e0….js?meteor_js_resource=true:3 TypeError: Cannot read property 'splice' of null\r\n    at https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:90:29128\r\n    at Object.o.nonreactive (https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:32:4311)\r\n    at Object.removedAt (https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:90:28856)\r\n    at Object.removed (https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:88:1831)\r\n    at https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:47:1323\r\n    at Array.forEach (native)\r\n    at Function.A.each.A.forEach (https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:1:865)\r\n    at r.diffQueryOrderedChanges (https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:47:1281)\r\n    at l (https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:88:1417)\r\n    at https://mywebsite.ru:4488/69e39e041c6e95f5531874ffd10e7adcb29e3623.js?meteor_js_resource=true:88:802\r\n69e39e0….js?meteor_js_resource=true:3 Exception from Tracker recompute function:\r\n69e39e0….js?meteor_js_resource=true:3 TypeError: Cannot read property '0' of null\r\n    at 69e39e0….js?meteor_js_resource=true:90\r\n    at Object.o.nonreactive (69e39e0….js?meteor_js_resource=true:32)\r\n    at Object.changedAt (69e39e0….js?meteor_js_resource=true:90)\r\n    at 69e39e0….js?meteor_js_resource=true:88\r\n    at Function.A.each.A.forEach (69e39e0….js?meteor_js_resource=true:1)\r\n    at l (69e39e0….js?meteor_js_resource=true:88)\r\n    at 69e39e0….js?meteor_js_resource=true:88\r\n    at Object.o.nonreactive (69e39e0….js?meteor_js_resource=true:32)\r\n    at 69e39e0….js?meteor_js_resource=true:88\r\n    at o.Computation._compute (69e39e0….js?meteor_js_resource=true:32)\r\n```\r\n\r\nDoes it gives you any clues about what goes wrong? After this error I can't change a route and this error produced again and again after I click any link on a page until I refresh (F5) it.\r\n\r\nAlso. This is production code\r\nUbuntu 14 LTS 64Bit\r\nNginx proxy\r\nPM2 project manager\r\nNode v0.10.43\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/222900402","html_url":"https://github.com/meteor/meteor/issues/6793#issuecomment-222900402","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6793","id":222900402,"user":{"login":"abernix","id":841294,"avatar_url":"https://avatars.githubusercontent.com/u/841294?v=3","gravatar_id":"","url":"https://api.github.com/users/abernix","html_url":"https://github.com/abernix","followers_url":"https://api.github.com/users/abernix/followers","following_url":"https://api.github.com/users/abernix/following{/other_user}","gists_url":"https://api.github.com/users/abernix/gists{/gist_id}","starred_url":"https://api.github.com/users/abernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abernix/subscriptions","organizations_url":"https://api.github.com/users/abernix/orgs","repos_url":"https://api.github.com/users/abernix/repos","events_url":"https://api.github.com/users/abernix/events{/privacy}","received_events_url":"https://api.github.com/users/abernix/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T05:59:36Z","updated_at":"2016-06-01T05:59:36Z","body":"Ok, it seems there are now at least two, but possibly three issues going on in here.  Hopefully we can get this back on track.  :smile:\r\n\r\nIf you're encountering the `iron-router` issue it seems you'd be getting an error roughly like this: `Error: Handler with name 'somethingHere' already exists. `  Please make a new issue if you're encountering that.  Unfortunately, it sounds like it will bite some people, but the fix is easy: `meteor update iron:middleware-stack`. @Nexus7 You should branch your Git repo at the currently deployed commit, make a hot-fix with this command, then deploy that.\r\n\r\n@toszter First of all, if you're not getting the error that is in the subject of this issue (`Cannot read property 'splice' of null`), I'm going to have you open a new, separate issue for the `HTML.TransformingVisitor` error.  But in general, those are still the same instructions irregardless of whether or not you take advantage of NPM.  You can skip the `npm install --production` before building, but running it won't do anything if you don't have a `package.json`.  You should still be doing an `npm install` on the server inside the `programs/server` directory – that hasn't changed in a long time.  Also I don't think that `console.log`-ing is necessary – @brianlukoff already showed that he got the values with DevTools.  The more helpful method to look at is [in this code](https://github.com/meteor/meteor/blob/38a119f14d45518d7e7a73098dc033585cb862ff/packages/htmljs/html.js#L180-L192) which shows what `HTML.isConstructedObject` is checking for.  Specifically, it checks for if you are passing a `Class` or an object created with `new Object({params: true });` as an attribute to any HTML element.\r\n\r\n@mrw34 Please be more specific about what issue you're seeing.  If it's not the exact one in the subject of this issue, please open it in a separate ticket."}}
{"actor":{"display_login":"abernix"}}