on 05-31-2011 10:22 AM
Hi experts,
I have an application (HAP_MAIN_DOCUMENT) of component FPM_OIF_COMPONENT which uses a Webdynpro component with the same name (HAP_MAIN_DOCUMENT). This Webdynpro component (HAP_MAIN_DOCUMENT) uses 2 other components (HAP_DOCUMENT_BODY and HAP_DOCUMENT_HEADER). For my client requirement, i need to create the custom components by copying from standard components as the UI layout changes are quiet huge and not manageable with the enhancements. To accomodate this i have changed the standard configurations by replacing the standard web dynpro components with the custom ones copied. Apart fomr this there are no changes to the standard.
While trying to access the application, i am getting the error as Null object reference.
the details of the error is as below. Please advice.
Heading 1: h1. P:ortal Error
The URL http://******************/sap/bc/webdynpro/sap/HAP_MAIN_DOCUMENT/ was not called due to an error.
Note
The following error text was processed in the system DSD : Access via 'NULL' object reference not possible.
The error occurred on the application server ddrsap12_DSD_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: WDDOINIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
Method: INIT of program CL_WDR_CONTROLLER=============CP
Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========CP
Heading 2: h2. ST22 - Dump Analysis
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 "WDDOINIT" "(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.
Information on where terminated
Termination occurred in the ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" -
in "WDDOINIT".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 4640
of the (Include) program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU".
Termination occurred in a Web Dynpro application
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
procedure "WDDOINIT" "(METHOD)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP "; its source
code begins in line
4619 of the (Include program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU ".
Active Calls/Events
No. Ty. Program Include Line
Name
33 METHOD /1BCWDY/LUR96POELQNL3TIUWPYS==CP /1BCWDY/B_LUXVEOR5WUW66V6QRRNU 4640
CL_VW_HEADER_MAIN_CTR=>WDDOINIT
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
32 METHOD /1BCWDY/LUR96POELQNL3TIUWPYS==CP /1BCWDY/B_LUXVEOR5WUW66V6QRRNU 70
CLF_VW_HEADER_MAIN_CTR=>IF_WDR_VIEW_DELEGATE~WD_DO_INIT
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
31 METHOD CL_WDR_DELEGATING_VIEW========CP CL_WDR_DELEGATING_VIEW========CM003 3
CL_WDR_DELEGATING_VIEW=>DO_INIT
30 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM00Q 3
CL_WDR_CONTROLLER=>INIT_CONTROLLER
29 METHOD CL_WDR_VIEW===================CP CL_WDR_VIEW===================CM00K 5
CL_WDR_VIEW=>INIT_CONTROLLER
28 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM002 7
CL_WDR_CONTROLLER=>INIT
27 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM008 70
CL_WDR_VIEW_MANAGER=>GET_VIEW
26 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM005 23
CL_WDR_VIEW_MANAGER=>BIND_ROOT
25 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM00B 17
CL_WDR_VIEW_MANAGER=>INIT
24 METHOD CL_WDR_INTERFACE_VIEW=========CP CL_WDR_INTERFACE_VIEW=========CM004 11
CL_WDR_INTERFACE_VIEW=>INIT_CONTROLLER
23 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM002 7
CL_WDR_CONTROLLER=>INIT
22 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM008 70
CL_WDR_VIEW_MANAGER=>GET_VIEW
Thanks In advance,
Regards,
Ravi.
Hi, I'm closing this thread and opening the same in another as the content got pasted in reader un friendly format and i'm unable to change the format.
Thanks,
Ravi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.