Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

DUMP IN CL_WDR_CONTROLLER->DO_EXIT IN A WEBDYNPRO

$
0
0

Hi,

 

I have created an webdynpro component with two tabs and simple tables in  both the tabs.While I  am executing the application in properly working But while I am checking in ST22 a dump is showing at the time of changing the TABS in the application.

 

And the dump is as follows.

 

Category               ABAP Programming Error

Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO

Except.                CX_SY_REF_IS_INITIAL

ABAP Program           CL_WDR_DELEGATING_VIEW========CP

Application Component  BC-WD-ABA-RUN

Date and Time          20.07.2016 07:14:55

 

 

 

 

 

 

Short text

     Access via 'NULL' object reference not possible.

 

 

 

 

 

 

What happened?

     Error in the ABAP Application Program

 

 

     The current ABAP program "CL_WDR_DELEGATING_VIEW========CP" had to be

      terminated because it has

     come across a statement that unfortunately cannot be executed.

 

 

 

 

 

 

What can you do?

     Note down which actions and inputs caused the error.

 

 

 

 

     To process the problem further, contact you SAP system

     administrator.

 

 

     Using Transaction ST22 for ABAP Dump Analysis, you can look

     at and manage termination messages, and you can also

     keep them for a long time.

 

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 "DO_EXIT" "(METHOD)", nor was it propagated by a RAISING clause.

    Since the caller of the procedure could not have anticipated that the

    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.

 

 

Source Code Extract

 

 

Line  SourceCde

 

 

    1 method do_exit .

    2

    3   data: l_service            like line of if_wdr_service_target~registered_services,

    4         l_controller_service type ref to if_wdr_controller_service.

    5

>>>>>   delegate->wd_do_exit( ).

    7

    8   loop at me->if_wdr_service_target~registered_services into l_service.

    9     try.

   10         l_controller_service ?= l_service-service.

   11         try.

   12             l_controller_service->post_wddoexit( controller = me ).

   13           catch cx_sy_dyn_call_illegal_method.

   14             continue.

   15         endtry.

   16       catch cx_sy_move_cast_error.

 

 

 

How to correct the error

    Probably the only way to eliminate the error is to correct the program.

    -

 

 

    If the error occures in a non-modified SAP program, you may be able to

    find an interim solution in an SAP Note.


Viewing all articles
Browse latest Browse all 3667

Trending Articles