Skip to Content
1

Solution Manager 7.2 Short Dump : OBJECTS_OBJREF_NOT_ASSIGNED

Oct 10, 2017 at 03:41 PM

249

avatar image
Former Member

Hello,

We are getting a short dump when accessing IT Service Management -> Messages from the SAP Solution Manager 7.2 navigation bar.


Dump Details :

Category: ABAP Programming Error

Runtime Errors: OBJECTS_OBJREF_NOT_ASSIGNED

ABAP Program: CL_SRQM_INC_INCIDENTSR_IMPL===CP

Application Component: CRM-BTX-SRQ-INC

Can anyone tell how to resolve this?

Thank you.

Abhijit

dump.png (37.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

avatar image
Former Member Jan 07 at 12:40 PM
1

Hi,

I have the same issue, did you resolve this error?

Share
10 |10000 characters needed characters left characters exceeded
Yogesh Patel
Oct 18, 2017 at 03:02 PM
0

Hello Abhijit,

Might be not worth to ask but still going to ask ... Did you configure IT Service Management through configuration wizard?

Thanks

Yogesh

Share
10 |10000 characters needed characters left characters exceeded
Alexandre SABATIER Jan 08 at 02:29 PM
0

Hi,

This SAP Note does not exactly describe your problem, but it may help: https://launchpad.support.sap.com/#/notes/2479757

Check whether the action corresponding to the SAP message is enabled in the configuration.

ZERO references dumps usually occur because of a mismatch between the configuration and the screen, or because of a program error (in which you case you need to open an OSS ticket, or look for relevant notes on the Launchpad).

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 05 at 12:57 PM
0

Hi, Abhijit!

We catch exactly the same error after upgrade to SM 7.2.

Here's the source code of error.

Source Code Extract

Line  SourceCde

    1 METHOD default_my_involvement.
    2
    3   DATA:  lr_qs               TYPE REF TO cl_crm_bol_dquery_service,
    4          lr_col              TYPE REF TO if_bol_bo_col,
    5          lr_iterator         TYPE REF TO if_bol_bo_col_iterator,
    6          lr_selection_params TYPE REF TO if_bol_bo_col,
    7          lr_selection_param  TYPE REF TO if_bol_bo_property_access,
    8          lv_attr_name        TYPE name_komp,
    9          lt_param            TYPE bsp_dclt_advsrch_sel_db,
   10          lv_config_xml       TYPE string,
   11          lv_param_value      TYPE string,
   12          lv_date_from        TYPE sy-datum,
   13          lv_date_to          TYPE sy-datum,
   14          lv_date_from_s      TYPE string,
   15          lv_date_to_s        TYPE string.
   16
   17
   18
>>>>>   lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
   20
   21 * Check whether parameter SRV_MYINV_RANGE is part of the UI configuration
   22   lv_config_xml = configuration_descr->get_config_data( ).
   23   lt_param = cl_bsp_dlc_config_adv_search=>conv_xml_to_table( lv_config_xml ).
   24
   25   READ TABLE lt_param TRANSPORTING NO FIELDS WITH KEY param_name = 'SRV_MYINV_RANGE'
   26                                                       displayed = 'X'.  "#EC_NOTEXT
   27   IF sy-subrc = 0.
   28 ** Set Flag for do_prepare_output, so that empty search criteria are not removed
   29 *        gv_search_defaulted = abap_true.
   30     me->set_init_qs( abap_true ).
   31 * Set the value for search parameter INCL_SUB_TERR to X:
   32     lr_selection_params = lr_qs->get_selection_params( ).
   33     lr_iterator = lr_selection_params->get_iterator( ).
   34
   35     lr_selection_param = lr_iterator->get_first( ).
   36
   37     WHILE lr_selection_param IS BOUND.
   38       lr_selection_param->get_property_as_value( EXPORTING iv_attr_name = 'ATTR_NAME'

And the call stack:

Active Calls/Events

No.   Ty.          Program                             Include                             Line
      Name

   15 METHOD       CL_SRQM_INC_INCIDENTSR_IMPL===CP    CL_SRQM_INC_INCIDENTSR_IMPL===CM005    19
      CL_SRQM_INC_INCIDENTSR_IMPL=>DEFAULT_MY_INVOLVEMENT
   14 METHOD       CL_SRQM_INC_INCIDENTSR_IMPL===CP    CL_SRQM_INC_INCIDENTSR_IMPL===CM001    67
      CL_SRQM_INC_INCIDENTSR_IMPL=>DO_INIT_CONTEXT
   13 METHOD       CL_BSP_WD_VIEW_CONTROLLER=====CP    CL_BSP_WD_VIEW_CONTROLLER=====CM007    83
      CL_BSP_WD_VIEW_CONTROLLER=>WD_VIEW_INITIALIZE
   12 METHOD       CL_BSP_WD_VIEW_CONTROLLER=====CP    CL_BSP_WD_VIEW_CONTROLLER=====CM001   139
      CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
   11 METHOD       CL_BSP_WD_VIEW_CONTROLLER=====CP    CL_BSP_WD_VIEW_CONTROLLER=====CM007   126
      CL_BSP_WD_VIEW_CONTROLLER=>WD_VIEW_INITIALIZE
   10 METHOD       CL_BSP_WD_VIEW_CONTROLLER=====CP    CL_BSP_WD_VIEW_CONTROLLER=====CM001   139
      CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    9 METHOD       CL_BSP_WD_VIEW_MANAGER========CP    CL_BSP_WD_VIEW_MANAGER========CM01K    29
      CL_BSP_WD_VIEW_MANAGER=>HANDLE_FOLLOWUP_NAVIGATION
    8 METHOD       CL_BSP_WD_VIEW_MANAGER========CP    CL_BSP_WD_VIEW_MANAGER========CM01L    58
      CL_BSP_WD_VIEW_MANAGER=>PROCESS_NAV_QUEUE
    7 METHOD       CL_BSP_WD_VIEW_MANAGER========CP    CL_BSP_WD_VIEW_MANAGER========CM002   145
      CL_BSP_WD_VIEW_MANAGER=>DO_REQUEST
    6 METHOD       CL_BSP_CTRL_ADAPTER===========CP    CL_BSP_CTRL_ADAPTER===========CM004    47
      CL_BSP_CTRL_ADAPTER=>DO_REQUEST
    5 METHOD       CL_BSP_RUNTIME================CP    CL_BSP_RUNTIME================CM002   155
      CL_BSP_RUNTIME=>ON_REQUEST
    4 METHOD       CL_HTTP_EXT_BSP===============CP    CL_HTTP_EXT_BSP===============CM001    24
      CL_HTTP_EXT_BSP=>IF_HTTP_EXTENSION~HANDLE_REQUEST
    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM00G   801
      CL_HTTP_SERVER=>EXECUTE_REQUEST
    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                     1453
      HTTP_DISPATCH_REQUEST
    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               12
      %_HTTP_START

Previous version of SM doesn't have the method DEFAULT_MY_INVOLVEMENT.

And the same call to the object me->typed_context in the method DO_INIT_CONTEXT is inside the IF clause:

METHOD do_init_context.
  DATA:  lr_qs               TYPE REF TO cl_crm_bol_dquery_service,
         lr_col              TYPE REF TO if_bol_bo_col,
         lr_iterator         TYPE REF TO if_bol_bo_col_iterator,
         lr_selection_params TYPE REF TO if_bol_bo_col,
         lr_selection_param  TYPE REF TO if_bol_bo_property_access,
         lv_attr_name        TYPE name_komp,
         lt_param            TYPE bsp_dclt_advsrch_sel_db,
         lv_config_xml       TYPE string,
         lv_param_value      TYPE string.

  super->do_init_context( ).

* Default the 'Include SubTerritory' Search Parameter according to customizing:
* UI parameter 'INCL_SUB_TERR' (assigned to business role) has to be 'X' or 'TRUE'
  lv_param_value = cl_crm_ui_parameter_util=>get_crm_ui_parameter_value( 'INCL_SUB_TERR' ).  "#EC_NOTEXT

  IF cl_crm_ui_parameter_util=>to_boolean( lv_param_value ) = abap_true.

    lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
    IF lr_qs->check_parameters_set( ) = abap_false.

* Check whether parameter INCL_SUB_TERR is part of the UI configuration
      lv_config_xml = configuration_descr->get_config_data( ).
      lt_param = cl_bsp_dlc_config_adv_search=>conv_xml_to_table( lv_config_xml ).

      READ TABLE lt_param TRANSPORTING NO FIELDS WITH KEY param_name = 'INCL_SUB_TERR'.  "#EC_NOTEXT
      IF sy-subrc = 0.
* Set Flag for do_prepare_output, so that empty search criteria are not removed
        gv_search_defaulted = abap_true.
* Set the value for search parameter INCL_SUB_TERR to X:
        lr_selection_params = lr_qs->get_selection_params( ).
        lr_iterator = lr_selection_params->get_iterator( ).

        lr_selection_param = lr_iterator->get_first( ).

        WHILE lr_selection_param IS BOUND.
          lr_selection_param->get_property_as_value( EXPORTING iv_attr_name = 'ATTR_NAME'       "#EC_NOTEXT
                                                     IMPORTING ev_result = lv_attr_name ).
          IF lv_attr_name = 'INCL_SUB_TERR'.             "#EC_NOTEXT
            EXIT.
          ENDIF.
          lr_selection_param = lr_iterator->get_next( ).
        ENDWHILE.

* If search param INCL_SUB_TERR is not yet available, add search parameter
        IF lr_selection_param IS BOUND.
          lr_selection_param->set_property( iv_attr_name = 'LOW'
                                            iv_value = 'X' ).
        ELSE.
          TRY.
              lr_qs->add_selection_param( iv_attr_name = 'INCL_SUB_TERR'
                                          iv_option    = 'EQ'
                                          iv_sign      = 'I'
                                          iv_low       = 'X').
            CATCH cx_crm_cic_parameter_error.
          ENDTRY.
        ENDIF.
      ENDIF.
    ENDIF.
  ENDIF.

*Default My Involvement
  default_my_involvement( ).
ENDMETHOD.

The error is obvious so it must have the generic solution. Did you find it? Is there a note to fix this?

Thank you.

Share
10 |10000 characters needed characters left characters exceeded