cancel
Showing results for 
Search instead for 
Did you mean: 

Access via 'NULL' object reference not possible.

Former Member
0 Kudos

Hi Experts,

I created one value node and added one attribute in component ICCMP_BP_CP , but when tested from webui side I got below exception :

Note

 

  • The following error occurred in system DC4 : Access via 'NULL' object reference not possible.
  • The error occurred on application server cidc405_DC4_05 and in work process 2 .
  • The termination type was: RABAX_STATE
  • The ABAP call stack was:
    Method: SET_MODELS of program ZL_CRMCMP_B_BUPACONTACTPE_IMPLCP
    Method: SET_MODELS of program ZL_CRMCMP_B_BUPACONTACTPE_IMPLCP
    Method: DO_REQUEST of program CL_BSP_WD_VIEW_CONTROLLER=====CP
    Method: DO_REQUEST of program CL_BSP_CTRL_ADAPTER===========CP
    Method: CALL_CONTROLLER of program CL_BSP_PAGE_BASE==============CP
    Method: IF_BSP_ELEMENT~DO_AT_END of program CL_BSP_CALL_ELEMENT===========CP
    Method: _ONLAYOUT of program CL_O241IRDSNT0FX6OG9H63VLVRLE8CP
    Method: %_ONLAYOUT of program CL_O241IRDSNT0FX6OG9H63VLVRLE8CP
    Method: DO_REQUEST of program CL_BSP_PAGE===================CP
    Method: CALL_VIEW of program CL_BSP_PAGE_BASE==============CP

PLease help why it is comming .

Thanks & Regards,

Akhilesh Bhagat.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Issue solved 

ztypecontext was missing in wd_context_create method

ztypecontext ?= context.

Thanks & Regards,

Akhilesh Bhagat.

devashish_bhattacharya
Active Participant
0 Kudos

Cool. Please close the thread.

Devashish