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

Avatar

Level 3

Hi,

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\CustomMenu.as:241]

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

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

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

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

          at flash.events::EventDispatcher/dispatchEventFunction()

          at flash.events::EventDispatcher/dispatchEvent()

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

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

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

Could you please help?

Thanks.

1 Reply

Avatar

Employee

Hi,

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.

Thanks

Arun