cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Class CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference

Former Member
0 Kudos

Hi,

i am getting this error in web ui at the time of opening activity actually i enhanced this component. how can i resolve this error please guide.

 

Cannot display view BT126H_APPT/ApptDetails of UI Component BT126H_APPT

An exception has occurred

Exception Class CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference

Method: CL_BSP_MODEL=>IF_BSP_MODEL_BINDING~IS_ATTRIBUTE_VALID

Source Text Row: 13

rose.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Put a break point in CL_BSP_MODEL=>IF_BSP_MODEL_BINDING~IS_ATTRIBUTE_VALID   and step through 'till it creates dump.  You should be able to figure out what the issue is.  Check both runtime repository editor and component structure browser for modelling correctness.

former_member189678
Active Contributor
0 Kudos

Seems you are trying to access attribute which is not available as a part of BOL entity. Please chek.

Rg,

Harshit

prasenjit_sharma
Active Contributor
0 Kudos

Hi,

I'd suggest you to check that your context, context node and controller classes if they were properly activated. The names of context and context node classes are generally hardcoded. Please check that it corresponds to the one you have.

If nothing works, set a break-point at the method IF_BSP_MODEL_BINDING~IS_ATTRIBUTE_VALID of class CL_BSP_MODEL.

Regards

Prasenjit

Former Member
0 Kudos

Hi, i am getting this error please guide me.

Cannot display view BT126H_APPT/ApptDetails of UI Component BT126H_APPT

An exception has occurred

Exception Class CX_CRM_CIC_PARAMETER_ERROR - Entry parameter of method CL_CRM_BOL_ENTITY->GET_PROPERTY contains value CATEGORYDESC, which is not allowed

Method: CL_CRM_BOL_ENTITY=>IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY

Source Text Row: 19

rose

amarnath_kathi
Active Contributor
0 Kudos

Check whether 'CATEGORYDESC' is a correct attribute name

former_member192716
Contributor
0 Kudos

Hi Rose,

It means you are trying to read an attribute CATEGORYDESC which is not available in the current entity structure. What is the context node you enhanced? If it is BTADMINH then the attribute available is CATEGORY and not CATEGORYDESC.

Regards,

Arun

amarnath_kathi
Active Contributor
0 Kudos

There is some problem in enhancing BT126H_APPT/ApptDetails. And it seems to be with attributes added, could be the methods generation process. Click on the methods of attributes you created and see if all of them are present in context node class CN* of the node where you created custom attributes.