Error: Failed to start an Appium session, err was: Error: Instruments crashed on startup

Link to appium log:

This problem appears at random times throughout the day. I can run my simulations perfectly fine, not change any settings, and then suddenly the instruments will crash. I have tried ‘killall node’ and ‘killall instruments’ in the command line, but this does not help. Neither prelaunch nor running test cases will work when this problem appears. Has anyone else had this problem? I have seen other similar topics, but I have not seen this in users that have successfully built an app and tested it multiple times before this appears. This happens every day, and I would love a solution to this problem. I am using appium 1.4.13 because this seems to run our app well.

Wow. Your app is crashing. Did you notice this crash in your logs? You need to file a bug:

info: [debug] [INST STDERR] 2016-06-08 15:24:43.779 instruments[983:16188] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[__NSCFString hasPrefix:]: nil argument’
*** First throw call stack:
0 CoreFoundation 0x00007fff9af3bae2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff8dcf2f7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff9af3b98d +[NSException raise:format:] + 205
3 CoreFoundation 0x00007fff9ae33df0 -[__NSCFString hasPrefix:] + 96
4 InstrumentsPlugIn 0x00000001021e9800 ___bestDeviceMatch_block_invoke + 502
5 libdispatch.dylib 0x00007fff960dc33f _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff960eaa9b _dispatch_barrier_sync_f_slow + 856
7 InstrumentsPlugIn 0x00000001021e95c4 _bestDeviceMatch + 233
8 InstrumentsPlugIn 0x00000001021e9a16 +[XRDeviceDiscovery devicesMatching:] + 57
9 instruments 0x0000000101e9e735 instruments + 10037
10 instruments 0x0000000101ea29ef instruments + 27119
11 libdyld.dylib 0x00007fff90f8b5ad start + 1
libc++abi.dylib: terminating with uncaught exception of type NSException