cancel
Showing results for 
Search instead for 
Did you mean: 

Node Value - Index Dump

Former Member
0 Kudos

Dear Gurus,

I've an issue where, I'm reading a context node attributes using the method get_context_attributes_props_elem. And the index i'm getting for this node is '-1', which is resulting in dump.

My code is :

 l_node = wd_context->get_child_node( wd_this->wdctx_node2 ).
l_node->get_attribute_props_for_node(
   IMPORTING
     properties = l_props ).

And the dump i'm getting is:


Note 

The following error text was processed in the system EID : Value 1 is not a valid index; context node: COMPONENTCONTROLLER.1.NODE2 
The error occurred on the application server deverpids_EID_00 and in the work process 0 . 
The termination type was: RABAX_STATE 
The ABAP call stack was: 
Method: IF_WD_CONTEXT_NODE~GET_ATTRIBUTE_PROPS_FOR_NODE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: IF_WD_CONTEXT_NODE~GET_ATTRIBUTE_PROPS_FOR_NODE of program CL_WDR_CONTEXT_NODE_MAP=======CP
Method: GET_PROPERTIES of program /1BCWDY/5J5R06Y51EOE0XFJ40XL==CP
Method: ONACTIONON_BUS of program /1BCWDY/5J5R06Y51EOE0XFJ40XL==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/5J5R06Y51EOE0XFJ40XL==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP

Please help me on this.

Note: L & T Infotech gurus, please reply to my office id...please do not reply to this thread. I hope you know the Terms & Conditions of this forum.

Regards,

-Syed.

Accepted Solutions (0)

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

is NODE2 having any context attributes ?

Abhi

Former Member
0 Kudos

Yes it does.

Former Member
0 Kudos

Hello Abhi,

Thanks for your reply. I've solved the issue.

Regards,

-Syed.