Backendless SDK throwing exception "[NSTaggedPointerString charValue]: unrecognized selector sent to instance"

There is an exception thrown when trying to fetch data from my business logic.

I’m running Backendless SDK version 5.1.0 via CocoaPod

This happens when getting data from my custom business logic

Here is the stack trace:

#0 0x00007fff6866bc46 in objc_exception_throw ()
#1 0x00007fff41553db4 in -[NSObject(NSObject) doesNotRecognizeSelector:] ()
#2 0x00007fff41431820 in forwarding ()
#3 0x00007fff414311e8 in forwarding_prep_0_ ()
#4 0x00007fff435645b7 in _NSSetCharValueForKeyWithMethod ()
#5 0x00007fff43558e8e in -[NSObject(NSKeyValueCoding) setValue:forKey:] ()
#6 0x0000000100506694 in -[AnonymousObject setFieldsDirect:cache:] at /Users/olhadanylova/Documents/ios/ios-SDK/SDK/backendlessAPI/Classes/weborb/Reader/AnonymousObject.m:199
#7 0x0000000100507d94 in -[AnonymousObject adapt:cache:] at /Users/olhadanylova/Documents/ios/ios-SDK/SDK/backendlessAPI/Classes/weborb/Reader/AnonymousObject.m:391
#8 0x0000000100526650 in -[DefaultAdapter adapt:] ()
#9 0x000000010051cbd3 in -[CustomServiceAdapter adapt:] at /Users/olhadanylova/Documents/ios/ios-SDK/SDK/backendlessAPI/Classes/Persistence/PersistenceAdapter/CustomServiceAdapter.m:54
#10 0x00000001004e3ec7 in -[CustomService invoke:method:args:] at /Users/olhadanylova/Documents/ios/ios-SDK/SDK/backendlessAPI/Classes/CustomService/CustomService.m:44

Hi,

I’d ask you to update SDK to the latest version which is 5.2.11 at the moment and try again. If the error is still in place - please describe the use case in details. Would be good if you could prepare a minimal project (sample) demonstrating the issue. Thanks in advance

Anton