Hi,
I am trying to integrate the SharedWhiteBoard into my application. Whenever I click any of the tools (such as the pencil) from the SharedWhiteBoard toolbar, I get the following debug error. Is this error known, and are there any work arounds to get it to work? I am using version 1.0 of the swc (for Flash Player 10, in an AIR app). I have set the SharedWhiteBoard to have a backgroundalpha of 0.
thanks
Mark
VerifyError: Error #1053: Illegal override of NullSwatchPanel in com.adobe.coreUI.controls.nullColorPickerClasses.NullSwatchPanel.
at com.adobe.coreUI.controls::NullColorPicker/set dataProvider()
at com.adobe.coreUI.controls::NullColorPicker/loadDefaultPalette()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\NullColorPicker.as:1288]
at com.adobe.coreUI.controls::NullColorPicker()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\NullColorPicker.as:456]
at com.adobe.coreUI.controls.whiteboardClasses.shapes::WBPropertiesToolBar/createControls()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\whiteboardClasses\shapes\WBPropertiesToolBar.as:156]
at com.adobe.coreUI.controls.whiteboardClasses.shapes::WBPropertiesToolBar/createChildren()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\whiteboardClasses\shapes\WBPropertiesToolBar.as:123]
at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent over-binding 0 in com.adobe.coreUI.controls.nullColorPickerClasses::NullSwatchPanel
.as:6510]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at mx.core::UIComponent/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6086]
at com.adobe.coreUI.controls::WhiteBoard/addProps()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\WhiteBoard.as:262]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:11260]
at com.adobe.coreUI.controls.whiteboardClasses::WBCanvas/addToolBar()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\whiteboardClasses\WBCanvas.as:566]
at com.adobe.coreUI.controls.whiteboardClasses::WBCanvas/commitProperties()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\whiteboardClasses\WBCanvas.as:722]
at mx.core::UIComponent/validateProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:7019]
at mx.managers::LayoutManager/validateProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:572]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:730]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1067]
Views
Replies
Total Likes
I'm receiving the same error, here is the code that I'm executing to reproduce:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768" xmlns:rtc="AfcsNameSpace">
<rtc:ConnectSessionContainer id="connectSession" width="100%" height="100%" roomURL="{DebugCredentials.ROOM_URL}" >
<rtc:authenticator>
<rtc:AdobeHSAuthenticator userName="{DebugCredentials.USERNAME}" password="{DebugCredentials.PASSWORD}" />
</rtc:authenticator>
<s:HGroup width="100%" height="100%">
<s:List dataProvider="{connectSession.userManager.userCollection}" labelField="displayName" width="25%" height="100%" />
<rtc:SharedWhiteBoard width="100%" height="100%" />
</s:HGroup>
</rtc:ConnectSessionContainer>
</s:Application>
Using FP10 and 1.0 of the swc.
Views
Replies
Total Likes
Are you guys using the latest FlashBuilder beta? This issue was known (and then fixed) in the previous FlashBuilder beta, but maybe has cropped up again in the new one? If you run this from (good old, reliable) Flex Builder, everything should be ok.
we'll look into it.
nigel
Views
Replies
Total Likes
Hi Nigel
I beleive am using the latest version (Beta 2) of the Flash Builder Beta Plug In for Eclipse. (If I go to 'Help->About Adobe Flash Builder 4' the version reads: 'Version 4.0 (build 253292)').
I will try building using Flex Builder 3 as you suggest.
thanks
Mark
Views
Replies
Total Likes
Hi Nigel
I built the same project in Flex Builder 3 and was having exactly the same error. I did some troubleshooting, using the below code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="100%" height="100%" xmlns:rtc="AfcsNameSpace">
<rtc:ConnectSessionContainer id="connectSession" width="100%" height="100%" roomURL="[MYROOMURL]" >
<rtc:authenticator>
<rtc:AdobeHSAuthenticator userName="[MYUSERNAME]" password="[MYPASS]" />
</rtc:authenticator>
<rtc:SharedWhiteBoard width="100%" height="100%" />
</rtc:ConnectSessionContainer>
</mx:WindowedApplication>
I found that when building above code using Flex SDK 3.4 I can use the SharedWhiteBoard with no errors. However, when building using SDK 4.0 - I get the above error ( when trying to use the whiteboard toolbar).
Mark
Views
Replies
Total Likes
I did some testing this morning to see if I could get the WhiteBoard to work with different versions of the Flex 4 SDK.
Flex 4.0.0.7219 (Beta 1), Flex 4.0.0.10485 (Beta 2), and Flex 4.0.0.10973 (Latest Nightly) results in a VerifyError:
VerifyError: Error #1053: Illegal override of NullSwatchPanel in com.adobe.coreUI.controls.nullColorPickerClasses.NullSwatchPanel.
at com.adobe.coreUI.controls::NullColorPicker/set dataProvider()
at com.adobe.coreUI.controls::NullColorPicker/loadDefaultPalette()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\NullColorPicker.as:1288]
On click of the control panel.
Flex 3.4.1.10084 does not throw any errors.
I didn't test the 2008 MAX preview version of the Flex 4 SDK, hope this helps!
Views
Replies
Total Likes
Hi,
Are you using the latest version of the LCCS swc ? This error is because you might be using an older version of LCCS swc with the Flex 4. I remember fixing this so that it works fine with Flex 4. Either use the latest swc or link to the source and let me know if you still see it.
Thanks
Hironmay Basu
Views
Replies
Total Likes
Still seeing the error using the latest build that the AFCS SDK Navigator is giving me, AFCS Beta Build : 1.01, and Flash Player 10 version swc. Reproducable across all milestone Flex 4 SDK builds and the latest nightly.
Error Issued:
VerifyError: Error #1053: Illegal override of NullSwatchPanel in com.adobe.coreUI.controls.nullColorPickerClasses.NullSwatchPanel.
at com.adobe.coreUI.controls::NullColorPicker/set dataProvider()
at com.adobe.coreUI.controls::NullColorPicker/loadDefaultPalette()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\NullColorPicker.as:1288]
at com.adobe.coreUI.controls::NullColorPicker()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\NullColorPicker.as:456]
at com.adobe.coreUI.controls.whiteboardClasses.shapes::WBPropertiesToolBar/createControls()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\whiteboardClasses\shapes\WBPropertiesToolBar.as:156]
at com.adobe.coreUI.controls.whiteboardClasses.shapes::WBPropertiesToolBar/createChildren()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\whiteboardClasses\shapes\WBPropertiesToolBar.as:123]
at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at mx.core::UIComponent/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6086]
at com.adobe.coreUI.controls::WhiteBoard/addProps()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\WhiteBoard.as:263]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:11260]
at com.adobe.coreUI.controls.whiteboardClasses::WBCanvas/addToolBar()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\whiteboardClasses\WBCanvas.as:578]
at com.adobe.coreUI.controls.whiteboardClasses::WBCanvas/commitProperties()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\coreUI\controls\whiteboardClasses\WBCanvas.as:734]
at mx.core::UIComponent/validateProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:7019]
at mx.managers::LayoutManager/validateProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:572]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:730]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1067]
Code:
<fx:Declarations>
<rtc:AdobeHSAuthenticator id="alcsAuthenticator" userName="{DebugCredentials.USERNAME}" password="{DebugCredentials.PASSWORD}" />
</fx:Declarations>
<rtc:ConnectSessionContainer id="connectSession" authenticator="{alcsAuthenticator}" roomURL="{DebugCredentials.ROOM_URL}" >
<s:HGroup width="100%" height="100%" >
<s:List dataProvider="{connectSession.userManager.userCollection}" labelField="displayName" width="50%" height="100%" />
<rtc:SharedWhiteBoard width="50%" height="100%" />
</s:HGroup>
</rtc:ConnectSessionContainer>
Views
Replies
Total Likes
Hi Elliot,
Yes there was a bug on our side in player 10 swc which somehow didn’t have the requisite changes. I have fixed it and it should be updated in next drop of SDK. Meanwhile you can use player 9 swc for reference if that solves your purpose. We don’t yet officially support Flex 4 since its still not released, but it's always a great help when such bugs get reported.
Thanks for letting us know.
Regards
Hironmay Basu
Views
Replies
Total Likes