cancel
Showing results for 
Search instead for 
Did you mean: 

No access possible via the 'NULL' data reference

Former Member
0 Kudos

Hi

We carried out an upgrade from CRM version 4 to 5. When launching the WEBIC we get the following error.

-


No access possible via the 'NULL' data reference

The error occurred on the application server itnsapnt05 and in the work process 1 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: IF_BSP_WD_VIEW_MANAGER~GET_WORKAREA_VIEW of program CL_BSP_WD_VIEW_MANAGER========CP

Method: GET_ENTRY_ID_FOR_VISIBLE_VIEW of program CL_CRM_IC_CUCONAVBAR==========CP

Method: GET_VISIBLE_ENTRY_ID of program CL_CRM_IC_NAVBARVIEW==========CP

Method: DETERMINE_VISIBLE_VIEW_LINK_ID of program CL_CRM_IC_NAVBARVIEW==========CP

Method: ONLAYOUT of program CLO23V7F1L0SZ0Q2ROEJN82HJVELYCP

Method: %_ONLAYOUT of program CL_O23V7F1L0SZ0Q2ROEJN82HJVELYCP

Method: DO_REQUEST of program CL_BSP_PAGE===================CP

Method: CALL_VIEW of program CL_BSP_PAGE_BASE==============CP

Method: CALL_VIEW of program CL_BSP_CONTROLLER=============CP

Method: DO_REQUEST of program CL_BSP_WD_VIEW_CONTROLLER=====CP

-


Also in ST22 we get the following:

-


DATREF_NOT_ASSIGNED

Termination occurred in the ABAP program "CL_BSP_WD_VIEW_MANAGER========CP" -

in "IF_BSP_WD_VIEW_MANAGER~GET_WORKAREA_VIEW".

The main program was "SAPMHTTP ".

In the source code you have the termination point in line 3

of the (Include) program "CL_BSP_WD_VIEW_MANAGER========CM012".

METHOD IF_BSP_WD_VIEW_MANAGER~GET_WORKAREA_VIEW .

workarea_view = workarea_ref->viewname.

ENDMETHOD.

-


Has anyone experienced this kind of error or have any ideas how to resolve?

Many Thanks

Andy

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andy,

I think you are getting this exception because some view is missing.

Goto SE38 and enter program name as "CL_BSP_WD_VIEW_MANAGER========CM012" and put breakpoint in line 3(external break point if you are executing from IC web client). Check for which view exception is coming. And in transaction BSP_WD_WORKBENCH you can check whether that view exists or not.

Hope this will help.

Best Regards,

Swagatika

Former Member
0 Kudos

Hi

Problem solved

In framework profiles IC_BASE was missing in the application.

Many Thanks for your help

Andy

Former Member
0 Kudos

Hi

I am getting same kind of error. Could you please tell me if this is related to the above stated problem with framework. If so, what is the configuration of the framework to be done.

The following error text was processed in the system CR7 : Access via 'NULL' object reference not possible.

The error occurred on the application server sitaserv79_CR7_08 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: DO_REQUEST of program CL_BSP_WD_VIEW_MANAGER========CP

Method: DO_REQUEST of program CL_BSP_CTRL_ADAPTER===========CP

Method: ON_REQUEST of program CL_BSP_RUNTIME================CP

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP

Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Module: %_HTTP_START of program SAPMHTTP

Regards

Anand