SAP Knowledge Base Article - Preview

2574337 - BSP error in CL_HTMLB_CONTENT with an exception type of CX_SY_REF_IS_INITIAL - Guided Answers

Symptom

The following Guided Answers descision tree will describe an error in CL_HTMLB_CONTENT with BSP applications and go through the list of supported browsers for BSP.
The below error occurs when BSP is called:

bsp_dump2.png

The error message is the following:

An Exception with the type CX_SY_REF_IS_INITIAL was raised, but was not handled locally or declared in a RAISING clause. 
The program is CL_HTMLB_CONTENT, the long text of the error is "An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object."

It is also possible that there are rendering errors in a BSP application like:

  • Additional scrollbar,
  • Unnecessary scrollbar,
  • Dropdowns are not working correctly.

Read more...

Environment

  • Business Server Pages (BSP)
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4HANA

Product

SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

BSP, Business Server Pages, error, rendering error, dump, CX_SY_REF_IS_INITIAL, CL_HTMLB_CONTENT, RAISING, NULL, execute a dynamic, scrollbar, misplaced, wrong place, not aligned properly, double, hidden, visible, dropdown, browser, support, edge, IE, firefox, chrome, safari, mozilla firefox, Guided Answer, scenario, not working, failed, expected, CL_HTMLB_CONTENT==============CP, CL_HTMLB_CONTENT==============CCIMP, line 168 , KBA , BC-BSP , Business Server Pages , CA-WUI-UI , User Interface , CA-WUI-APF , Application Frame , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.