{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/19423","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/19423/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/19423/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/19423/events","html_url":"https://github.com/facebook/react-native/issues/19423","id":325982441,"number":19423,"title":"Bridge extractArgument: doubleValue() on a null object reference","user":{"login":"tapz","id":11726387,"avatar_url":"https://avatars3.githubusercontent.com/u/11726387?v=4","gravatar_id":"","url":"https://api.github.com/users/tapz","html_url":"https://github.com/tapz","followers_url":"https://api.github.com/users/tapz/followers","following_url":"https://api.github.com/users/tapz/following{/other_user}","gists_url":"https://api.github.com/users/tapz/gists{/gist_id}","starred_url":"https://api.github.com/users/tapz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapz/subscriptions","organizations_url":"https://api.github.com/users/tapz/orgs","repos_url":"https://api.github.com/users/tapz/repos","events_url":"https://api.github.com/users/tapz/events{/privacy}","received_events_url":"https://api.github.com/users/tapz/received_events","type":"User","site_admin":false},"labels":[{"id":872683359,"url":"https://api.github.com/repos/facebook/react-native/labels/:no_entry_sign:Invalid","name":":no_entry_sign:Invalid","color":"b60205","default":false},{"id":337217254,"url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-24T06:35:30Z","updated_at":"2018-05-29T11:21:14Z","closed_at":"2018-05-24T17:55:11Z","author_association":"NONE","body":"<!-- GitHub Issues in the `facebook/react-native` repository are used exclusively for tracking bugs in React Native. -->\r\n\r\n- [X] I have reviewed the [documentation](https://facebook.github.io/react-native)\r\n- [X] I have searched [existing issues](https://github.com/facebook/react-native/issues)\r\n- [X] I am using the [latest React Native version](https://github.com/facebook/react-native/releases)\r\n\r\n<!-- Describe your issue in detail. -->\r\n\r\nI got this to Crashlytics from one of the users of my app. Would be nice to get more information and the actual cause of the error.\r\n\r\n```\r\nFatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' on a null object reference\r\n       at com.facebook.react.bridge.ReadableNativeArray.getDouble(ReadableNativeArray.java:114)\r\n       at com.facebook.react.bridge.JavaMethodWrapper$4.extractArgument(JavaMethodWrapper.java:64)\r\n       at com.facebook.react.bridge.JavaMethodWrapper$4.extractArgument(JavaMethodWrapper.java:60)\r\n       at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:359)\r\n       at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160)\r\n       at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)\r\n       at android.os.Handler.handleCallback(Handler.java:789)\r\n       at android.os.Handler.dispatchMessage(Handler.java:98)\r\n       at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)\r\n       at android.os.Looper.loop(Looper.java:164)\r\n       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192)\r\n       at java.lang.Thread.run(Thread.java:764)\r\n```\r\n\r\n## Environment\r\n<!-- Required. Run `react-native info` in your terminal and paste its contents here. -->\r\n\r\nEnvironment:\r\n  OS: macOS High Sierra 10.13.4\r\n  Node: 8.11.1\r\n  Yarn: 1.6.0\r\n  npm: 5.6.0\r\n  Watchman: 4.9.0\r\n  Xcode: Xcode 9.3.1 Build version 9E501\r\n  Android Studio: 3.1 AI-173.4697961\r\n\r\nPackages: (wanted => installed)\r\n  react: 16.3.2 => 16.3.2\r\n  react-native: 0.55.4 => 0.55.4\r\n\r\n## Steps to Reproduce\r\nNo idea.\r\n\r\n## Expected Behavior\r\nNo crash\r\n\r\n## Actual Behavior\r\nCrash\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/392741851","html_url":"https://github.com/facebook/react-native/issues/19423#issuecomment-392741851","issue_url":"https://api.github.com/repos/facebook/react-native/issues/19423","id":392741851,"user":{"login":"tapz","id":11726387,"avatar_url":"https://avatars3.githubusercontent.com/u/11726387?v=4","gravatar_id":"","url":"https://api.github.com/users/tapz","html_url":"https://github.com/tapz","followers_url":"https://api.github.com/users/tapz/followers","following_url":"https://api.github.com/users/tapz/following{/other_user}","gists_url":"https://api.github.com/users/tapz/gists{/gist_id}","starred_url":"https://api.github.com/users/tapz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapz/subscriptions","organizations_url":"https://api.github.com/users/tapz/orgs","repos_url":"https://api.github.com/users/tapz/repos","events_url":"https://api.github.com/users/tapz/events{/privacy}","received_events_url":"https://api.github.com/users/tapz/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T11:21:14Z","updated_at":"2018-05-29T11:21:14Z","author_association":"NONE","body":"This is a React Native issue. It has something to do with the bridge, state changes and updating the UI. I changed the order in which I set the state an call native methods and the error does not occur anymore."}}
{"actor":{"display_login":"tapz"}}