Skip to Content

Error in "Dialog Boxes WD application" tutorial

The sequence of actions is:

1. Start the application

2. Open the dialog for choosing the Address ("To" action

3. Take the first address

4. Correct the address so reopen the dialog (again the "To" action)

When the AddressBookWindows is invoked for second time

an exception is raised:

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

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

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

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

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

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

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

........

Message was edited by: Rosen Chaushev

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2004 at 07:27 PM

    call window.destroy() on the window.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2004 at 07:33 AM

    It works without a problem in SP7 but after an upgrade to SP9, it seems you need to put in the destroy method to remove the window object

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.