-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' -[NSDictionaryM setObject:forKey:]: key cannot be nil' #53
Comments
any update yet? |
Having exactly the same error (iPhone 13 mini backup, MacOS 12.2.1 M1 Pro). |
Same here, unfortunatelly |
Anybody had any luck with this? I'm stuck at the exact same place. |
Same here ✋ When running the migration according to the original guide:
The After looking into that folder I tried using the
That gets over the previous issue and it found the necessary files but it errors out with the message in the title of this issue. This is my call stack:
The version of WhatsApp I got via Apple Configurator is 24.5.4 (WhatsApp 24.5.4.ipa). BTW: I'm using watoi because the official migration tool in the |
@residentsummer any clue how to fix this one?
watoi % build/Release/watoi msgstore.db ./ChatStorage.sqlite app/Payload/WhatsApp.app/Frameworks/Core.framework/WhatsAppChat.momd
2022-01-05 16:55:45.444 watoi[3269:124075] Probing msgstore.db at path: msgstore.db
2022-01-05 16:55:45.444 watoi[3269:124075] ok.
2022-01-05 16:55:45.445 watoi[3269:124075] Android store loaded
2022-01-05 16:55:45.445 watoi[3269:124075] Probing WhatsAppChat.momd at path: app/Payload/WhatsApp.app/Frameworks/Core.framework/WhatsAppChat.momd
2022-01-05 16:55:45.445 watoi[3269:124075] ok.
2022-01-05 16:55:45.445 watoi[3269:124075] Probing ChatStorage.sqlite at path: ./ChatStorage.sqlite
2022-01-05 16:55:45.445 watoi[3269:124075] ok.
CoreData: error: addPersistentStoreWithType:configuration:URL:options:error: returned error NSCocoaErrorDomain (259)
CoreData: annotation: userInfo:
CoreData: annotation: NSFilePath : /Users/achaudhry/watoi/ChatStorage.sqlite
CoreData: annotation: NSSQLiteErrorDomain : 26
CoreData: annotation: storeType: SQLite
CoreData: annotation: configuration: (null)
CoreData: annotation: URL: ChatStorage.sqlite -- file:///Users/achaudhry/watoi/
CoreData: annotation: options:
CoreData: annotation: NSSQLitePragmasOption : {
"journal_mode" = DELETE;
}
2022-01-05 16:55:45.450 watoi[3269:124075] CoreData loaded
2022-01-05 16:55:45.452 watoi[3269:124075] 1430060208@broadcast: not found
CoreData: warning: Unable to load class named 'WAChatSession' for entity 'WAChatSession'. Class not found, using default NSManagedObject instead.
CoreData: warning: Unable to load class named 'WAGroupInfo' for entity 'WAGroupInfo'. Class not found, using default NSManagedObject instead.
2022-01-05 16:55:45.453 watoi[3269:124075] is group chat
2022-01-05 16:55:45.453 watoi[3269:124075] not found member [email protected]
CoreData: warning: Unable to load class named 'WAGroupMember' for entity 'WAGroupMember'. Class not found, using default NSManagedObject instead.
2022-01-05 16:55:45.453 watoi[3269:124075] not found member [email protected]
2022-01-05 16:55:45.453 watoi[3269:124075] [email protected]: not found
2022-01-05 16:55:45.453 watoi[3269:124075] is group chat
2022-01-05 16:55:45.453 watoi[3269:124075] not found member (null)
2022-01-05 16:55:45.453 watoi[3269:124075] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: key cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x000000019a7a81cc __exceptionPreprocess + 240
1 libobjc.A.dylib 0x000000019a4f97b8 objc_exception_throw + 60
2 CoreFoundation 0x000000019a878488 -[__NSCFString characterAtIndex:].cold.1 + 0
3 CoreFoundation 0x000000019a885260 -[__NSDictionaryM setObject:forKey:].cold.2 + 0
4 CoreFoundation 0x000000019a6e1628 -[__NSDictionaryM setObject:forKey:] + 896
5 watoi 0x0000000104554e40 -[Importer addMissingMember:toChat:asAdmin:] + 608
6 watoi 0x00000001045555d8 -[Importer importChats] + 1876
7 watoi 0x0000000104554258 -[Importer import] + 28
8 watoi 0x0000000104553d80 main + 364
9 dyld 0x00000001046a90f4 start + 520
)
libc++abi: terminating with uncaught exception of type NSException
zsh: abort build/Release/watoi msgstore.db ./ChatStorage.sqlite
The text was updated successfully, but these errors were encountered: