Symptom
Using a Web Dynpro ABAP application (e.g. embedded into Fiori Launchpad) one receives the error below in the browser:
- 500 Internal Server Error - Dereferencing of the NULL reference
Related dump in ST22:
Category ABAP programming error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
ABAP Program CL_WDR_GROUPED_SELOPT_20======CP
Application Component BC-WD-ABA
Date and Time dd.MM.yyyy hh:mm:cc (Time Zone)
Short Text
Access using a 'ZERO' object reference is not possible.
Error analysis
An exception has occurred in class "CX_SY_REF_IS_INITIAL". This exception was
not caught
in procedure "RENDER_INITIAL" "(METHOD)" or propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated this
exception, the current program was terminated.
The reason for the exception occurring was:
The reason for the exception is:
You are trying to access a component with a 'ZERO' object reference
(points to 'nothing'). Variable: "ME->MO_FRAME_FIORI".
An object reference must point to an object (an instance of a class)
before it can be used to access a component. The reference has either
never been set, or it was set to 'ZERO' with a CLEAR statement.
Read more...
Environment
- Web Dynpro ABAP
- SAP NetWeaver
- ABAP PLATFORM - Application Server ABAP
- SAP Business Technology Platform
Product
Keywords
KBA , BC-WD-ABA , Web Dynpro ABAP , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.