{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/13438","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/13438/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/13438/comments","events_url":"https://api.github.com/repos/angular/angular/issues/13438/events","html_url":"https://github.com/angular/angular/issues/13438","id":195337958,"number":13438,"title":"EmptyError: no elements in sequence","user":{"login":"hartjus","id":1468172,"avatar_url":"https://avatars.githubusercontent.com/u/1468172?v=3","gravatar_id":"","url":"https://api.github.com/users/hartjus","html_url":"https://github.com/hartjus","followers_url":"https://api.github.com/users/hartjus/followers","following_url":"https://api.github.com/users/hartjus/following{/other_user}","gists_url":"https://api.github.com/users/hartjus/gists{/gist_id}","starred_url":"https://api.github.com/users/hartjus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartjus/subscriptions","organizations_url":"https://api.github.com/users/hartjus/orgs","repos_url":"https://api.github.com/users/hartjus/repos","events_url":"https://api.github.com/users/hartjus/events{/privacy}","received_events_url":"https://api.github.com/users/hartjus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-13T18:57:04Z","updated_at":"2016-12-13T18:57:57Z","closed_at":null,"body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING\r\n-->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[X ] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\nAfter upgrading from 2.0.0 to 2.3.0, I'm getting this error.  I'm looking for an explanation of what causes this error.\r\n\r\n```\r\nError: Uncaught (in promise): EmptyError: no elements in sequence\r\nError: no elements in sequence\r\n    at EmptyError.ZoneAwareError (zone.js:672)\r\n    at new EmptyError (EmptyError.ts:13)\r\n    at FirstSubscriber._complete (first.ts:161)\r\n    at FirstSubscriber.Subscriber.complete (Subscriber.ts:122)\r\n    at Subject._subscribe (Subject.ts:109)\r\n    at Subject.Observable.subscribe (Observable.ts:98)\r\n    at Observable._subscribe (Observable.ts:158)\r\n    at Observable.subscribe (Observable.ts:98)\r\n    at Observable._subscribe (Observable.ts:158)\r\n    at FirstOperator.call (first.ts:82)\r\n    at Observable.subscribe (Observable.ts:96)\r\n    at Object.subscribeToResult (subscribeToResult.ts:32)\r\n    at MergeAllSubscriber._next (mergeAll.ts:82)\r\n    at MergeAllSubscriber.Subscriber.next (Subscriber.ts:95)\r\n    at MapSubscriber._next (map.ts:80)\r\n    at resolvePromise (zone.js:475) [angular]\r\n    at resolvePromise (zone.js:460) [angular]\r\n    at /libs/zone.js/dist/zone.js:509:17 [angular]\r\n    at Object.onInvokeTask (core.umd.min.js:32) [angular]\r\n    at ZoneDelegate.invokeTask (zone.js:261) [angular]\r\n    at Zone.runTask (zone.js:151) [<root> => angular]\r\n    at drainMicroTaskQueue (zone.js:405) [<root>]\r\n    at ZoneTask.invoke (zone.js:336) [<root>]ErrorHandler.handleError @ core.umd.min.js:31next @ core.umd.min.js:32generatorOrNext.object.schedulerFn @ core.umd.min.js:32SafeSubscriber.__tryOrUnsub @ Subscriber.ts:238SafeSubscriber.next @ Subscriber.ts:190Subscriber._next @ Subscriber.ts:135Subscriber.next @ Subscriber.ts:95Subject.next @ Subject.ts:61EventEmitter.emit @ core.umd.min.js:32NgZone.triggerError @ core.umd.min.js:32onHandleError @ core.umd.min.js:32ZoneDelegate.handleError @ zone.js:233Zone.runGuarded @ zone.js:129_loop_1 @ zone.js:416drainMicroTaskQueue @ zone.js:425ZoneTask.invoke @ zone.js:336\r\n```\r\nI can see that this is something related to the router, but I don't know what.  I see that a NavigationError event is thrown, but there's no reason as to why (other than the console error above).\r\n\r\n`NavigationError {id: 2, url: \"/home\", error: EmptyError}`\r\n\r\n**Expected behavior**\r\nNo error would be nice, but any explanation of what causes this error would be greatly appreciated.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\n<!--\r\nIf the current behavior is a bug or you can illustrate your feature request better with an example, \r\nplease provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).\r\n-->\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n<!-- Describe the motivation or the concrete use case -->\r\n\r\n**Please tell us about your environment:**\r\n<!-- Operating system, IDE, package manager, HTTP server, ... -->\r\n\r\n* **Angular version:** 2.0.X\r\n2.3.0\r\n\r\n* **Browser:** [**all** | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]\r\n<!-- All browsers where this could be reproduced -->\r\n \r\n* **Language:** [all | **TypeScript 1.8** | ES6/7 | ES5]\r\n\r\n* **Node (for AoT issues):** `node --version` =   \r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/266828537","html_url":"https://github.com/angular/angular/issues/13438#issuecomment-266828537","issue_url":"https://api.github.com/repos/angular/angular/issues/13438","id":266828537,"user":{"login":"DzmitryShylovich","id":9335533,"avatar_url":"https://avatars.githubusercontent.com/u/9335533?v=3","gravatar_id":"","url":"https://api.github.com/users/DzmitryShylovich","html_url":"https://github.com/DzmitryShylovich","followers_url":"https://api.github.com/users/DzmitryShylovich/followers","following_url":"https://api.github.com/users/DzmitryShylovich/following{/other_user}","gists_url":"https://api.github.com/users/DzmitryShylovich/gists{/gist_id}","starred_url":"https://api.github.com/users/DzmitryShylovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DzmitryShylovich/subscriptions","organizations_url":"https://api.github.com/users/DzmitryShylovich/orgs","repos_url":"https://api.github.com/users/DzmitryShylovich/repos","events_url":"https://api.github.com/users/DzmitryShylovich/events{/privacy}","received_events_url":"https://api.github.com/users/DzmitryShylovich/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T18:57:57Z","updated_at":"2016-12-13T18:57:57Z","body":"Pls add a small repro in plunkr"}}
{"actor":{"display_login":"DzmitryShylovich"}}