rsrini7 / flexmonkey

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

Getting exceptions while accessing swf application through FlexMonkey. #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

We have a flex application (.swf file) to automate. I can open the
file and do all the actions as stand alone. But, when same application is
tried to open in FlexMonkey, clicking on Menu items throws run time
exceptions. The corresponding menu item page does not open. When, browed
through mxml file, all the states are defined.

For eg. hitting "Home" Menu item throws below exception -

ArgumentError: Undefined state 'Home'.
    at
mx.core::UIComponent/getState()[C:\autobuild\3.2.0\frameworks\projects\framework
\src\mx\core\UIComponent.as:7230]
    at
mx.core::UIComponent/findCommonBaseState()[C:\autobuild\3.2.0\frameworks\project
s\framework\src\mx\core\UIComponent.as:7250]
    at
mx.core::UIComponent/commitCurrentState()[C:\autobuild\3.2.0\frameworks\projects
\framework\src\mx\core\UIComponent.as:7149]
    at
mx.core::UIComponent/setCurrentState()[C:\autobuild\3.2.0\frameworks\projects\fr
amework\src\mx\core\UIComponent.as:7113]
    at mx.core::UIComponent/set
currentState()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UICo
mponent.as:4361]
    at
com.staffing.views.home::MainToolbar/itemClick()[C:\tmp\src\com\staffing\views\h
ome\MainToolbar.mxml:18]
    at
com.staffing.views.home::MainToolbar/___MainToolbar_MenuBar1_click()[C:\tmp\src\
com\staffing\views\home\MainToolbar.mxml:25]

Hitting one more menu item "Find Help" throws below exceptions -

ArgumentError: Undefined state 'FindHelp'.
    at
mx.core::UIComponent/getState()[C:\autobuild\3.2.0\frameworks\projects\framework
\src\mx\core\UIComponent.as:7230]
    at
mx.core::UIComponent/findCommonBaseState()[C:\autobuild\3.2.0\frameworks\project
s\framework\src\mx\core\UIComponent.as:7250]
    at
mx.core::UIComponent/commitCurrentState()[C:\autobuild\3.2.0\frameworks\projects
\framework\src\mx\core\UIComponent.as:7149]
    at
mx.core::UIComponent/setCurrentState()[C:\autobuild\3.2.0\frameworks\projects\fr
amework\src\mx\core\UIComponent.as:7113]
    at mx.core::UIComponent/set
currentState()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UICo
mponent.as:4361]
    at
com.intuit.staffing.views.home::MainToolbar/itemClick()[C:\tmp\src\com\intuit\st
affing\views\home\MainToolbar.mxml:18]
    at
com.staffing.views.home::MainToolbar/___MainToolbar_MenuBar1_click()[C:\tmp\src\
com\staffing\views\home\MainToolbar.mxml:25]

Please, let me know, if any solution.
Thanks.

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

OS - WinXP
Adobe Flash Player 9
FlexMonkey 0.6.a

Original issue reported on code.google.com by joshi.s....@gmail.com on 23 Feb 2009 at 8:54

GoogleCodeExporter commented 9 years ago
Were you able to get any solution to this.I am getting the same problem.

Original comment by shilpasb...@gmail.com on 14 Apr 2009 at 4:39

GoogleCodeExporter commented 9 years ago
Retiring 0.x issues

Original comment by eric.owe...@gtempaccount.com on 16 Jul 2009 at 12:51