Support Topics Documentation Slack YouTube Blog

Unsuccessful save operation: java.lang.NullPointerException

Hi,

Currently I cannot perform a save operation successfully on an object. Im using backendless 4, with the IOS SDK 4.13
The error given was: “Error Server Processing: java.lang.NullPointerException”.

Any assistance would be appreciated.

The problem lies somewhere with relations.
My object has a one-to-many relation. And the save worked when i set the relation to to nil, but then it would also delete the relation in the server, which is weird because i thought with backendless 4, relations had to be managed through seperate calls.

Hi Titus,

Could you please post a sample code which demonstrates the issues?

  1. When the relation is removed on the server
  2. When you get back NullPointerException

Regards,
Mark