cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot test any component in BSP_WD_CMPWB

Former Member
0 Kudos
341

Hello all,

I am not able to test any component in Component workbench BSP_WD_CMPWB.

It's giving me the below error.

Cannot display view Root.htm of UI Component ZXXXXX

An exception has occurred

Exception Class    CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference

Method:    CL_BSPWD_BASICS_WA_HOST_VS=>SET_ERROR_STATE

Source Text Row:    28

I checked the SICF services, they are active. I used the correct domain name in HOSTS file.

What else could be the problem?

Please help. Thanks in advance.

-Ezhno.

Accepted Solutions (0)

Answers (4)

Answers (4)

praveen_kumar194
Active Contributor
0 Kudos

error is talking you root.html. is it .html page of any view of your component ? if yes, check are you trying to use any object with out having valid reference in it.

generally people would forget creating UI configuration and refer UI related code in the html page. this could be one reason.

or

some UI components ( even custom ) will try to use some standard class features. when test these kind of UI components alone, they will try to access these classes which will not be there in the memory. these will be loaded when you actually go through login.

if second one is the problem, then you can not test it.

Varun_Agarwal
Advisor
Advisor
0 Kudos

It looks like there is an issue with your Runtime Repository !
Could you please raise an incident for this issue under CA-WUI-WKB.

Former Member
0 Kudos

Hi Sagar,

1. I can not test the standard components also.

2. Runtime repository maintained. Default window has the default view.

Thanks

-Ezhno.

Former Member
0 Kudos

Ezhno,

If you can not test standard components as well meaning there is something you need to do which probably has got nothing to do with your training.

Why don't you create work center for that component and include it in some business role and then test it directly on web UI? Adding these components to business role is anyhow required.

Former Member
0 Kudos

Hello Ezhno,

I am not sure why you are trying to test a component from component workbench. It is never required.

Anyways, I would suggest you to test component crm_ui_frame. Expect to see login page during this test.

Also please ensure that you have correct enhancement set assigned to your client in table BSPWDV_EHSET_ASG.

Former Member
0 Kudos

Hi,

I am giving a training session to my new team.

They have to create the z-components with search pages and overview pages in component workbench and test. ( we do not test the enhanced-standard components ).

I am not able to figure out why I am getting that error.

Thanks.

-Ezhno.

Former Member
0 Kudos

Hi,

I am slowly getting the context now but just by looking at the error message I can not say what must be going wrong. Can you please write steps which you carried out? Screenshots will be helpful too.

You may also want to ensure that

1. any standard component can be tested and it doesn't show that error.

2. you have maintained the run time repository. at least default window having assigned the view.