why does this error appear when i use storage service in iOS latest idk

0 votes

i get this

2017-01-29 16:57:16.203 StopTap[456:] <FIRAnalytics/INFO> Firebase Analytics enabled

2017-01-29 16:57:19.800 StopTap[456:80779] SDK Version : 3.5.5.3

2017-01-29 16:57:28.682 StopTap[456:80779] SDK Version : 3.5.5.3

2017-01-29 16:57:39.581 StopTap[456:80779] SDK Version : 3.5.5.3

2017-01-29 16:57:40.001 StopTap[456:80779] +[App42API setLoggedInUser:]

2017-01-29 16:57:40.433 StopTap[456:80779] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (__NSDate)'

*** First throw call stack:

(0x23799b0b 0x22f56dff 0x23799a51 0x2403480d 0x2403672b 0x23703cb5 0x236f49e9 0x24035f4d 0x24034741 0x2403672b 0x236b0001 0x236afefb 0x24035f4d 0x24034741 0x2403672b 0x236b0001 0x236aff11 0x24035f4d 0x24034741 0x24034553 0x2403540d 0x42bdcf 0x3bc1c1 0x1006ba7 0x1006b93 0x100b659 0x2375b755 0x23759c4f 0x236a81c9 0x236a7fbd 0x24cc4af9 0x27de0435 0x159c64 0x23354873)

libc++abi.dylib: terminating with uncaught exception of type NSException

 

when i use storage service
asked Jan 29 in Discuss & suggest API by w.ajdi1 (33 points)

1 Answer

0 votes

Hi,

Could you please share the complete code snippet with which you are getting this exception?

What data you are passing in the API? If possible, enable the SDK internal logs and share the complete xcode console logs with us.

P.S.: To enable SDK internal logs, add the following code just after initialising the App42 API:

          [App42API enableApp42Trace:YES];

Thanks.

answered Jan 30 by rajeev.etc (1,428 points)
use this link
https://www.protectedtext.com/wajdi
pass : wajdi123
/* text to */ means it doest execute
i think it is something with cache trying to save json
I have gone through the code everything seems fine. Could you please share the logs which is asked above. It will help me to debug the problem you are facing.
here are the logs
https://www.protectedtext.com/crash
Pass : wajdi123
please answer quickly
Hi,

Are you using following code in your project:
[[App42CacheManager sharedCacheManager] setPolicy:APP42_CACHE_FIRST]

Can you please comment this line and check? Please let me know if you get this after commenting this code also.

Thanks.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
Migrate from Parse to ShepHertz App42
...