on 05-13-2009 3:10 PM
i call view VIEW_SPRL from view VIEW_ALTA, and when i go back to VIEW_ALTA
using navigation plugs, this view is showed for about a second and inmediately
after i get the dump error "Access via 'NULL' object reference not possible"
Any idea ?
Should i display my code for VIEW_SPRL in the Handle_IN event ? Or is it ok
to have it as I do in the WDDOMODIFYVIEW() with the sentence:
CHECK first_time = abap_true
thanks
Joan,
put a breakpoint and debug .check traces in st22
Thanks
Bala Duvvuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joan,
Have you done the coding for VIEW_SPRL view in its WDDOMODIFY method??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yeah i did the coding in WDDOMODIFYVIEW(), The reason is that I need the VIEW parameter in order to call the OfficeControl UI in the view VIEW_SPRL. But I think this is an error that SAP does not control...
Here is the code where I use the VIEW parameter in WDDOMODIFYVIEW():
* get the office control
office ?= view->get_element( 'OFFICE_CONTROL' ).
ASSERT ID SIOS_DEMO condition office IS BOUND.
Edited by: Joan Ayala on May 14, 2009 9:21 AM
Arjun,
i debugged and the dump is occurring after WDDOMODIFYVIEW() of the
returning view (VIEW_ALTA), so that I can see the display of this view for a
few moments and then the dump message. The error is:
OBJECTS_OBJREF_NOT_ASSIGNED_NO
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "IF_WDR_CLIENT~GET_CLIENT_UPDATES" "(METHOD)", nor was it propagated by a RAISING clause.
I don't think I can paste all this info here so that it can be nice displayed, but I will try anyway.
Call stack:
Nº Cl. Programa Include Lín.
Nom.
6 METHOD CL_WDR_CLIENT_SSR=============CP CL_WDR_CLIENT_SSR=============CM00T 142
CL_WDR_CLIENT_SSR=>IF_WDR_CLIENT~GET_CLIENT_UPDATES
5 METHOD CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00I 78
CL_WDR_MAIN_TASK=>EXECUTE
4 METHOD CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00J 69
CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
3 METHOD CL_HTTP_SERVER================CP CL_HTTP_SERVER================CM01B 366
CL_HTTP_SERVER=>EXECUTE_REQUEST_FROM_MEMORY
2 FUNCTION SAPLHTTP_RUNTIME LHTTP_RUNTIMEU02 946
HTTP_DISPATCH_REQUEST
1 MODULE (PBO) SAPMHTTP SAPMHTTP 13
%_HTTP_START
Source code extract:
112 i_update_data = m_data_update_tmp
113 i_event_queue = event_queue.
114 enddo.
115
116
117 param_str = wdr_task=>request->get_form_field( mc_request_field_name ).
118 check param_str is not initial.
119
120 split param_str at ';' into table param_entries.
121
122 loop at param_entries into param_entry.
123 " skip client removed events
124 check param_entry is not initial.
125
126 clear event_param_1.
127 clear event_param_2.
128 clear event_param_3.
129 clear event_param_4.
130 clear event_param_5.
131 split param_entry at ','
132 into handler_id event_name event_param_1 event_param_2 event_param_3 event_param_4
133 replace all occurrences of '_' in handler_id with ''.
134 replace all occurrences of '_' in event_name with ''.
135 replace all occurrences of '_' in event_param_1 with ''.
136 replace all occurrences of '_' in event_param_2 with ''.
137 replace all occurrences of '_' in event_param_3 with ''.
138 replace all occurrences of '_' in event_param_4 with ''.
139 replace all occurrences of '_' in event_param_5 with ''.
140
141 event_handler = get_event_handler( handler_id ).
>>>>> call method event_handler->handle_event
143 EXPORTING
144 i_event_handler_id = handler_id
145 i_event_name = event_name
146 i_event_param_1 = event_param_1
147 i_event_param_2 = event_param_2
148 i_event_param_3 = event_param_3
149 i_event_param_4 = event_param_4
150 i_event_param_5 = event_param_5
151 i_update_data = m_data_update_tmp
152 i_event_queue = event_queue.
153 endloop.
154
155 m_data_update_tmp->send_to( client_application ).
156 m_data_update_tmp->clear( ).
Edited by: Joan Ayala on May 14, 2009 10:31 AM
Hi,
Can you debug before the point where you are getting the error.
How are you calling view2 in the view1 and viceversa...
Can you paste your code.
One more thing have you created the application for the component before the coding itself or after the final coding and active the compoenent you have created the application. Sometimes this also causese the proble. I'm unable to trace your error because of less inputs. I think there is a problem with the event handling.
Regards,
Lekha.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.