{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/20321","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/20321/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/20321/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/20321/events","html_url":"https://github.com/facebook/react-native/issues/20321","id":343232580,"node_id":"MDU6SXNzdWUzNDMyMzI1ODA=","number":20321,"title":"RN 0.56.0 Production build crash","user":{"login":"keshk26","id":18268072,"node_id":"MDQ6VXNlcjE4MjY4MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/18268072?v=4","gravatar_id":"","url":"https://api.github.com/users/keshk26","html_url":"https://github.com/keshk26","followers_url":"https://api.github.com/users/keshk26/followers","following_url":"https://api.github.com/users/keshk26/following{/other_user}","gists_url":"https://api.github.com/users/keshk26/gists{/gist_id}","starred_url":"https://api.github.com/users/keshk26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keshk26/subscriptions","organizations_url":"https://api.github.com/users/keshk26/orgs","repos_url":"https://api.github.com/users/keshk26/repos","events_url":"https://api.github.com/users/keshk26/events{/privacy}","received_events_url":"https://api.github.com/users/keshk26/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T20:08:16Z","updated_at":"2018-07-20T21:05:12Z","closed_at":null,"author_association":"NONE","body":"<!-- Requirements: please go through this checklist before opening a new issue -->\r\n  - [Yes] Review the documentation: https://facebook.github.io/react-native\r\n  - [Yes] Search for existing issues: https://github.com/facebook/react-native/issues\r\n  - [Yes] Use the latest React Native release: https://github.com/facebook/react-native/releases\r\n\r\n## Environment\r\n    System:\r\n      OS: macOS High Sierra 10.13.5\r\n      CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz\r\n      Memory: 2.02 GB / 16.00 GB\r\n      Shell: 3.2.57 - /bin/bash\r\n    Binaries:\r\n      Node: 8.11.3 - /usr/local/bin/node\r\n      Yarn: 1.5.1 - /usr/local/bin/yarn\r\n      npm: 5.6.0 - /usr/local/bin/npm\r\n      Watchman: 4.9.0 - /usr/local/bin/watchman\r\n    SDKs:\r\n      iOS SDK:\r\n        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3\r\n      Android SDK:\r\n        Build Tools: 23.0.1, 23.0.2, 23.0.3, 24.0.2, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 27.0.1\r\n        API Levels: 23, 24, 25, 26\r\n    IDEs:\r\n      Android Studio: 2.2 AI-145.3537739\r\n      Xcode: 9.4/9F1027a - /usr/bin/xcodebuild\r\n    npmPackages:\r\n      react: 16.4.1 => 16.4.1 \r\n      react-native: 0.56.0 => 0.56.0 \r\n\r\n## Description\r\nI have upgraded to RN 0.56.0 successfully. My app builds and runs in my development environment but it crashes in my production environment. Below is my stack trace. It seems to be an issue with the react package (com.facebook.react) but I am unsure how to troubleshoot this and haven't seen this issue asked before. \r\n\r\n2018-07-20 16:45:47.219 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'Sn')\r\n2018-07-20 16:45:47.221 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: undefined is not an object (evaluating 'Sn')\r\n2018-07-20 09:45:47.232 ServiceNative[92286:609162] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'Sn')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'Sn'), stack:\r\nextractEvents@112:27183\r\nextractEvents@112:23682\r\nhandleTopLevel@112:27390\r\n<unknown>@112:28875\r\nperform@113:3484\r\nK@112:6111\r\n_receiveRootNodeIDEvent@112:28846\r\nreceiveEvent@112:28958\r\nvalue@18:2853\r\n<unknown>@18:280\r\nvalue@18:2304\r\ncallFunctionReturnFlushedQueue@18:252\r\n'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x000000010af6334b __exceptionPreprocess + 171\r\n\t1   libobjc.A.dylib                     0x0000000109e7121e objc_exception_throw + 48\r\n\t2   ServiceNative                       0x00000001081c69c5 RCTFormatError + 0\r\n\t3   ServiceNative                       0x00000001081c34a0 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 507\r\n\t4   CoreFoundation                      0x000000010aeea05c __invoking___ + 140\r\n\t5   CoreFoundation                      0x000000010aee9ee1 -[NSInvocation invoke] + 289\r\n\t6   CoreFoundation                      0x000000010af01ed6 -[NSInvocation invokeWithTarget:] + 54\r\n\t7   ServiceNative                       0x00000001081da229 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 602\r\n\t8   ServiceNative                       0x0000000108220b22 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 266\r\n\t9   ServiceNative                       0x000000010822089c ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 78\r\n\t10  libdispatch.dylib                   0x000000010eaff980 _dispatch_call_block_and_release + 12\r\n\t11  libdispatch.dylib                   0x000000010eb290cd _dispatch_client_callout + 8\r\n\t12  libdispatch.dylib                   0x000000010eb06e6b _dispatch_queue_serial_drain + 236\r\n\t13  libdispatch.dylib                   0x000000010eb07b9f _dispatch_queue_invoke + 1073\r\n\t14  libdispatch.dylib                   0x000000010eb0807f _dispatch_queue_override_invoke + 683\r\n\t15  libdispatch.dylib                   0x000000010eb0a3b7 _dispatch_root_queue_drain + 720\r\n\t16  libdispatch.dylib                   0x000000010eb0a08b _dispatch_worker_thread3 + 123\r\n\t17  libsystem_pthread.dylib             0x000000010eedd169 _pthread_wqthread + 1387\r\n\t18  libsystem_pthread.dylib             0x000000010eedcbe9 start_wqthread + 13\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n\r\n## Reproducible Demo\r\nRun on simulator/device pointing to your production environment. \r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/406726800","html_url":"https://github.com/facebook/react-native/issues/20321#issuecomment-406726800","issue_url":"https://api.github.com/repos/facebook/react-native/issues/20321","id":406726800,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjcyNjgwMA==","user":{"login":"react-native-bot","id":32686087,"node_id":"MDQ6VXNlcjMyNjg2MDg3","avatar_url":"https://avatars0.githubusercontent.com/u/32686087?v=4","gravatar_id":"","url":"https://api.github.com/users/react-native-bot","html_url":"https://github.com/react-native-bot","followers_url":"https://api.github.com/users/react-native-bot/followers","following_url":"https://api.github.com/users/react-native-bot/following{/other_user}","gists_url":"https://api.github.com/users/react-native-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/react-native-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-native-bot/subscriptions","organizations_url":"https://api.github.com/users/react-native-bot/orgs","repos_url":"https://api.github.com/users/react-native-bot/repos","events_url":"https://api.github.com/users/react-native-bot/events{/privacy}","received_events_url":"https://api.github.com/users/react-native-bot/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T21:05:12Z","updated_at":"2018-07-20T21:05:12Z","author_association":"COLLABORATOR","body":"It looks like your issue may be missing some necessary information. Can you run `react-native info` and edit your issue to include these results under the **Environment** section?\n"}}
{"actor":{"display_login":"react-native-bot"}}