cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete\inactive active ComponentUsage in webdynpro java

former_member264487
Discoverer
0 Kudos

Hi,

I am getting "No active component must exist when creating a component" 500 internal error in my webdynpro application.

Detailed exception trace:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(com.sap.tc.iv.navigation.Navigation:DomainConfigWiz, createOnDemand=false, childComponent=com.sap.tc.iv.wd.comp.domainconfigwiz.DomainConfigWiz): No active component must exist when creating a component.

  at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureNoActiveComponent(ComponentUsage.java:1185)

  at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:232)

  at com.sap.tc.iv.navigation.NavigationView.onPlugStartDomainConfigurationWizard(NavigationView.java:215)

  at com.sap.tc.iv.navigation.wdp.InternalNavigationView.wdInvokeEventHandler(InternalNavigationView.java:160)

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

  at com.sap.tc.webdynpro.progmodel.window.ViewController.invokeInboundPlugHandler(ViewController.java:446)

  at com.sap.tc.webdynpro.clientserver.cal.NavigationManager.processInboundPlugQueue(NavigationManager.java:305)

  at com.sap.tc.webdynpro.clientserver.cal.NavigationManager.navigate(NavigationManager.java:320)

  at com.sap.tc.webdynpro.clientserver.phases.NavigationPhase.execute(NavigationPhase.java:63)

  at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)

  at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)

  at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)

  at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:515)

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

  at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1671)

  at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1485)

  at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:908)

  at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:880)

  at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:357)

  at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)

  at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)

  at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:101)

  at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)


any idea how to fix this issue ?


Regards,

Sunil

Accepted Solutions (0)

Answers (2)

Answers (2)

junwu
Active Contributor
0 Kudos

it doesn't give u error all the time right?

It's sap standard application right?

former_member264487
Discoverer
0 Kudos

Hi Jun,

I am not getting this error all the time. First it works fine. If I jump to other tab/screen and come back to previous screen then i am getting this error. yes this is SAP application.

Regards,

Sunil

junwu
Active Contributor
0 Kudos
former_member191044
Active Contributor
0 Kudos

You try to create a component usage twice for the same component. I think that is what it is. Maybe share some details from designe time.

Regards,

Tobias

former_member264487
Discoverer
0 Kudos

Hi Tobias,

At design time in my application, Views are in different component controller and i am using fire plug event to navigate from one view to other. First time its navigating fine but in second time component usage exception is throwing. I am not creating component usage in my coding. It might be getting created while navigating by plug. is there any way to check active component usage and inactive that ?

Regards,

Sunil