Hi,
I have the following scenario in which i'm getting the dump,
Access via 'NULL' object reference not possible. and it's coming in the following piece of code..
method get_attribute_external.
data data_container type ref to cl_wdr_data_container.
data attribute type wdr_attribute_pointer.
data client_component type ref to cl_wdr_client_component.
attribute-attribute_name = i_binding->attribute_name.
attribute-element ?= get_bound_element( i_binding ).
==>> client_component ?= attribute-element->node->controller->component->data_container_superior.
data_container = client_component->data_container.
e_value = data_container->get_and_format( attribute = attribute ).
endmethod.
Infact i have one view on which i'm using textview's to display the data from two differenet node's of the view context, i'm getting the data in wddoinit method. Now first node works fine and when run time system starts reading the 2nd node, it gives the error on the first element of the 2nd node, infact I have debugged, for the first node's element...attribute-element is bound to CL_WDR_CONTEXT_ELEMENT, but in the case of 2nd node's element, attribute-element is blank and hence producing the short dump...
Could you guyz please let me know the possible reason.
Thanks,