Parent application mapping removed after sub app unload.

Maddy's Avatar


30 Apr, 2015 04:24 PM


I am working on an app which load another sub app. Both of the application uses robotlegs 2, having separate context and sub app is loaded in the parent application using SwfLoader. Sub can be loaded/unloaded based on the user interaction. Every things work fine until sub app is unloaded, on unload of sub app (done using swfloader.unloadAndStop()) some of the mappings of the parent application is removed. Swfloader loaderContext is ApplicationDomain.currentDomain and SecurityDomain.currentDomain.

I am not able to find out why this is happening. Plz help.

  1. Support Staff 1 Posted by Ondina D.F. on 01 May, 2015 09:26 AM

    Ondina D.F.'s Avatar

    Hi Maddy,

    ... some of the mappings of the parent application is removed

    What kind of mappings? Could you be more specific? Are the mapped classes used in the sub application or just in the parent application? Can you show me the mappings in question and explain the role of the classes in your parent and sub apps? Are you using a shared library for the 2 apps?

    It would be easier for me to help you, if I could take a look at the code. Is it possible to reproduce the issues in a very simple application, actually 2 apps, and attach them as a zip?


  2. Ondina D.F. closed this discussion on 24 Jun, 2015 01:36 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac