code to get pagereference from parent component:
var pageReference = component.get("v.pageReference");
console.log('getpropertyDetails pageReference'+JSON.stringify(pageReference));
code to get pagereference from parent component:
var pageReference = component.get("v.pageReference");
console.log('getpropertyDetails pageReference'+JSON.stringify(pageReference));
This is probably because you are trying to access an attribute from an object which is null.
In the getSelectedProperty
method object associated with the state attribute is null.