Skip to Content
0
Former Member
Sep 27, 2005 at 05:03 PM

Active component must exist when getting interface controller

17 Views

HI,

when I try t call interface controller from component controller I am getting this exception.

What might be the problem?

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(NetworkScheduleDAInterface): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?

at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:774)

at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUsage.java:341)

at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:328)

at com.sap.xiep.netsched.services.wdp.InternalNetworkScheduleServicesCompInterface.wdGetNetworkScheduleDAInterfaceInterface(InternalNetworkScheduleServicesCompInterface.java:330)

at com.sap.xiep.netsched.services.NetworkScheduleServicesCompInterface.GetNetworkListFromWBS(NetworkScheduleServicesCompInterface.java:115)

at com.sap.xiep.netsched.services.wdp.InternalNetworkScheduleServicesCompInterface.GetNetworkListFromWBS(InternalNetworkScheduleServicesCompInterface.java:314)

at com.sap.xiep.netsched.services.wdp.InternalNetworkScheduleServicesCompInterface$External.GetNetworkListFromWBS(InternalNetworkScheduleServicesCompInterface.java:367)

at com.sap.xiep.network.schedule.ui.NetworkScheduleCompInterface.getNetworkListFromWbs(NetworkScheduleCompInterface.java:115)

at com.sap.xiep.network.schedule.ui.wdp.InternalNetworkScheduleCompInterface.getNetworkListFromWbs(InternalNetworkScheduleCompInterface.java:314)

at com.sap.xiep.network.schedule.ui.NetworkScheduleComp.getNetworkListFromWbs(NetworkScheduleComp.java:176)

at com.sap.xiep.network.schedule.ui.wdp.InternalNetworkScheduleComp.getNetworkListFromWbs(InternalNetworkScheduleComp.java:332)

at com.sap.xiep.network.schedule.ui.NetworkScheduleCompView.onActionGetNetworkListFromWBS(NetworkScheduleCompView.java:149)

at com.sap.xiep.network.schedule.ui.wdp.InternalNetworkScheduleCompView.wdInvokeEventHandler(InternalNetworkScheduleCompView.java:330)

Regards,

Karthick