Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: two modules with seperate delegate.  (Read 3088 times)
marks416
Sr. Member
****
Posts: 52


View Profile Email
« on: March 04, 2009, 11:17:47 »

Hi,

I load two different module in the shell,I get the follow error when I use one of them to talk with database with delegate.

Do you know why this happens.

Thanks

Mark

ps: error message:

TypeError: Error #1034: Type Coercion failed: cannot convert mx.messaging.messages::AcknowledgeMessageExt@4ffc139 to mx.messaging.messages.IMessage.
TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::HistoryManagerImpl@ef18089 to mx.managers.IHistoryManager.
   at mx.managers::HistoryManager$/get impl()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as:96]
   at mx.managers::HistoryManager$/unregister()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as:144]
   at mx.containers::Accordion/removedFromStageHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\containers\Accordion.as:2160]
   at flash.display::DisplayObjectContainer/removeChild()
   at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5074]
   at mx.core::Container/removeChild()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\Container.as:2267]
   at shell.view::ModulesContainerMediator/unloadModule()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\view\ModulesContainerMediator.as:110]
   at shell.view::ModulesContainerMediator/respondToRemovedFromList()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\view\ModulesContainerMediator.as:81]
   at org.puremvc.as3.multicore.utilities.fabrication.patterns.mediator::FabricationMediator/invokeNotificationHandler()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\patterns\mediator\FabricationMediator.as:579]
   at org.puremvc.as3.multicore.utilities.fabrication.patterns.mediator::FabricationMediator/handleNotification()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\patterns\mediator\FabricationMediator.as:384]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at org.puremvc.as3.multicore.patterns.observer::Observer/notifyObserver()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\observer\Observer.as:100]
   at org.puremvc.as3.multicore.core::View/notifyObservers()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\core\View.as:127]
   at org.puremvc.as3.multicore.utilities.fabrication.core::FabricationView/notifyObservers()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\core\FabricationView.as:77]
   at org.puremvc.as3.multicore.patterns.facade::Facade/notifyObservers()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\facade\Facade.as:294]
   at org.puremvc.as3.multicore.patterns.facade::Facade/sendNotification()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\facade\Facade.as:277]
   at org.puremvc.as3.multicore.patterns.observer::Notifier/sendNotification()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\observer\Notifier.as:60]
   at org.puremvc.as3.multicore.utilities.fabrication.patterns.proxy::FabricationProxy/sendNotification()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\patterns\proxy\FabricationProxy.as:161]
   at shell.model::ListProxy/remove()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\model\ListProxy.as:34]
   at shell.model::ListProxy/removeAll()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\model\ListProxy.as:40]
   at shell.controller::RemoveAllModulesCommand/execute()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\controller\RemoveAllModulesCommand.as:14]
   at org.puremvc.as3.multicore.utilities.fabrication.core::FabricationController/executeCommand()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\core\FabricationController.as:164]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at org.puremvc.as3.multicore.patterns.observer::Observer/notifyObserver()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\observer\Observer.as:100]
   at org.puremvc.as3.multicore.core::View/notifyObservers()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\core\View.as:127]
   at org.puremvc.as3.multicore.utilities.fabrication.core::FabricationView/notifyObservers()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\core\FabricationView.as:77]
   at org.puremvc.as3.multicore.patterns.facade::Facade/notifyObservers()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\facade\Facade.as:294]
   at org.puremvc.as3.multicore.patterns.facade::Facade/sendNotification()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\facade\Facade.as:277]
   at org.puremvc.as3.multicore.patterns.observer::Notifier/sendNotification()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\observer\Notifier.as:60]
   at shell.view::MessageControlBarMediator/removeAllButtonListener()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\view\MessageControlBarMediator.as:179]
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: March 07, 2009, 07:48:02 »

Not sure, but I see fabrication in there. You might check with Darshan on that. Try posting a link to this thread over on the Fabrication board under Public Tools, Demos and Apps.

-=Cliff>
Logged
Pages: [1]
Print