Avatar

Level 2

Can someone explain to me what subscribe() does on the userManager class?  I've attached a file that will work if the line

this.session.userManager.subscribe(); is commented out.  As soon as that line is uncommented the application throws a runtime exception:

Error: MessageManager.createNode : insufficient permissions to create node

at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::createNode()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\messaging\manager\MessageManager.as:246]

at com.adobe.rtc.sharedModel::CollectionNode/createNode()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedModel\CollectionNode.as:362]

at com.adobe.rtc.sharedManagers::UserManager/registerCustomUserField()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\UserManager.as:635]

at PresenceTest/onUserManagerSync()[/projects/mosaic/tiles_ui/src/PresenceTest.mxml:55]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

Thanks.

-chris