Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Options Button in Roster Causes Exception


Level 3


I have a Roster element in my application, I want to use the Options button to manage various properties of users but when I click the button I get an exception like below:

TypeError: Error #2007: Parameter colors must be non-null.

          at flash.display::Graphics/beginGradientFill()

          at com.adobe.coreUI.controls::CustomMenu/updateDisplayList()[E:\flashfarm\branches\connect\1108\SDKApp\payload\libs\player10.3\src\com\adobe\coreUI\controls\]

          at mx.controls.listClasses::ListBase/validateDisplayList()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\listClasses\]

          at mx.managers::LayoutManager/validateClient()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\]

          at mx.core::UIComponent/validateNow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\]

          at com.adobe.rtc.pods::Roster/onShowMenu()[E:\flashfarm\branches\connect\1108\SDKApp\payload\libs\player10.3\src\com\adobe\rtc\pods\]



          at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\]

          at com.adobe.rtc.pods.rosterClasses::UserItemRenderer/onMenuClick()[E:\flashfarm\branches\connect\1108\SDKApp\payload\libs\player10.3\src\com\adobe\rtc\pods\rosterClasses\]

I've added an event listener to the userMenuItemClick event but it didn't change anything.

Could you please help?


1 Reply




I am not sure why this is occuring. I checked the code, and the we dont set null values to the beginGradientFill call thats causing this exception.

Can you please share your code.