Skip to Content
avatar image
Former Member

The following error text was processed in the system DEV: Access via 'NULL' object reference not possible.

Hi Gurus,

I am new in Web Dyna, while creating my first application I am getting following errors. Please guide what I should do to resolve this issue.

The following error text was processed in the system DEV: Access via 'NULL' object reference not possible.

The error occurred on the application server crmsys_DEV_00 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: IF_WDR_CONTEXT_MENU_HANDLER~CONTEXT_MENU_CALLED of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP

Method: IF_WDR_CONTEXT_MENU_HANDLER~CONTEXT_MENU_CALLED of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP

Method: IF_WDR_ADAPTER_EVENT_HANDLER~HANDLE_EVENT of program CL_WDR_CONTEXT_MENU_HANDLER===CP

Method: IF_WDR_CLIENT~GET_CLIENT_UPDATES of program CL_WDR_CLIENT_SSR=============CP

Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP

Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Module: %_HTTP_START of program SAPMHTTP

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 26, 2016 at 06:52 AM


    Hi Shahzad,

    What are you trying to achieve ?

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26, 2016 at 07:15 AM

    Hi Shahzad,

    It seems you are trying to access an object before assigning its reference. Therefore the "Access via 'NULL' object reference not possible" error message.


    Can you share with us your application code?

    Regards,

    Felipe

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Tebogo Tebza

      Thanks for your reply, but this is not the issue I even removed label and textbox only header container is there which is not binded with anything but still the same problem.

  • Sep 14, 2016 at 03:43 PM

    Hello from the future!

    It helps to look at the ST22 version of this log.  There, you will get line numbers from the actual source code.

    This is an issue inside SAP code.  I am getting (what I assume) is the same issue, and here are my reproduction steps

    1. Enable "debugging" on a Web Dynpro application (Web Dynpro ABAP Debugging with Debugging Scripts - Web Dynpro ABAP - SAP Library)

    2. Set an external breakpoint in the code

    3. Run the Web Dynpro application in a browser

    4. Right click (this is hinted at by the usage of "Context Menu" in the short dump) on what is considered the ROOTUIELEMENTCONTAINER element on the main screen.  This will cause the short dump. 

    No really good workarounds/fixes, other than just filling the screen with stuff, or being sure that you don't right click on blank space when in debugging mode

    Add comment
    10|10000 characters needed characters exceeded