cancel
Showing results for 
Search instead for 
Did you mean: 

error on external window popup

Former Member
0 Kudos

Hi All

i am getting this error "com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Parameter windowInfo must not be null." , when it was working actually and i could create the window sucessfully but now it seems not working , its giving this error ,

below is the code i used to create this window , the window name remains the same

IWDWindowInfo winInfo = wdComponentAPI.getComponentInfo().findInWindows("NH_Ack_Win");

modalWindow1 = wdComponentAPI.getWindowManager().createModalWindow(winInfo) ;

modalWindow1.setWindowPosition(WDWindowPos.CENTER) ;

modalWindow1.setWindowSize(600, 200) ;

modalWindow1.setTitle("HSA Acknowledgement") ;

modalWindow1.show() ;

wdContext.currentContextElement().setWin2(modalWindow1);

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi Akeel

Please check the links [First|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/42af9f90-0201-0010-6099-ba67e5426bdf?quicklink=index&overridelayout=true] and [Second|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2066c269-a17a-2c10-8fa7-f6a690c59288?quicklink=index&overridelayout=true]

Refer to the document as per your issue. [Click here|http://www.google.co.in/search?hl=en&q=com.sap.tc.webdynpro.services.exceptions.WDRuntimeException%3AParameterwindowInfomustnotbenull&btnG=Search&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=]

It may be windows not exists which you are refering to in the code. Check as case sensetive value for windows name/

Regards

Arun Jaiswal

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Akeel,

According to the exception, windowinfo is coming null.

So please check wthether there is any window of that name and if yes then it is in same coponent from where you are aceessing or into different component.

As you can create different component in DC may be you acessing the window that are in different component.

If this window is in different component than you access this window in other component by making this component available in other component and accessing this window as interface view and wmbed in compnent window from where you are doing the code.

Thanks,

Sudhanshu