question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RCTBatchedBridge] Exception when running app

See original GitHub issue

Even on a fresh install, I keep receiving this exception when trying to run my RN app:

2015-08-21 11:30:02.977 MyApp[46251:1723441] -[RCTBatchedBridge perfStats]: unrecognized selector sent to instance 0x7fabf9bb8a00
2015-08-21 11:30:02.983 MyApp[46251:1723441] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCTBatchedBridge perfStats]: unrecognized selector sent to instance 0x7fabf9bb8a00'
*** First throw call stack:
(
    0   CoreFoundation                      0x0000000106018c65 __exceptionPreprocess + 165
    1   libobjc.A.dylib                     0x0000000105cb1bb7 objc_exception_throw + 45
    2   CoreFoundation                      0x00000001060200ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    3   CoreFoundation                      0x0000000105f7613c ___forwarding___ + 988
    4   CoreFoundation                      0x0000000105f75cd8 _CF_forwarding_prep_0 + 120
    5   MyApp                       0x0000000104815516 -[RCTBatchedBridge _mainThreadUpdate:] + 422
    6   QuartzCore                          0x0000000106e7710f _ZN2CA7Display15DisplayLinkItem8dispatchEv + 37
    7   QuartzCore                          0x0000000106e76fd7 _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 315
    8   CoreFoundation                      0x0000000105f80174 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    9   CoreFoundation                      0x0000000105f7fd35 __CFRunLoopDoTimer + 1045
    10  CoreFoundation                      0x0000000105f41d3d __CFRunLoopRun + 1901
    11  CoreFoundation                      0x0000000105f41366 CFRunLoopRunSpecific + 470
    12  GraphicsServices                    0x0000000108e91a3e GSEventRunModal + 161
    13  UIKit                               0x0000000106fd08c0 UIApplicationMain + 1282
    14  MyApp                       0x00000001047b68af main + 111
    15  libdyld.dylib                       0x0000000109673145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

RN version 0.8.0

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:35 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
RobinClowerscommented, Nov 21, 2016

I fixed this error just by rm -rf node_modules && npm install.

1reaction
shiba4lifecommented, Nov 2, 2015

Had a similar issue, I fixed it by updating plist with the following:

<key>LSApplicationQueriesSchemes</key>
<array>
        <string>fbapi</string>
        <string>fb-messenger-api</string>
        <string>fbauth2</string>
        <string>fbshareextension</string>
</array>

here’s the facebook page that describes the changes:

https://developers.facebook.com/docs/ios/ios9

Read more comments on GitHub >

github_iconTop Results From Across the Web

[RCTBatchedBridge perfStats]: unrecognized selector sent to ...
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCTBatchedBridge perfStats]: unrecognized selector sent ...
Read more >
No script URL provided react native error - Apple Developer
Hello all, can't figure out the app crash it builds well and works in Debug mode, but in release modeit build but crashes...
Read more >
Error-while running locally - Mendix Forum
Hi, I get an error while I start my app to run locally. The console message is : An exception occured while running...
Read more >
Best running apps in 2022, tested by our editors - CNN
Running apps can help runners of all ages and abilities keep track of ... We ran through each app multiple times — with...
Read more >
10 best free running apps for iOS & Android 2022 - Asurion
running app for you, whether you're a beginner, an advanced runner, or just looking to map your route. ... And smartphones are no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found