NSNull CAN NOT ADAPT?

When saving an object I get this output in the debug logs:

ArrayType -> adapt: type NSNull CAN NOT ADAPT! (= defaultAdapt)

What does it mean?

Can you switch on the extended log in StartAppDelegate.m:

  • (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {

    [DebLog setIsActive:YES];

    [backendless initApp:APP_ID secret:SECRET_KEY version:VERSION_NUM];

    return YES;
    }

and send it here or in attachement?

This is all it says:

2014-05-06 19:05:38.832 VilkenVagnAdmin[11049:60b] ArrayType -> adapt: type NSNull CAN NOT ADAPT! (= defaultAdapt)

2014-05-06 19:05:38.833 VilkenVagnAdmin[11049:60b] NSObject (AMF) -> onAMFDeserialize: <station>

2014-05-06 19:05:38.833 VilkenVagnAdmin[11049:60b] NSObject (AMF) -> onAMFDeserialize: <station>

2014-05-06 19:05:38.834 VilkenVagnAdmin[11049:60b] <station: 0xa0b3950>

it is warning - not a bug, all right

Vyacheslav, what does the warning say about the property? I believe this is a parsing error. What are the steps to correct it?

EDIT:

Make sure your type matches the type of the table. I’ve had a 1:N relationship in the backendless table and 1:1 relationship in my model in the app implementation. It worked anyway, but caused this warning to appear.

Miroslav, this warning means that NSArray property is set as NSNull object, which cannot be adapted to array, so it is adapted to nil.