rsrini7 / flexmonkey

Automatically exported from code.google.com/p/flexmonkey
0 stars 0 forks source link

Problem with FlexMonkey example app #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open flex monkey example app.
2. Click the record button in the FlexMonkey Window.
3. Click the add button in the Monkey Contact Manager.
4. Click the new entry in the FlexMonkey window. 

What is the expected output? What do you see instead?

I would expect no error, instead I see:

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
    at
mx.automation.delegates.controls::DataGridAutomationImpl/getItemAutomationNameOr
ValueHelper()[C:\Work\flex\dmv_automation\projects\automation\src\mx\automation\
delegates\controls\DataGridAutomationImpl.as:196]
    at
mx.automation.delegates.controls::DataGridAutomationImpl/getItemAutomationValue(
)[C:\Work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\co
ntrols\DataGridAutomationImpl.as:129]
    at
mx.automation::AutomationManager/helpCreateIDPart()[C:\Work\flex\dmv_automation\
projects\automation\src\mx\automation\AutomationManager.as:1572]
    at
mx.automation.delegates.controls::ListBaseAutomationImpl/createAutomationIDPart(
)[C:\Work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\co
ntrols\ListBaseAutomationImpl.as:312]
    at
mx.core::UIComponent/createAutomationIDPart()[E:\dev\3.1.0\frameworks\projects\f
ramework\src\mx\core\UIComponent.as:9075]
    at
mx.automation::AutomationManager/captureID()[C:\Work\flex\dmv_automation\project
s\automation\src\mx\automation\AutomationManager.as:2227]
    at
mx.automation::AutomationManager/captureIDFromMouseDownEvent()[C:\Work\flex\dmv_
automation\projects\automation\src\mx\automation\AutomationManager.as:2158]

What version of the product are you using? On what operating system?

The version of the FlexMoney app is the current version shown on your
website (as of January 26, 2008)

The Version of the flash player is 9,0,124,0

I am on Windows XP using Firefox/3.0.5 as my browser.

Please provide any additional information below.

Original issue reported on code.google.com by philip.w...@gmail.com on 26 Jan 2009 at 1:52

GoogleCodeExporter commented 9 years ago
This is an issue I have seen with the DataGrid in the FlexMonkey window.  

Note that if you click elsewhere in the monkey, outside of a data-filled row in 
the DataGrid, recording will 
stop, and then you can select the new entry.

FYI, the problem is triggered by the monkey's delete icon -- the code in 
Adobe's DataGridAutomationImpl 
isn't quite defensive enough about an inline itemRenderer that does not return 
an automationValue array.

Also FYI, my post in the forum about patching the DataGridAutomationImpl 
concerns the same method that 
throws this error, but my fix is not for this problem.

Original comment by ericowen...@gmail.com on 29 Jan 2009 at 1:52

GoogleCodeExporter commented 9 years ago
Cannot reproduce this problem in the new release (0.7) using the steps listed.  
0.7
should be released very soon.

Original comment by mark.c...@gorillalogic.com on 4 Feb 2009 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by mark.c...@gorillalogic.com on 4 Feb 2009 at 7:45

GoogleCodeExporter commented 9 years ago

Original comment by mark.c...@gorillalogic.com on 12 Feb 2009 at 4:03