Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

[BUGFIX] Crash client #252

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

andrebmds
Copy link

When using [MASDevice resetLocally]() in some situations, the app result in a crash as the follow stack trace

Last Exception Backtrace (0)

#5	(null) in -[MASIMutableOrderedDictionary setObject:forKey:] ()
#6	(null) in -[MASIMutableOrderedDictionary setObject:forKeyedSubscript:] ()
#7	(null) in -[MASModelService retrieveAuthenticationProviders:] ()
#8	(null) in __46-[MASModelService validateCurrentUserSession:]_block_invoke ()
#9	(null) in -[MASModelService registerApplication:] ()
#10	(null) in -[MASModelService validateCurrentUserSession:] ()
#11	(null) in -[MASAuthValidationOperation validateAuthSession] ()

 Thread 1
#14	(null) in -[MASIKeyChainStore dataForKey:error:] ()
#15	(null) in -[MASAccessService getAccessValueDataWithStorageKey:error:] ()
#16	(null) in -[MASAccessService getAccessValueNumberWithStorageKey:] ()
#17	(null) in -[MASAccess refresh] ()
#18	(null) in -[MASDevice resetLocally] ()

In some situations the Client_id is coming nil resulting in a crash for the application

Key : Client_id 
Object: nil

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant