QT change QSystemTrayIcon at runtime - qt

I'm trying to change the QSystemTrayIcon at various points in my application, example:
void MainWindow::goOnline() {
isOnlineFlag = true;
QIcon xmediaIcon("://notificationLogo.png");
sti->setIcon(xmediaIcon);
}
void MainWindow::goOffline(bool manual) {
isOnlineFlag = false;
QIcon xmediaIcon("://notificationLogoOffline.png");
sti->setIcon(xmediaIcon);
}
But for some reason the application crashes at times.
Crash log:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x0000000101813171 QIcon::operator=(QIcon const&) + 33
1 QtWidgets 0x000000010207a2d6 QSystemTrayIcon::setIcon(QIcon const&) + 22
2 com.yourcompany.app 0x000000010002b089 MainWindow::goOffline(bool) + 617
3 com.yourcompany.app 0x00000001000bb736 MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 19382
4 QtCore 0x00000001013edda6 QMetaObject::activate(QObject*, int, int, void**) + 2550
5 QtCore 0x00000001013e6c93 QObject::event(QEvent*) + 51
6 QtWidgets 0x0000000101d55f2c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
7 QtWidgets 0x0000000101d58a1d QApplication::notify(QObject*, QEvent*) + 6157
8 QtCore 0x00000001013bd0b2 QCoreApplication::notifyInternal(QObject*, QEvent*) + 114
9 QtCore 0x000000010140e746 QTimerInfoList::activateTimers() + 982
10 libqcocoa.dylib 0x0000000104e58fc5 QCocoaEventDispatcherPrivate::activateTimersSourceCallback(void*) + 21
11 com.apple.CoreFoundation 0x00007fff9038c731 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
12 com.apple.CoreFoundation 0x00007fff9037dea2 __CFRunLoopDoSources0 + 242
13 com.apple.CoreFoundation 0x00007fff9037d62f __CFRunLoopRun + 831
14 com.apple.CoreFoundation 0x00007fff9037d0b5 CFRunLoopRunSpecific + 309
15 com.apple.HIToolbox 0x00007fff86261a0d RunCurrentEventLoopInMode + 226
16 com.apple.HIToolbox 0x00007fff862617b7 ReceiveNextEventCommon + 479
17 com.apple.HIToolbox 0x00007fff862615bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
18 com.apple.AppKit 0x00007fff837193de _DPSNextEvent + 1434
19 com.apple.AppKit 0x00007fff83718a2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
20 com.apple.AppKit 0x00007fff8370cb2c -[NSApplication run] + 553
21 libqcocoa.dylib 0x0000000104e59d44 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2404
22 QtCore 0x00000001013ba64d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 397
23 QtCore 0x00000001013bd652 QCoreApplication::exec() + 354
24 com.yourcompany.app 0x0000000100007906 main + 1558
25 com.yourcompany.app 0x0000000100006584 start + 52
Any ideas what the problem could be?

Related

New Xcode 14 beta I got this error: QOS_CLASS_USER_INITIATED waiting on a lower QoS thread running at QOS_CLASS_DEFAULT

My app is working well and I didn't get this error on Xcode 13, But in Xcode 14 I'm getting this error from Firebase Database.
Firebase Database Error
Backtrace
=================================================================
3 FirebaseDatabase 0x000000011267c6eb -[_FSRRunLoopThread runLoop] + 43
4 FirebaseDatabase 0x000000011267c443 __45+[NSRunLoop(FSRWebSocket) FSR_networkRunLoop]_block_invoke + 115
5 libdispatch.dylib 0x00000001198eefeb _dispatch_client_callout + 8
6 libdispatch.dylib 0x00000001198f0645 _dispatch_once_callout + 66
7 FirebaseDatabase 0x000000011267c39e +[NSRunLoop(FSRWebSocket) FSR_networkRunLoop] + 78
8 FirebaseDatabase 0x00000001126758be -[FSRWebSocket _connect] + 78
9 FirebaseDatabase 0x0000000112674562 -[FSRWebSocket open] + 258
10 FirebaseDatabase 0x00000001126a409e -[FWebSocketConnection open] + 270
11 FirebaseDatabase 0x0000000112614268 -[FConnection open] + 120
12 FirebaseDatabase 0x000000011264ed4a -[FPersistentConnection openNetworkConnectionWithContext:] + 698
13 FirebaseDatabase 0x000000011264e92b __45-[FPersistentConnection tryScheduleReconnect]_block_invoke_2 + 347
14 FirebaseDatabase 0x000000011262671e __80-[FIRDatabaseConnectionContextProvider fetchContextForcingRefresh:withCallback:]_block_invoke.87 + 110
15 libdispatch.dylib 0x00000001198edda8 _dispatch_call_block_and_release + 12
16 libdispatch.dylib 0x00000001198eefeb _dispatch_client_callout + 8
17 libdispatch.dylib 0x00000001198f6dd1 _dispatch_lane_serial_drain + 1064
18 libdispatch.dylib 0x00000001198f7bab _dispatch_lane_invoke + 441
19 libdispatch.dylib 0x0000000119905f63 _dispatch_workloop_worker_thread + 959
20 libsystem_pthread.dylib 0x0000000119efcfd0 _pthread_wqthread + 326
21 libsystem_pthread.dylib 0x0000000119efbf57 start_wqthread + 15
This priority inversion issue is fixed in the latest version (9.6.0) - See release note with the issue thread.
[Fixed] Fix priority inversion issue exposed by Xcode 14 (#10130).

Flutter Firestore Query Error Occurred While Parsing Query Arguments

I have an existing iOS and Android app which I have added Flutter to. Everything is working as intended. I am able to initialize Firebase and log in anonymously using Firebase Authentication. However, when I try to query the Firestore Database I get the following error:
An error occurred while parsing query arguments, this is most likely an error with this SDK. (
0 CoreFoundation 0x00007fff20406d44 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff201a4a65 objc_exception_throw + 48
2 myApp Dev 0x000000010aa64196 _ZN8firebase9firestore4util16ObjcThrowHandlerENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 106
3 myApp Dev 0x000000010aa63d0c _ZN8firebase9firestore4util5ThrowENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 10
4 myApp Dev 0x000000010aa8b269 _ZN8firebase9firestore4util17ThrowIllegalStateIJEEEvPKcDpRKT_ + 47
5 myApp Dev 0x000000010aa737d9 _ZN8firebase9firestore3api9Firestore12set_settingsERKNS1_8SettingsE + 175
6 myApp Dev 0x000000010aa8bbb1 -[FIRFirestore setSettings:] + 132
7 myApp Dev 0x000000010aca0bb5 -[FLTFirebaseFirestoreReader FIRFirestore] + 597
8 myApp Dev 0x000000010ac9e9d9 -[FLTFirebaseFirestoreReader readValueOfType:] + 1449
9 Flutter 0x000000010f0b8a0f -[FlutterStandardReader readValueOfType:] + 680
10 myApp Dev 0x000000010ac9eae7 -[FLTFirebaseFirestoreReader readValueOfType:] + 1719
11 myApp Dev 0x000000010ac9f0f9 -[FLTFirebaseFirestoreReader FIRQuery] + 73
12 myApp Dev 0x000000010ac9e9fb -[FLTFirebaseFirestoreReader readValueOfType:] + 1483
13 Flutter 0x000000010f0b8a0f -[FlutterStandardReader readValueOfType:] + 680
14 myApp Dev 0x000000010ac9eae7 -[FLTFirebaseFirestoreReader readValueOfType:] + 1719
15 Flutter 0x000000010f0b726b -[FlutterStandardMethodCodec decodeMethodCall:] + 76
16 Flutter 0x000000010f0b576e __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 37
17 Flutter 0x000000010eaef0f2 ___ZN7flutter25PlatformMessageHandlerIos21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE_block_invoke + 86
18 libdispatch.dylib 0x000000010c4d5816 _dispatch_call_block_and_release + 12
19 libdispatch.dylib 0x000000010c4d6a5b _dispatch_client_callout + 8
20 libdispatch.dylib 0x000000010c4e5325 _dispatch_main_queue_drain + 1169
21 libdispatch.dylib 0x000000010c4e4e86 _dispatch_main_queue_callback_4CF + 31
22 CoreFoundation 0x00007fff20373261 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
23 CoreFoundation 0x00007fff2036da56 __CFRunLoopRun + 2761
24 CoreFoundation 0x00007fff2036ca90 CFRunLoopRunSpecific + 562
25 GraphicsServices 0x00007fff2cb72c8e GSEventRunModal + 139
26 UIKitCore 0x00007fff2508e90e -[UIApplication _run] + 928
27 UIKitCore 0x00007fff25093569 UIApplicationMain + 101
28 myApp Dev 0x000000010a8d1638 main + 56
29 dyld 0x000000010baddf21 start_sim + 10
30 ??? 0x000000011abc451e 0x0 + 4743513374
)
2022-04-22 19:31:13.053635-0600 myApp Dev[4022:3041493] *** Assertion failure in -[FlutterStandardMethodCodec decodeMethodCall:], FlutterStandardCodec.mm:120
2022-04-22 19:31:13.061828-0600 myApp Dev[4022:3041493] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Corrupted standard method call'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff20406d44 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff201a4a65 objc_exception_throw + 48
2 Foundation 0x00007fff2075e634 _userInfoForFileAndLine + 0
3 Flutter 0x000000010f0b730b -[FlutterStandardMethodCodec decodeMethodCall:] + 236
4 Flutter 0x000000010f0b576e __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 37
5 Flutter 0x000000010eaef0f2 ___ZN7flutter25PlatformMessageHandlerIos21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE_block_invoke + 86
6 libdispatch.dylib 0x000000010c4d5816 _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x000000010c4d6a5b _dispatch_client_callout + 8
8 libdispatch.dylib 0x000000010c4e5325 _dispatch_main_queue_drain + 1169
9 libdispatch.dylib 0x000000010c4e4e86 _dispatch_main_queue_callback_4CF + 31
10 CoreFoundation 0x00007fff20373261 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
11 CoreFoundation 0x00007fff2036da56 __CFRunLoopRun + 2761
12 CoreFoundation 0x00007fff2036ca90 CFRunLoopRunSpecific + 562
13 GraphicsServices 0x00007fff2cb72c8e GSEventRunModal + 139
14 UIKitCore 0x00007fff2508e90e -[UIApplication _run] + 928
15 UIKitCore 0x00007fff25093569 UIApplicationMain + 101
16 myApp Dev 0x000000010a8d1638 main + 56
17 dyld 0x000000010baddf21 start_sim + 10
18 ??? 0x000000011abc451e 0x0 + 4743513374
)
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/username/Library/Developer/Xcode/DerivedData/myApp-efvmuyofdpilzaamxqttwccqckxt/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/username/Library/Developer/Xcode/DerivedData/myApp-efvmuyofdpilzaamxqttwccqckxt/Build/Products/Debug-iphonesimulator
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Corrupted standard method call'
terminating with uncaught exception of type NSException
CoreSimulator 802.6 - Device: iPhone 13 Pro (33D54B65-82B4-414D-9D65-AE129A62EB94) - Runtime: iOS 15.4 (19E240) - DeviceType: iPhone 13 Pro
My code is as follows:
try {
var snapshot =
await FirebaseFirestore.instance.collection('users').get();
inspect(snapshot);
// List<dynamic> result =
// (snapshot as QuerySnapshot).docs.map((doc) => doc.data()).toList();
// debugPrint(result.toString());
// inspect(result);
} catch (error) {
debugPrint(error.toString());
}
I have searched around for a solutions but nothing has worked.

WatchOS 6 TTS bug ? AXSpeechManager isSpeaking crash

Here is the bug report. I think it's a bug of watchOS 6 something related to apple Text to Speech service.
When i not use tts, it's go away.
Incident Identifier: 3C86B3F2-0565-464C-921C-A0ECB63237EB
CrashReporter Key: 9de6d125d2514512fa87c39b4cc898e09cf8d8cc
Hardware Model: Watch4,4
Process: LeanWatchApp Extension [367]
Path: /private/var/containers/Bundle/Application/D8EC0163-C8EA-4375-B556-3C751744EEE3/LeanWatchApp.app/PlugIns/LeanWatchApp Extension.appex/LeanWatchApp Extension
Identifier: hltek.Lean.watchkitapp.watchkitextension
Version: 4 (1.15)
Code Type: ARM (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: hltek.Lean.watchkitapp.watchkitextension [473]
Date/Time: 2019-10-08 08:45:38.1157 +0800
Launch Time: 2019-10-08 08:42:38.0000 +0800
OS Version: Watch OS 6.0.1 (17R605)
Release Type: User
Baseband Version:
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000195eb0c0
VM Region Info: 0x195eb0c0 is not in any region. Bytes after previous region: 553153 Bytes before following region: 104714048
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
Stack 194dc000-19564000 [ 544K] rw-/rwx SM=COW thread 5
---> GAP OF 0x6464000 BYTES
unused shlib __TEXT 1f9c8000-1f9ee000 [ 152K] r-x/r-x SM=COW ... this process
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [367]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_pthread.dylib 0x1fd6a670 pthread_get_qos_class_np + 8
1 Foundation 0x20adf988 -[NSThread qualityOfService] + 80
2 Foundation 0x20aa24e8 -[NSObject+ 271592 (NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 272
3 Foundation 0x20aa43f4 -[NSObject+ 279540 (NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:] + 116
4 libAXSpeechManager.dylib 0x437a88f0 -[AXSpeechManager isSpeaking] + 112
5 libAXSpeechManager.dylib 0x437a3c38 -[AXSpeechManager _didBeginInterruption] + 52
6 libAXSpeechManager.dylib 0x437a3fec -[AXSpeechManager _handleAudioInterruption:] + 500
7 CoreFoundation 0x200bb1d0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
8 CoreFoundation 0x200bb218 ___CFXRegistrationPost1_block_invoke + 64
9 CoreFoundation 0x200ba580 _CFXRegistrationPost1 + 368
10 CoreFoundation 0x200ba24c ___CFXNotificationPost_block_invoke + 104
11 CoreFoundation 0x20037fec -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1392
12 CoreFoundation 0x200b9bc8 _CFXNotificationPost + 1188
13 Foundation 0x20a694c0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 60
14 AVFAudio 0x2ac2048c -[AVAudioSession privateInterruptionWithInfo:] + 992
15 AVFAudio 0x2ac22c30 (anonymous namespace)::HandlePropertyListenerCallback+ 597040 (unsigned int, objc_selector*, NSObject*) + 72
16 libdispatch.dylib 0x1fb333a0 _dispatch_call_block_and_release + 24
17 libdispatch.dylib 0x1fb34730 _dispatch_client_callout + 16
18 libdispatch.dylib 0x1fb405a8 _dispatch_main_queue_callback_4CF + 992
19 CoreFoundation 0x200dbe6c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
20 CoreFoundation 0x200d6a10 __CFRunLoopRun + 740
21 CoreFoundation 0x200d6420 CFRunLoopRunSpecific + 464
22 GraphicsServices 0x236462ec GSEventRunModal + 100
23 UIKitCore 0x3ca1f784 UIApplicationMain + 1760
24 libxpc.dylib 0x1fdc4aa4 _xpc_objc_main.cold.3 + 208
25 libxpc.dylib 0x1fdb0a90 _xpc_objc_main + 212
26 libxpc.dylib 0x1fdb33e4 xpc_main + 152
27 Foundation 0x20aa663c +[NSXPCListener serviceListener] + 0
28 PlugInKit 0x298462f8 0x2982d000 + 103160
29 WatchKit 0x325c4f94 WKExtensionMain + 60
30 WatchKit 0x325c4fb8 main + 12
31 libdyld.dylib 0x1fb70a38 start + 4
It's very similar to this:
App is getting crashed on app launch in iOS 13 beta version
When make wrist down , the watch screen off ,It always crash. but my app is Workout app, it can work in background before watchOS 6.

ios google analytic 3.03 out of memory

google analytics out of memory in ios?
My project was to apply the google Analytic 3.03 version.
id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];
// This screen name value will remain set on the tracker and sent with
// hits until it is set to a new value or to nil.
// page is string param
[tracker set:kGAIScreenName value:page];
[tracker send:[[GAIDictionaryBuilder createAppView] build]];
this is image...
http://i41.tinypic.com/25rnuh4.jpg
because of last line method
[tracker send:[[GAIDictionaryBuilder createAppView] build]];
this log message :
malloc: * mmap(size=1291476992) failed (error code=12)
WARNING: GoogleAnalytics 3.03 void GAIUncaughtExceptionHandler(NSException *) (GAIUncaughtExceptionHandler.m:49): Uncaught exception: Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save.
VERBOSE: GoogleAnalytics 3.03 -[GAIRequestBuilder requestGetUrl:payload:] (GAIRequestBuilder.m:177): building URLRequest for https://ssl.google-analytics.com/collect
VERBOSE: GoogleAnalytics 3.03 -[GAIBatchingDispatcher dispatch] (GAIBatchingDispatcher.m:503): Sending hit(s)
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher didSendHits:response:data:error:] (GAIBatchingDispatcher.m:157): Hit(s) dispatched: HTTP status 200
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher deleteHits:] (GAIBatchingDispatcher.m:430): hit(s) Successfully dispatched
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher didSendHits:] (GAIBatchingDispatcher.m:167): 1 hit(s) sent
* Terminating app due to uncaught exception 'NSMallocException', reason: 'Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save.'
* First throw call stack:
(
0 CoreFoundation 0x044585e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x039b18b6 objc_exception_throw + 44
2 Foundation 0x0368a4a1 _NSOutOfMemoryErrorHandler + 72
3 CoreFoundation 0x043d9488 __CFStringChangeSizeMultiple + 1704
4 CoreFoundation 0x043dc4ae CFStringAppend + 318
5 CoreFoundation 0x043d6e03 __CFStringAppendFormatCore + 8611
6 CoreFoundation 0x0447a1d5 _CFStringAppendFormatAndArgumentsAux + 69
7 CoreFoundation 0x0447a179 -[__NSCFString appendFormat:] + 89
8 MyApp 0x000d1a4a -[NSDictionary(Description) descriptionWithLocale:indent:] + 762
9 libobjc.A.dylib 0x039c3874 -[NSObject performSelector:withObject:withObject:] + 77
10 MyApp 0x0000be1d -[NSObject(Description) descriptionForObject:locale:indent:] + 397
11 MyApp 0x000d1a0b -[NSDictionary(Description) descriptionWithLocale:indent:] + 699
12 CoreFoundation 0x04453ce0 -[NSDictionary descriptionWithLocale:] + 48
13 Foundation 0x035ce785 _NSDescriptionWithLocaleFunc + 93
14 CoreFoundation 0x043d6dc6 __CFStringAppendFormatCore + 8550
15 CoreFoundation 0x04417944 _CFStringCreateWithFormatAndArgumentsAux + 116
16 Foundation 0x035cd690 -[NSPlaceholderString initWithFormat:locale:arguments:] + 143
17 Foundation 0x035ce70d +[NSString stringWithFormat:] + 88
18 Myapp 0x00295b64 -[GAIBatchingDispatcher persist:] + 342
19 MyApp 0x00296f9a -[GAIBatchingDispatcher queueDispatch:] + 538
20 MyApp 0x00296d68 -[GAIBatchingDispatcher queueModel:] + 146
21 libobjc.A.dylib 0x039c381f -[NSObject performSelector:withObject:] + 70
22 Foundation 0x036069d8 __NSThreadPerformPerform + 285
23 CoreFoundation 0x043e183f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
24 CoreFoundation 0x043e11cb __CFRunLoopDoSources0 + 235
25 CoreFoundation 0x043fe29e __CFRunLoopRun + 910
26 CoreFoundation 0x043fdac3 CFRunLoopRunSpecific + 467
27 CoreFoundation 0x043fd8db CFRunLoopRunInMode + 123
28 Foundation 0x0360e9c5 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 284
29 Foundation 0x035aa8d1 -[NSRunLoop(NSRunLoop) run] + 82
30 MyApp 0x00287164 +[GAI threadMain:] + 70
31 Foundation 0x03609597 -[NSThread main] + 76
32 Foundation 0x036094f6 __NSThread__main__ + 1275
33 libsystem_c.dylib 0x040015b7 _pthread_start + 344
34 libsystem_c.dylib 0x03febdce thread_start + 34
)
What's the problem?

Application stops while loading data

Hi Guys
I am getting the build time error as: Misconfigured Property. Command /Developer/usr/bin/momc failed with exit code 6
:EDIT:
Done with MOMC error.
Application build & run successful; however stops while loading data:
2011-05-02 21:47:40.779 ReportViewer[3448:5d03] *** copyDb2TargetDir is successful ***
2011-05-02 21:47:41.000 ReportViewer[3448:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray insertObject:atIndex:]: attempt to insert nil object at 0'
*** Call stack at first throw:
(
0 CoreFoundation 0x016575a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x017ab313 objc_exception_throw + 44
2 CoreFoundation 0x016511b1 -[__NSArrayM insertObject:atIndex:] + 225
3 CoreFoundation 0x0164c604 -[__NSArrayM addObject:] + 68
4 CoreData 0x00da9b0e +[NSManagedObjectModel mergedModelFromBundles:] + 350
5 ReportViewer 0x0000796f -[ReportStorage managedObjectModel] + 115
6 ReportViewer 0x00007ad9 -[ReportStorage persistentStoreCoordinator] + 307
7 ReportViewer 0x0000785d -[ReportStorage managedObjectContext] + 85
8 ReportViewer 0x0000351d -[ReportStorage init] + 85
9 ReportViewer 0x00002da4 -[ReportDataManager init] + 137
10 ReportViewer 0x00002c18 +[ReportDataManager sharedManager] + 88
11 ReportViewer 0x00009c8c -[FlipViewController viewDidLoad] + 327
12 UIKit 0x003ad089 -[UIViewController view] + 179
13 ReportViewer 0x0001ba77 -[StartFakeViewController dbMoveComplete] + 518
14 Foundation 0x0007c94e __NSThreadPerformPerform + 251
15 CoreFoundation 0x016388ff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
16 CoreFoundation 0x0159688b __CFRunLoopDoSources0 + 571
17 CoreFoundation 0x01595d86 __CFRunLoopRun + 470
18 CoreFoundation 0x01595840 CFRunLoopRunSpecific + 208
19 CoreFoundation 0x01595761 CFRunLoopRunInMode + 97
20 GraphicsServices 0x01f141c4 GSEventRunModal + 217
21 GraphicsServices 0x01f14289 GSEventRun + 115
22 UIKit 0x0030bc93 UIApplicationMain + 1160
23 ReportViewer 0x00001c9c main + 102
24 ReportViewer 0x00001c2d start + 53
25 ??? 0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException' sharedlibrary apply-load-rules all Current language: auto; currently objective-c
kill
quit
Program ended with exit code: 0

Resources