[flexcoders] Re: Advanced Data Grid with Grouped Columns

2008-11-04 Thread grg_blls
Hi Tom, hi all.
Thanks for coming back and please excuse me for not including the RTE 
message in the first place.
Well I have it here now.
Thanks in advance for any reply
George

TypeError: Error #1009: Cannot access a property or method of a null 
object reference.
at 
mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/
internal::getMeasuringRenderer()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2001]
at 
mx.controls::AdvancedDataGridBaseEx/adjustVerticalScrollPositionDownwa
rd()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2541]
at mx.controls::AdvancedDataGridBaseEx/configureScrollBars()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2416]
at mx.controls.listClasses::AdvancedListBase/set 
verticalScrollPosition()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\listClasses\AdvancedListBase.as:1198]
at mx.controls::AdvancedDataGridBaseEx/set 
verticalScrollPosition()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:942]
at mx.controls::AdvancedDataGrid/set verticalScrollPosition()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGrid.as:1149]
at mx.controls::AdvancedDataGridBaseEx/scrollHandler()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2317]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:9051]
at 
mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx
/internal::dispatchScrollEvent()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\scrollClas
ses\ScrollBar.as:1257]
at mx.controls.scrollClasses::ScrollThumb/mouseMoveHandler()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\scrollClas
ses\ScrollThumb.as:219]





--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] 
wrote:

 On Thursday 30 Oct 2008, grg_blls wrote:
  vertical scroll, it always throws a RTE.
 
 Guess: It's your customer editors.
 As this code self-evidently won't run as-is, and you've not 
included the full 
 text of the RTE, it's hard to help.
 
 -- 
 Tom Chiverton
 Helping to dynamically e-enable sticky turn-key users
 
 
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at Halliwells LLP, 3 Hardman Square, 
Spinningfields, Manchester, M3 3EB.  A list of members is available 
for inspection at the registered office. Any reference to a partner 
in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.





[flexcoders] Re: Advanced Data Grid with Grouped Columns

2008-11-04 Thread grg_blls
Hi again,

As it seems by another RTE message, there are more ways to crash the 
adg while using Grouped Columns. (The previous posted RTE is thrown 
inconsistently while playing with the vertical scroll bar)
The new RTE is thrown when the canvas container of the adg is 
vertically resized.
Any ideas?
Thank you all for any replies.
George

The new RTE (while resizing the container)

TypeError: Error #1009: Cannot access a property or method of a null 
object reference.
at 
mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/
internal::getMeasuringRenderer()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2001]
at 
mx.controls::AdvancedDataGridBaseEx/adjustVerticalScrollPositionDownwa
rd()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2541]
at mx.controls::AdvancedDataGridBaseEx/configureScrollBars()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2416]
at mx.controls.listClasses::AdvancedListBase/updateDisplayList
()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\listClasses\AdvancedListBase.as:3512]
at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:1758]
at mx.controls::AdvancedDataGrid/updateDisplayList()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGrid.as:5924]
at 
mx.controls.listClasses::AdvancedListBase/validateDisplayList()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\listClasses\AdvancedListBase.as:3071]
at mx.managers::LayoutManager/validateDisplayList()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutMana
ger.as:602]
at mx.managers::LayoutManager/doPhasedInstantiation()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutMana
ger.as:675]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:8460]
at mx.core::UIComponent/callLaterDispatcher()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:8403]


The first RTE (while using the vertical scroll bar)
--- In flexcoders@yahoogroups.com, grg_blls [EMAIL PROTECTED] wrote:

 Hi Tom, hi all.
 Thanks for coming back and please excuse me for not including the 
RTE 
 message in the first place.
 Well I have it here now.
 Thanks in advance for any reply
 George
 
 TypeError: Error #1009: Cannot access a property or method of a 
null 
 object reference.
   at 
 
mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/
 internal::getMeasuringRenderer()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:2001]
   at 
 
mx.controls::AdvancedDataGridBaseEx/adjustVerticalScrollPositionDownwa
 rd()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:2541]
   at mx.controls::AdvancedDataGridBaseEx/configureScrollBars()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:2416]
   at mx.controls.listClasses::AdvancedListBase/set 
 verticalScrollPosition()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\listClasses\AdvancedListBase.as:1198]
   at mx.controls::AdvancedDataGridBaseEx/set 
 verticalScrollPosition()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:942]
   at mx.controls::AdvancedDataGrid/set verticalScrollPosition()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGrid.as:1149]
   at mx.controls::AdvancedDataGridBaseEx/scrollHandler()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:2317]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at mx.core::UIComponent/dispatchEvent()
 
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
 :9051]
   at 
 
mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx
 /internal::dispatchScrollEvent()
 
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\scrollClas
 ses\ScrollBar.as:1257]
   at mx.controls.scrollClasses::ScrollThumb/mouseMoveHandler()
 
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\scrollClas
 ses\ScrollThumb.as:219]
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ 
 wrote:
 
  On Thursday 30 Oct 2008, grg_blls wrote:
   vertical scroll, it always throws a RTE.
  
  Guess: It's your customer editors.
  As this code self-evidently won't run as-is,