Nested Binder issue

I’m getting NullPointer exception from this binder.bind(billingAddress, partyEntity1 -> partyEntity1.getAddressEntity().getBillingAddress(), (partyEntity1, s) -> partyEntity1.getAddressEntity().setBillingAddress(s));. Here partyEntity1.getAddressEntity() is NULL. If I initialize this as new AddressEntity, I do not get exception but at the same time, I do not see it in the table. Am I creating the binder correctly ?

java.lang.NullPointerException: Cannot invoke "com.example.application.address.data.entity.AddressEntity.getBillingAddress()" because the return value of "com.example.application.party.data.entity.PartyEntity.getAddressEntity()" is null

You have to handle the null address entity by yourself.
When reading the billing address return null if address entity is null. When writing, if address entity is null, first create and set a new instance, then invoke setBillingAddress