My suggestion below is simply a cheap approach to bypass that if you merely want your application to operate and you feel assured that a null object below wont induce any bigger troubles My understanding is the fact fields, class variables and attributes all necessarily mean precisely the same detail. https://propertyingurugram.in/dlf-reports-new-sales-booking-of-rs-15058-crore-during-fy-23/