Retroceder   foroSAP.com > Foros de SAP > ABAP

ABAP Todo lo que quieras saber sobre ABAP lo encontrás aquí.

Respuesta
 
Herramientas Desplegado
  #1  
Antiguo 13-ene-2010, 13:33
keps31 Offline
Junior Member
 
Fecha de Ingreso: diciembre-2009
Ubicación: españa
Mensajes: 10
Agradecimientos: 0
Agradecido 0 veces en 0 Posts
keps31 está en el buen camino
Predeterminado Excepción CX_SY_REF_IS_INITIAL

Hola,

Necesito saber, si existe alguna nota SAP para cuando en una clase sale esta excepción CX_SY_REF_IS_INITIAL, o que hacer cuando sale, en la ejecución de una clase de sap.

Saludos y muchas gracias.
Responder Citando
Entre a los Links relacionados
  #3  
Antiguo 13-ene-2010, 13:57
keps31 Offline
Junior Member
 
Fecha de Ingreso: diciembre-2009
Ubicación: españa
Mensajes: 10
Agradecimientos: 0
Agradecido 0 veces en 0 Posts
keps31 está en el buen camino
Exclamation

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.
Responder Citando
Respuesta

Herramientas
Desplegado

Normas de Publicación
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes

Los Códigos BB están Activado
Las Caritas están Activado
[IMG] está Desactivado
El Código HTML está Activado

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Mi Experiencia en el Mundo SAP BW Javu_77 Mejores lugares para trabajar con SAP 14 23-dic-2009 03:28
error fallo de excepcion Jose Huerta SBO - SAP Business ONE 0 16-sep-2009 03:13
Manejo de Excepciones en Qquery Designer 7.0 Javu_77 SAP BW/ SAP BI 1 27-ago-2009 23:14
Conexion BO XI 3.1 con BW DaniMost SAP BW/ SAP BI 6 03-ago-2009 23:17
Error con archivo José Andres Salinas ABAP 1 24-jun-2008 12:45


La franja horaria es GMT. Ahora son las 11:14.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.