Skip to Content
0
Former Member
Jan 22, 2007 at 10:48 AM

Error while re-using view

48 Views

Hi,

I've several views which i want to re-use but when i add a view which I have already used, i get the error:

Processing HTTP request to servlet [dispatcher] finished with error.

The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: duplicate usage of view .BasketView

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:515)

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:554)

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:554)

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:554)

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:421)

	at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)

	at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)

	at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

	at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:135)

	at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:404)

	at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:618)

	at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

	at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)

	at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

	at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)

	at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

	at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

	at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

	at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

	at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

	at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

	at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

	at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

	at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

	at java.security.AccessController.doPrivileged(Native Method)

	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Why cant I re-use my view?

much thanks,

Hugo