Skip to content Skip to sidebar Skip to footer

Getting Null Pointer Exception When Updating A Entity In Gae

I'm new to android and gae and facing issue while updating a entity (An object containing a list of child objects) in GAE (backend for android) from android app Scenario is: I alre

Solution 1:

OK I was able to solve the issue by changing primary key of ParentObject to

@Id@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

A lot of research at questions similar to this helped me out with this

Post a Comment for "Getting Null Pointer Exception When Updating A Entity In Gae"