cancel
Showing results for 
Search instead for 
Did you mean: 

Access via 'NULL' object reference not possible.

Former Member
0 Kudos

Hi Experts,

I am working on my first Webdyn pro development. I am currently working on PM Module, and the requirement is to change the Notification. I have a 'Long Text' button, when pressed,a popup with standard view for long text 'WD_LONGTEXT' is called. I have embeded the standard view in a seperate window.

Access via 'NULL' object reference not possible

The error occurred in work process 1 .

The termination type was: RABAX_STATE

The ABAP call hierarchy was:

Method: GET_HEADER_LONGTEXT of program /1BCWDY/JFL8S42CBMK6B2RPMZZ5==CP

Method: IWCI_RPLM_QIMT_NOTIF_MODEL~GET_HEADER_LONGTEXT of program /1BCWDY/JFL8S42CBMK6B2RPMZZ5==CP

Method: OPEN_LONGTEXT of program /1BCWDY/O0XARTMU9RFNKEGH0TFA==CP

Method: IF_COMPONENTCONTROLLER~OPEN_LONGTEXT of program /1BCWDY/O0XARTMU9RFNKEGH0TFA==CP

Method: ONACTIONON_LONG_TEXT of program /1BCWDY/O0XARTMU9RFNKEGH0TFA==CP

Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/O0XARTMU9RFNKEGH0TFA==CP

Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP

Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP

Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP

Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP

Regarding the cardinality its 1:n

selection: 1:1.

METHOD get_header_longtext .

data:

lt_return type bapirettab,

lr_notif_error type ref to cx_rplm_notif_error.

try.

wd_this->mr_notif_api->get_header_longtext( " *Getting dump at this point.. mr_notif_api is initial*

importing

et_longtext = et_longtext

et_return = lt_return

).

  • add new lines from attributes

append lines of wd_this->mt_new_header_lt to et_longtext.

catch cx_rplm_notif_error into lr_notif_error.

wd_this->process_notif_error(

ir_notif_error = lr_notif_error " Ref to cx_Rplm_Notif_Error

).

endtry.

ENDMETHOD.

Please help.

Thanks

Rajesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Experts,

Solved it..

Thanks & Regards

Rajesh

rodrigo_paisante3
Active Contributor
0 Kudos

Hi Rajesh,

I am developing my first big webdynpro app too and sometimes I got this error.

Verify the cardinality and selection values.

regards.