I am trying to build the Pong example that is distributed with SFML. I am using the latest macOS.
The code compiles, however when I launch I get the following error:
pong[14920:316603] ***
Terminating app due to uncaught exception
'NSInvalidArgumentException', reason:
'-[SFOpenGLView updateCursorGrabbed]: unrecognized selector sent to instance 0x7fa02948e890'
...
I am not familiar with Objective-C/C++, so I have the following questions:
What does this error mean?
How do I know what the valid NS arguments are?
Why is SFML trying to use invalid arguments; do I need to update?
Related
Full error thrown:
[fatal][tid:com.facebook.react.linkingmanagerqueue]
exception '-[nsnull absolutestring]: unrecognized selector sent to instance 0x10d8b5ea8'
was thrown while invoking getinitialurl on target linkingmanager with params (
626, 627
)
I am stuck, and have no idea what this error means and how to solve it.
I have ejected to ExpoKit, and am trying to add react-native-fbsdk to my project.
I have followed the instructions laid out here: https://github.com/facebook/react-native-fbsdk, and the android build went just fine.
After following the instructions for ios (except that I did pod install), and this error appeared.
I really would appreciate any help, thank you!
I've been building a react-native app and up till now it's been working fine with both remote JS bundle and also local bundle, having run react-native bundle. However as of today my local bundle will not load on my device whatever I try. I keep getting the following stack trace upon launching of the app:
2018-01-03 16:54:28.758526+0000 App[5750:1165819] [DYMTLInitPlatform] platform initialization successful
WARNING: Logging before InitGoogleLogging() is written to STDERR
E0103 16:54:29.372881 1847881728 JSCHelpers.cpp:137] Got JS Exception: Can't find variable: setTimeout (/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:364)
E0103 16:54:29.373000 1847881728 JSCHelpers.cpp:143] Got JS Stack: /var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:364:6244
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:364:156
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:364:197
t#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:2:620
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:362:1781
t#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:2:620
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:361:103
t#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:2:620
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:360:136
t#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:2:620
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:298:317
t#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:2:620
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:12:38
t#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:2:620
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:2:154
global code#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:722:9
E0103 16:54:29.376503 1847881728 JSCHelpers.cpp:137] Got JS Exception: Exception calling object as function: Module AppRegistry is not a registered callable module (calling runApplication) (<unknown file>:14)
E0103 16:54:29.376549 1847881728 JSCHelpers.cpp:143] Got JS Stack: exports#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:14:306
value#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:18:2937
/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:18:812
value#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:18:2507
value#/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:18:784
value#[native code]
2018-01-03 16:54:29.377 [fatal][tid:main] Unhandled JS Exception: Can't find variable: setTimeout (/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:364)
2018-01-03 16:54:29.378191+0000 App[5750:1165546] Unhandled JS Exception: Can't find variable: setTimeout (/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:364)
2018-01-03 16:54:29.378319+0000 App[5750:1165546] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: Can't find variable: setTimeout (/var/containers/Bundle/Application/19F39B2A-43F0-4FB1-BD1D-34254608E4BB/App.app/main.jsbundle:364)', reason: 'Unhandled JS Exception: Can't find variable: setTimeout (/var/containers/Bu...'
*** First throw call stack:
(0x18295e364 0x181ba4528 0x18295e2ac 0x1029f4344 0x1029dfe44 0x104a452cc 0x104a4528c 0x104a49ea0 0x182906544 0x182904120 0x182823e58 0x1846cef84 0x18bea2844 0x102993684 0x18234056c)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
I've tried re-installing all node_modules and all pods, cleaning the project and re-bundling the JS with no luck. Strangely the app still works when loading the bundle remotely.
Getting error in spinnaker when we start the web-ui.
Get stuck too much. The error i got is:
vendor.bundle.js:9331 Uncaught Error: [$injector:modulerr] Failed to instantiate module netflix.spinnaker due to:
Error: [$injector:modulerr] Failed to instantiate module spinnaker.core due to:
Error: [$injector:modulerr] Failed to instantiate module spinnaker.core.notification.types due to:
TypeError: Cannot read property 'email' of undefined at Object.register
thanks .
What spinnaker version do you run?
Upgrade spinnaker first
perhaps use Minnaker OSS to get started faster for PoC.
Getting error while running App in Xcode and shows error like this
"terminating with uncaught exception of type NSException"
looking for your help
I start my project crashes immediately on ios7 , with the following error , but I can not understand how to solve .
2014-12-08 18:29:07.605 MyProject[1293:613] +[SKLabelNode nodeWithFileNamed:]: unrecognized selector sent to class 0x10c6273a0
2014-12-08 18:29:07.608 MyProject[1293:613] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[SKLabelNode nodeWithFileNamed:]: unrecognized selector sent to class 0x10c6273a0'
As you can see in the image bellow the method nodeWithFileNamed: is available in iOS 8.0 and above, this is why your app is crashing on a lower iOS version.