cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP DUMP -OBJECTS OBJREF NOT ASSIGNED in webdynpro application.

Former Member
0 Kudos

Hi,

When i tried to run webdynpro application program no output is display in the browser. when i checked ST22 have received dump like OBJECTS OBJREF NOT ASSIGNED .

Anyone help me to solve this

Thanks

Venkat

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Provide the details of ST22 dump. Send the exact code lines where the dump is triggered.

Former Member
0 Kudos

I'm seeing the same message. Here's the code from my short dump. It seems to be related to the window, but this is a pretty simple "hello world" type webdynpro I've created (example from the SAP PRESS interactive forms book)

152 if lr_view_element is initial.

153 lr_view_element ?= lr_toplevel_window->view_manager->root->get_root_element( ).

154 endif.

155 read table cl_wdr_view_element_adapter=>mt_cur_view_elem_adapters

156 with key view_element_adapter->m_view_element = lr_view_element

157 into view_elem_adapter.

158 if sy-subrc = 0.

159 m_adapter_id = view_elem_adapter-view_element_adapter->m_id.

>>>>> m_window_id = view_elem_adapter-window_adapter->m_id. " für lightspeed

161 else.

162 return.

163 endif.

164 lr_representative = lr_view_element.

165 lr_representative_adapter = view_elem_adapter-view_element_adapter.

166 endif.

Edited by: Anthony Tripp on Oct 13, 2010 12:48 PM

For what it is worth to SDN, I started at the view and moved to the window and application. Check and re-activated as I went and the error went away.

Thanks,

Anthony

Former Member
0 Kudos

Hi Venkat,

May be you can track down the issue by setting a break point in WDOINIT method and then check step by step.

Regards,

Anand

Madhu2004
Active Contributor
0 Kudos

In st22 Got to Source code extract. You will know the exact position where the dump is occuring.

May be you are using the node instance or elemnt instance which doesnot have any refernce.