cancel
Showing results for 
Search instead for 
Did you mean: 

Error while running the webdynpro application

neha_mahanty
Active Participant
0 Kudos

HI All,

I am new to web Dynpro's . I was going through this link

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20d2def3-f0ec-2a10-6b80-877a71ec...

to create a Pop up window using web dynpro.

After I deployed and run my application . I got the starting page which is a button and when I click the button it should open the pop up window.

But When I click the button , I am getting this error:-

Error Description:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Parameter windowInfo must not be null.

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createModalWindow(ClientComponent.java:1028)

at popapp.PopAppView.onActionCreatepopup(PopAppView.java:148)

at popapp.wdp.InternalPopAppView.wdInvokeEventHandler(InternalPopAppView.java:148)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)

at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)

... 27 more

Kindly suggest.

Thanks adn Regards

Neha Mahanty

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Neha,

check this thread

there must be some problem in creating the window.delete the window and create it again

Thanks

Bala Duvvuri

neha_mahanty
Active Participant
0 Kudos

Hi All,

Thanks a lot for the replies. The issue was related to the window name .

The problem is solved , thanks a lot for the support

Thanks and Regards

Neha Mahanty

Former Member
0 Kudos

HI Neha,

Along with window name,Tike context mapping bhi chek kara.

Context mapping re bhi problem thaipare.

Regards

-Sandip

Former Member
0 Kudos

check this thread

Former Member
0 Kudos

Hi Neha,

Just see the following line of code :

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");

Here the string parameter "PopWin" is the name of the window that you have created at design time to display the popup window. Please check if the parameter that you are passing here is the same as your window name and it is also case-sensitive.

Regards,

Tahzeeb.

Former Member
0 Kudos

Hi Neha,

It might be a problem in creation of window in your action button implementation. Check your code fo creating modalwindow

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");

IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);

window.setWindowPosition (300, 150);

window.show();

Regards

Raghu

Former Member
0 Kudos

Hi,

Check Window name. This exception indicates window name is incorrect.

Regards,

Apurva