My recommendation here is just an inexpensive approach to bypass that if you merely want your app to work and you are feeling self-confident that a null object here wont result in any more substantial issues 1 Also see this equivalent dilemma and its responses. Is apparently comparable, so it https://propertyingurugram.in/gurugram-dwarka-lead-premium-property-boom-with-upto-53-price-rise/