cancel
Showing results for 
Search instead for 
Did you mean: 

Creating new Controllers while/after exiting a Component is not allowed

Former Member
0 Kudos

Hi,

Somebody have any idea about this exception?

#1.5#0012794312500015000000030000141000040EC4EBBD59CA#1142138838296#com.sap.tc.webdynpro.clientserver.task.Task#sap.com/tcwddispwda#com.sap.tc.webdynpro.clientserver.task.Task#ET36959#469#####SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/UserInterface#Java###<b>Exception while destroying application.</b>

[EXCEPTION]

#1#<b>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Creating new Controllers while/after exiting a Component is not allowed.</b>

at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)

at com.sap.tc.webdynpro.progmodel.controller.Component.getController(Component.java:365)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.getPublicInterface(DelegatingComponent.java:142)

at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetNavigationController(InternalFPMComponent.java:240)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.navigate(FPMComponent.java:844)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.navigate(FPMComponent.java:827)

This exception occurs with ESS and MSS standar applications...

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Friends,

I am working on webdynpro java with MDM and facing fallowing error while careating a CAF GP Callable objecet.Basically we are closing user session in the component cotroller "MDMFunctions". ofwdDoExit method. what would be the better way to close the connection. other than user session closing there is no code at all inside wdExit method. could you please help me out as it is showing number of time.

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Creating new Controllers while/after exiting a Component is not allowed.

at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:441)

at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:387)

(MappedAttribute.java:72)

at com.sap.tc.webdynpro.progmodel.context.MappedAttribute.getString(MappedAttribute.java:126)

at com.syngenta.wdp.IPublicMDMFunctions$IContextElement.getSessionId(IPublicMDMFunctions.java:296)

at com.syngenta.MDMFunctions.wdDoExit(MDMFunctions.java:174)

Thanks and Regards

Ratnakar

Former Member
0 Kudos

Hi Friends,

I am working on webdynpro java with MDM and facing fallowing error while careating a CAF GP Callable objecet.Basically we are closing user session in the component cotroller "MDMFunctions". ofwdDoExit method. what would be the better way to close the connection. other than user session closing there is no code at all inside wdExit method. could you please help me out as it is showing number of time.

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Creating new Controllers while/after exiting a Component is not allowed.

at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:441)

at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:387)

at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:416)

at com.sap.tc.webdynpro.progmodel.context.MappedAttributeInfo.initAttributeMapping(MappedAttributeInfo.java:323)

at com.sap.tc.webdynpro.progmodel.context.MappedAttributeInfo.getDataAttribute(MappedAttributeInfo.java:82)

at com.sap.tc.webdynpro.progmodel.context.AttributeInfo.getDataAttributeInternal(AttributeInfo.java:157)

at com.sap.tc.webdynpro.progmodel.context.MappedAttribute.getDataPointer(MappedAttribute.java:72)

at com.sap.tc.webdynpro.progmodel.context.MappedAttribute.getString(MappedAttribute.java:126)

at com.syngenta.wdp.IPublicMDMFunctions$IContextElement.getSessionId(IPublicMDMFunctions.java:296)

at com.syngenta.MDMFunctions.wdDoExit(MDMFunctions.java:174)

Thanks and Regards

Ratnakar

Former Member
0 Kudos

Jose,

Sometimes I got this message when by error place code for component usage initialization into wdDoExit instead of wdDoInit method...

VS