Aqui te coloco, exactamente el dump que me da la clase cuando la ejecuto.
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_PROXY_INBOUND_ADAPTER======CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "SET_METHOD" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
lt_signature = lr_stylesheet_runtime->get_signature( ).
loop at lt_signature assigning .
if -decl = sprox_const_dir_importing or
-decl = sprox_const_dir_exporting or
-decl = sprox_const_dir_changing.
create abap data
create data lr_data_ref type (-typename).
add it to abap parameters
lv_abap_param-name = -param.
lv_abap_param-value = lr_data_ref.
insert lv_abap_param into table abap_params.
case -decl.
add it to according part
when sprox_const_dir_importing.
me->request_part->add_data_ref( name = -param data_ref = lr_data_ref ).
when sprox_const_dir_exporting.
me->response_part->add_data_ref( name = -param data_ref = lr_data_ref )
lv_need_response_part = 'X'.
when sprox_const_dir_changing.
me->request_part->add_data_ref( name = -param data_ref = lr_data_ref ).
me->response_part->add_data_ref( name = -param data_ref = lr_data_ref )
lv_need_response_part = 'X'.
endcase.
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component.
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
|