{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/4471","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/4471/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/4471/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/4471/events","html_url":"https://github.com/facebook/react-native/issues/4471","id":119733472,"number":4471,"title":"[Android] Emulator displays weird error messages","user":{"login":"tomazahlin","id":5858023,"avatar_url":"https://avatars.githubusercontent.com/u/5858023?v=3","gravatar_id":"","url":"https://api.github.com/users/tomazahlin","html_url":"https://github.com/tomazahlin","followers_url":"https://api.github.com/users/tomazahlin/followers","following_url":"https://api.github.com/users/tomazahlin/following{/other_user}","gists_url":"https://api.github.com/users/tomazahlin/gists{/gist_id}","starred_url":"https://api.github.com/users/tomazahlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomazahlin/subscriptions","organizations_url":"https://api.github.com/users/tomazahlin/orgs","repos_url":"https://api.github.com/users/tomazahlin/repos","events_url":"https://api.github.com/users/tomazahlin/events{/privacy}","received_events_url":"https://api.github.com/users/tomazahlin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/Android","name":"Android","color":"bfe5bf"},{"url":"https://api.github.com/repos/facebook/react-native/labels/JS","name":"JS","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-01T14:57:36Z","updated_at":"2016-02-28T16:40:42Z","closed_at":null,"body":"During developing, for almost any kind of mistake that I do in the code, for example:\r\n\r\n- Forget to import components which are used inside render() method\r\n- Comments inside return function in the render() method\r\n- Using undeclared variables\r\n- Trying to access unexisting property of an object\r\nAnd lots more... \r\n\r\nI always get this error message:\r\n\r\nTypeError: expected dynamic type 'double', but had type 'null' (constructing arguments for RKUIManager.updateView at argument index 0)\r\n\r\nThis error has absolutely no useful information and instead I should get the right error displayed, for example with the file name and line (position) where the mistake is.\r\n\r\nMaybe it is just me doing something wrong, but I also tried different things, for example putting console.log(test); (where test is not declared) in different parts of application. Sometimes I get the right error saying that the test is not defined, sometimes I get the red error page with the above message, sometimes no error at all and app just breaks.\r\n\r\nCan someone explain me what I am doing wrong, or if this is a bug, I think it is a very important one, because it is impossible to develop with such a framework.\r\n\r\nPlease help.\r\n\r\nTomaž\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/189900254","html_url":"https://github.com/facebook/react-native/issues/4471#issuecomment-189900254","issue_url":"https://api.github.com/repos/facebook/react-native/issues/4471","id":189900254,"user":{"login":"johannesspohr","id":1831098,"avatar_url":"https://avatars.githubusercontent.com/u/1831098?v=3","gravatar_id":"","url":"https://api.github.com/users/johannesspohr","html_url":"https://github.com/johannesspohr","followers_url":"https://api.github.com/users/johannesspohr/followers","following_url":"https://api.github.com/users/johannesspohr/following{/other_user}","gists_url":"https://api.github.com/users/johannesspohr/gists{/gist_id}","starred_url":"https://api.github.com/users/johannesspohr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannesspohr/subscriptions","organizations_url":"https://api.github.com/users/johannesspohr/orgs","repos_url":"https://api.github.com/users/johannesspohr/repos","events_url":"https://api.github.com/users/johannesspohr/events{/privacy}","received_events_url":"https://api.github.com/users/johannesspohr/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T16:40:42Z","updated_at":"2016-02-28T16:40:42Z","body":"Am I the only one who is extremely annoyed by this? I keep getting this error for all kinds of reasons and it gives absolutely no information about where to start debugging. About 80 % of development time in react native I am commenting out components and reinserting them to try to figure out which component caused the error."}}