cancel
Showing results for 
Search instead for 
Did you mean: 

Error while accessing application with custom components

Former Member
0 Kudos

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.

Portal Error

Error when processing your request

What has happened?

The URL http://ddrsap12.dubal.domain:8001/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

ST22 Dump Analysis

Short text

Access via 'NULL' object reference not possible.

What happened?

Error in the ABAP Application Program

The current ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey..

I figured it by myself.

Regards,

Ravi.

Former Member
0 Kudos

Hi ,

How are you able to configure Custom Web dynpro application to Appraisal document instead of HAP_MAIN_DOCUMENT. could you please share the steps. We have created custom application a copy of HAP_MAIN_DOCUMENT and the other two webdynpro components are also copied.

We dont know how to link this to Appraisal template. BADI HRHAP00_BSP_TMPL is used to change application names for BSP application. How to change application name for Web dynpro ABAP. Please share the stpes which will help us

Thanks and Regards,

Kothand

Former Member
0 Kudos

Hi Ravi,

Can you please share the steps? I'm receiving the same Access via NULL reference object not possible error.

However, I'm using some standard SRM webdynpro components and adding a new tab which is a custom component that I have creaed.

Thanks!

Former Member
0 Kudos

Hi Ravi,

I am also getting the " exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither

handled locally, nor declared in a RAISING clause" error in one of my customization of OVP application.

Could you please share the steps to resolved that ?

Thanks in Advance,

Surendra.