cancel
Showing results for 
Search instead for 
Did you mean: 

null object reference error

Former Member
0 Kudos

Dear Exceprts,

I'm trying to bind a structure to one element. I've got this element by using code wizard only. But after binding this structure if i run the appplication it is going to dump. Error is Null Object reference. then i started debugging then i came to know that this element is initial. Can anyone help me where i went wrong.?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello All,

   Here I'm able to get Node reference so node is not initial. On top of this node i'm calling get_element( ) by using code wizard only but i'm unble to get the element reference .This element is still initial after calling the get_element( ) method  also. any one help me?

Archie-Hammer
Explorer
0 Kudos

The get_element method gets the lead selection of the the node. If the element reference is null it could be because the lead select was not set. Try putting the index of 1 in the get element method or set the node to initialize the lead selection.