cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate Instance Error

Former Member
0 Kudos

Hi

In an dialog-box event application I 'm getting following error:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Duplicate instance exception: The interface view CallWindowInterfaceView in component TrialValidation1Comp is already in use.

at com.sap.tc.webdynpro.progmodel.controller.Component.addUsageOfInterfaceView(Component.java:177)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.<init>(WebDynproWindow.java:79)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.<init>(WebDynproWindow.java:93)

at com.sap.tc.webdynpro.clientserver.window.InternalWindow.<init>(InternalWindow.java:32)

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

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createWindow(ClientComponent.java:942)

at com.sap.trial.comp.MainView.onActionShowCallWindow(MainView.java:150)

at com.sap.trial.comp.wdp.InternalMainView.wdInvokeEventHandler(InternalMainView.java:147)

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

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

can someone tell me what is this all about?? how to remove this

Thanks

Srikant

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srikant,

Can you post the code in onActionShowCallWindow of your MainView.java. The line no 150 is giving error.

Regards,

Jaydeep

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

this error might come if you use say a pop up WD window and also open an WD application in an external window one after the another. both of them use the interface view hence that error. this is one such condition may be if u can give details of your project i can help.

regards

vln

Former Member
0 Kudos

Hi Srikant

This comes when ever you are using the component more than once. I guess "CallWindowInterfaceView" you are trying to embed in 2 windows.

If you want to go away with this have 2 different used components with 2 names with the same component embeded.

Regards

NagaKishore V