Error from Flex 4.5 SDK

This is a line of code from SDK 4.5. File ComboBoxaccImpl.as line 514:
if (ComboBox(master).isDropDownOpen && index >=0 && index < ComboBox(master).dataProvider.length)
I am getting here because I am extending ComboBoxGridItemEditor to use it in my editable grids.
I am getitng the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at spark.accessibility::ComboBoxAccImpl/eventHandler()[E:\dev\4.5.1\frameworks\projects\spar k\src\spark\accessibility\ComboBoxAccImpl.as:514]
    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\co re\UIComponent.as:13128]
    at spark.components::List/commitSelection()[E:\dev\4.5.1\frameworks\projects\spark\src\spark \components\List.as:1216]
    at spark.components.supportClasses::DropDownListBase/commitSelection()[E:\dev\4.5.1\framewor ks\projects\spark\src\spark\components\supportClasses\DropDownListBase.as:565]
    at spark.components.supportClasses::ListBase/commitProperties()[E:\dev\4.5.1\frameworks\proj ects\spark\src\spark\components\supportClasses\ListBase.as:939]
    at spark.components::List/commitProperties()[E:\dev\4.5.1\frameworks\projects\spark\src\spar k\components\List.as:1069]
    at spark.components.supportClasses::DropDownListBase/commitProperties()[E:\dev\4.5.1\framewo rks\projects\spark\src\spark\components\supportClasses\DropDownListBase.as:508]
    at spark.components::ComboBox/commitProperties()[E:\dev\4.5.1\frameworks\projects\spark\src\ spark\components\ComboBox.as:725]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.5.1\frameworks\projects\framework\src\ mx\core\UIComponent.as:8209]
    at mx.managers::LayoutManager/validateClient()[E:\dev\4.5.1\frameworks\projects\framework\sr c\mx\managers\LayoutManager.as:957]
    at mx.core::UIComponent/validateNow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core \UIComponent.as:8067]
    at spark.components.gridClasses::DataGridEditor/setEditedItemPosition()[E:\dev\4.5.1\framewo rks\projects\spark\src\spark\components\gridClasses\DataGridEditor.as:289]
    at spark.components.gridClasses::DataGridEditor/dataGrid_gridItemEditorSessionStartingHandle r()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses\DataGridEditor .as:1204]
    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\co re\UIComponent.as:13128]
    at spark.components.gridClasses::DataGridEditor/startItemEditorSession()[E:\dev\4.5.1\framew orks\projects\spark\src\spark\components\gridClasses\DataGridEditor.as:798]
Looks like the casting is not needed:
ComboBox(master).isDropDownOpen
because master is ComboBox already.
Any idea what to do with this error?
Thanks

That’s probably a bug.  Please file it at bugs.adobe.com/jira
I would see if you can assign a dataprovider sooner than you currently are.

Similar Messages

  • Issues migrating from Flex Builder 3 to Flash Builder 4.5

    Migrating from Flex Builder 3 (SDK 3.5) to Flash Builder 4.5 (SDK 4.5). Using Flex 3 compatibility mode. Flash Player 10.2. MX only components set.
    Issue 1. A DataGridColumn error per:  Description Resource Path Location Type
    Declaration of style 'direction' conflicts with previous declaration in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\frameworks\libs\mx\mx.swc(mx.controls.dataGridClasses:DataGridColumn). SPT_GUI  Unknown Flex Problem
    Issue 2. Using Cairngorm 2. Have a class 'Bindable] public class GuiModel implements ModelLocator'. Now getInstance() is not defined per: private var model : GuiModel = GuiModel .getInstance(). Does Cairngorm 3 have to be used with Flash Builder 4.5?
    What has to be done to resolve these issues?

    Issue 2: Have you defined the static variable to hold the instance of the model locator? Also, have you defined a static method to return the model locator's instance?

  • Missing base class Events (flash.events) | Flex 4.1 SDK | Flex Builder 3

    Hello,
    I am experience the following problem, I am not able locate or find base class Events when I do "import flash.events;" - autocomplete does not work as well. in import flash. only available - flash.errors and flash.text
    However if I switch from Flex 4.1 SDK to Flex 3.2 SDK then no problem and I can add flash.events
    Flex 4.1 SDK version is 4.1.0.65265, I also tried Flex 4.0 SDK, the same problem not able to find events.
    Require flash player version I tried both: 10.0.0 and 10.1.0 nothing helped.
    Could you please suggest what might be wrong. Unfortunately not able to find this info in the forum or google
    Thank you
    Regards,
    Marakame

    Did you try
        import flash.events.*;
    Or
        import flash.events.Event;

  • ExtensionContext error while creating Native Extension in Flex 3.6 SDK

    I'm creating native extension with Flex 3.6 . Coded native side then created Flex Library Project and then create .ane file. Finally imported .ane file to myFlex Project.
    Here is the problem I had. While I'm debugging app, "1046: Type was not found or was not a compile-time constant: ExtensionContext" error occurs. Attached the Library project .as class .
    Thanks in Advance
    package com.extension.samples
       import flash.events.EventDispatcher;
       import flash.events.IEventDispatcher;
       import flash.external.ExtensionContext;
       public class NetworkConnectionANE extends EventDispatcher
            public var _extContext : ExtensionContext;
            public function NetworkConnectionANE(target:IEventDispatcher=null)
                _extContext = ExtensionContext.createExtensionContext("com.extension.samples.NetworkConnectionANE", null);
                 super(target);
            public function Connect(path:String):int
                 return _extContext.call("nativeFunc", path);
            public function dispose():void
                _extContext.dispose();
    Edit: I tried to use .swc file that created from library project in another Flex Desktop app, but the same error
        Also tried with     _extContext = ExtensionContext.createExtensionContext("com.extension.samples.NetworkConnectionANE","");
    Edit: The problem about Flex SDK, there is no problem in SDK 4.6. Now the question is, How to use Extension in lib project in Flex 3.6 SDK ?

    I'm sure, I use Flex 3.6.0 SDK version. When I want to create a library project in 3.6.0, already I couldn't see  ExtensionContext class in flash.external package. If I create in v4.6, I'm having problem when I start to debug my v3.6 desktop application. Now I want to learn
    Does Flex v3.6.0 support NativeExtension ?
       if Yes ,
    which class is equal to ExtensionContext in v3.6.0
    or How can I import ExtensionContext class to v3.6.0
    Thanks

  • Shifting Flex project from Flex SDK 3.5 to Flex SDK 4.0

    Hi,
    I am currently working on a Flex project using Flex 3.5 SDK. I want to shift my project to Flex 4.0 SDK.
    When I changed the project settings to use SDK 4.0, I got lot of unknown location errors.
    1) 1046: Type was not found or was not a compile-time constant: ImportExportConfiguration
    2) 1061: Call to a possibly undefined method setSelection through a reference with static type mx.core.ITextInput
    While the same code of flex was working satisfactorily in Flex SDK 3.5.
    Please tell, how can I get rid of these error and successfully shift my project to Flex SDK 4.0.
    Regards,
    Nitika Agarwal

    Hi,
    While I am migrating my project from flex 3.5 to Flex 4, I have to keep the Flex 3 compatibility mode off and theme as Flex 4 default theme that is Spark.
    Then while i compile I get foloowing errors:
    The   style 'backgroundAlpha' is only supported by type 'mx.controls.TextInput'   with the theme(s) 'halo'.
    The style 'backgroundColor'   is only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'borderColor' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'borderThickness'   is only supported by type 'mx.containers.Canvas' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'mx.controls.TextArea' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    What is the resolution for these, as for most of the controls there is no substitute to these properties. If I do not want ot change my <mx:> controls to <s:>controls because it will hamper my UI look and field, which I cannot afford to do.
    I have added following lines at the beginning of my stylesheet (*.CSS) as well:
         @namespace "http://www.adobe.com/2006/mxml";
        @namespace "library://ns.adobe.com/flex/mx";
        @namespace s "library://ns.adobe.com/flex/spark";
         Button { .... }
         ........ / * other styles */
    Please help me on this.
    Regards,
    Nitika

  • [svn:cairngorm3:] 17674: Maven: Remove deprecated PopUpFactory from Flex SDK 4 version.

    Revision: 17674
    Revision: 17674
    Author:   [email protected]
    Date:     2010-09-13 02:20:26 -0700 (Mon, 13 Sep 2010)
    Log Message:
    Maven: Remove deprecated PopUpFactory from Flex SDK 4 version. Use PopUpWrapper.reuse = false instead.
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/pom.xml

    Hi, those technologies are so cool but I failed to run the sample:
    - I am using Maven 3.0.2.
    Runnung mvn build from the latest source code from trunk "....cairngorm3\samples\todo>mvn install". I got the error relating to "unable to transacoding"
    D:\Java\workspaces\misc\cairngorm3\samples\todo\todo_flex\todo_flex_shell\src\ma
    in\flex\com\adobe\txi\todo\shell\skins\ApplicationHeaderSkin.mxml: Error: unable
    to resolve '/assets/todoLogo_big.png' for transcoding
    D:\Java\workspaces\misc\cairngorm3\samples\todo\todo_flex\todo_flex_shell\src\ma
    in\flex\com\adobe\txi\todo\shell\skins\ApplicationHeaderSkin.mxml: Error: Unable
    to transcode /assets/todoLogo_big.png.
    I shift the assets folder to src/main/flex. It got compiled then I can deploy succesfully into Tomcat 6. But I still get empty screen.
    Do I have to do something else like "run db script", "create DB schema" ?
    Note: my adt.jar is from flex_sdk_4.5.0.17855
    Thanks

  • Error while running C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\build.bat

    Hello
    I am a flex beginner, when i run the  C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\build.bat file the following error is displayed
    Loading Configuration file C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\flex-config.xml
    C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\loaderPanel.mxml
    Error :-1
    Please help me to run the bat file, as it will help me to learn flex independently.
    error message is attached as bmp.
    Thanks in advance.

    Hi,
    Take a look at this report: https://bugs.adobe.com/jira/browse/FB-11626 It might be of help.
    With best regards,
    Barna Biro
    Blog: http://blog.wisebisoft.com

  • Flashbuilder 4 Upgrade from Flex 3 getting following errors any idea

    Hi:
      I'm getting the following 2 errors when I try to compile a swf from Flex 3 to FB4
      Any ideas and how to get around this
      1) 1061: Call to a possibly undefined method addChild through a reference with static type mx.core:INavigatorContent
          this is the AS call
            app.dashboardstack.selectedCild.addChild(panel);
    2) 1118: Implicit coercion of a value with static type mx.core.INavigatorContent to a possibly unrelated type
                 mx.core.Container
            var subjectObject:Container = accordion.selectedChild;
    Thanks, Mike

    You need to read this, http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html and a couple of other related articles in the Flex Developer Center.

  • Send error from Java to Flex

    I need to throw errors from Java and to receive them in Flex.
    My idea is using xml with error id and message, and maybe the Flex
    component which should show the error.
    Is there any other way to do it? Another interaction between
    Java and Flex?
    Thanks in advance
    Tuli-O

    XML wrapping error info written to response when java code
    throws and having a common component on the flex to handle this
    situation -- maybe on the fault event.

  • OpenScript ActionScript Error from Adobe Flash Player 9

    I get a popup ActionScript Error from Adobe Flash Player 9 when trying to record a Flex Tree object using OpenScript 9.2.1.0 Production. Specifically, I click on the Triangle that opens/closes the view of the child nodes underneath the parent node of a Tree. Initially, the triangle arrow already pointing down and the child node is already showing. When I click on the triangle, the node underneath goes up and disappears under its parent node and the traingle is then pointing to the parent node.
    When I click this triangle in Firefox without OpenScript recording, I don't get any errors, popups, or issues. It seems to work correctly. During OpenScript recording, the recording seems to crash with a popup that is titled "Adobe Flash Player 9" and has the text "An ActionScript error has occurred" with the following error message:
    Error: Unable to find automation method 'mx.events.TreeEvent' for class '[object OSAutomationClass]'.
         at mx.automation::AutomationManager/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:1680]
         at mx.automation.delegates.core::UIComponentAutomationImpl/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\core\UIComponentAutomationImpl.as:281]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156]
         at mx.controls::Tree/http://www.adobe.com/2006/flex/mx/internal::dispatchTreeEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Tree.as:3334]
         at mx.controls::Tree/http://www.adobe.com/2006/flex/mx/internal::onTweenEnd()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Tree.as:2193]
         at mx.effects::Tween/endTween()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:524]
         at mx.effects::Tween/http://www.adobe.com/2006/flex/mx/internal::doInterval()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:565]
         at mx.effects::Tween$/timerHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:179]
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    I can click "Dismiss All" from the Adobe popup and Firefox isn't affected. Openscript doesn't appear to have any issues and the recording can be continued or stopped. It records the click on the tree and the "Dismiss All" from the popup both as "Click object("@id='main'") as type "web" instead of "flexFT".
    I am using OATS 9.2.1.0 with Firefox 3.6.17. I am testing a Flex 3.3 SDK built application. I installed the Adobe Flash Player 9 that came with the Flex SDK 3.3 before installing OATS.
    Any help on this issue is greatly appreciated.
    Some other information that may prove to be useful: I cannot seem to get OpenScript to consistently play back the actions on the same tree described above. Sometimes it works and sometimes it does not. I've tried using "Select Tree", "Select List", and "Click Tree" and each one is inconsistent on playback. It will report "Target Not Found".
    I have the console output for a "Target Not Found" failure below, where line 100 is ".select("GRID1>server1", TriggerEvent.Mouse," from the following Java generated on recording with OpenScript:
    flexFT
    .list(
    15,
         "/web:window[@index='0' or @title='My Title']/web:document[@index='0']/flex:application[@automationIndex='index:-1' and @label='' and @className='main' and @automationName='main' and @automationClassName='FlexApplication' and @id='main']/flex:canvas[@automationIndex='index:1' and @label='' and @className='mx.containers.Canvas' and @automationName='mainCanvas' and @automationClassName='FlexCanvas' and @id='mainCanvas']/flex:dividedBox[@automationIndex='index:16' and @label='' and @className='view.MainMediator' and @automationName='mediator' and @automationClassName='FlexDividedBox' and @id='mediator']/flex:accordion[@label='' and @automationName='index:0' and @id='null' and @automationIndex='index:0' and @className='mx.containers.Accordion' and @automationClassName='FlexAccordion']/flex:canvas[@automationIndex='index:1' and @label='My%20View2' and @className='view.my.MyNavigator' and @automationName='My%20View2' and @automationClassName='FlexCanvas' and @id='null']/flex:canvas[@label='' and @automationName='index:1' and @id='null' and @automationIndex='index:1' and @className='mx.containers.Canvas' and @automationClassName='FlexCanvas']/flex:list[@automationIndex='index:2' and @className='view.MyGridTree' and @automationName='index:2' and @automationClassName='FlexList' and @id='null']")
    .select("GRID1>server1", TriggerEvent.Mouse,
         KeyModifier.None);
    think(1.0);
    Console Output:
    11:29:09,093 INFO [EntryPoint] Started with arguments: -port 7777 -jwg C:\OracleATS\OFT\test06_ff\test06_ff.jwg
    11:29:09,250 INFO [EntryPoint] Received StartScriptEvent
    11:29:09,250 INFO [EntryPoint] Running "test06_ff" ...
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.utilities.api.UtilitiesService"
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.browser.api.BrowserService"
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService"
    11:29:09,484 INFO [1] Initialized script service "oracle.oats.scripting.modules.webdom.api.WebDomService"
    11:29:09,484 INFO [1] Initialized script service "oracle.oats.scripting.modules.flexFT.api.FlexFTService"
    11:29:09,484 INFO [1] Initializing VU 1 for script test06_ff
    11:29:21,546 INFO [1] Step: [1] Redirect (/Page1/)
    11:29:21,718 INFO [1] Step: [2] Login Page (/main.html)
    11:29:32,218 INFO [1] Step: [3] My Title (/main.html)
    11:30:11,453 ERROR [1] Error in section Run at line (script.java:100). Target not found
    oracle.oats.scripting.modules.flexFT.common.api.internal.exceptions.FlexFTException: Target not found
         at oracle.oats.scripting.modules.flexFT.common.api.internal.utilities.FlexUtil.checkResults(FlexUtil.java:293)
         at oracle.oats.scripting.modules.flexFT.api.elements.AbstractFlexFTElement.replayEvent(AbstractFlexFTElement.java:99)
         at oracle.oats.scripting.modules.flexFT.api.elements.ListBase.select(ListBase.java:170)
         at script.run(script.java:100)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:325)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:717)
         at java.lang.Thread.run(Thread.java:619)
    11:30:11,453 ERROR [1] Iteration 1 failed at line (script.java:100). Target not found
    oracle.oats.scripting.modules.flexFT.common.api.internal.exceptions.FlexFTException: Target not found
         at oracle.oats.scripting.modules.flexFT.common.api.internal.utilities.FlexUtil.checkResults(FlexUtil.java:293)
         at oracle.oats.scripting.modules.flexFT.api.elements.AbstractFlexFTElement.replayEvent(AbstractFlexFTElement.java:99)
         at oracle.oats.scripting.modules.flexFT.api.elements.ListBase.select(ListBase.java:170)
         at script.run(script.java:100)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:325)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:717)
         at java.lang.Thread.run(Thread.java:619)
    11:30:12,468 INFO [1] Finished VU 1 for script test06_ff
    Thanks,
    John

    I get a popup ActionScript Error from Adobe Flash Player 9 when trying to record a Flex Tree object using OpenScript 9.2.1.0 Production. Specifically, I click on the Triangle that opens/closes the view of the child nodes underneath the parent node of a Tree. Initially, the triangle arrow already pointing down and the child node is already showing. When I click on the triangle, the node underneath goes up and disappears under its parent node and the traingle is then pointing to the parent node.
    When I click this triangle in Firefox without OpenScript recording, I don't get any errors, popups, or issues. It seems to work correctly. During OpenScript recording, the recording seems to crash with a popup that is titled "Adobe Flash Player 9" and has the text "An ActionScript error has occurred" with the following error message:
    Error: Unable to find automation method 'mx.events.TreeEvent' for class '[object OSAutomationClass]'.
         at mx.automation::AutomationManager/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\AutomationManager.as:1680]
         at mx.automation.delegates.core::UIComponentAutomationImpl/recordAutomatableEvent()[C:\work\flex\dmv_automation\projects\automation\src\mx\automation\delegates\core\UIComponentAutomationImpl.as:281]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156]
         at mx.controls::Tree/http://www.adobe.com/2006/flex/mx/internal::dispatchTreeEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Tree.as:3334]
         at mx.controls::Tree/http://www.adobe.com/2006/flex/mx/internal::onTweenEnd()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Tree.as:2193]
         at mx.effects::Tween/endTween()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:524]
         at mx.effects::Tween/http://www.adobe.com/2006/flex/mx/internal::doInterval()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:565]
         at mx.effects::Tween$/timerHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\effects\Tween.as:179]
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    I can click "Dismiss All" from the Adobe popup and Firefox isn't affected. Openscript doesn't appear to have any issues and the recording can be continued or stopped. It records the click on the tree and the "Dismiss All" from the popup both as "Click object("@id='main'") as type "web" instead of "flexFT".
    I am using OATS 9.2.1.0 with Firefox 3.6.17. I am testing a Flex 3.3 SDK built application. I installed the Adobe Flash Player 9 that came with the Flex SDK 3.3 before installing OATS.
    Any help on this issue is greatly appreciated.
    Some other information that may prove to be useful: I cannot seem to get OpenScript to consistently play back the actions on the same tree described above. Sometimes it works and sometimes it does not. I've tried using "Select Tree", "Select List", and "Click Tree" and each one is inconsistent on playback. It will report "Target Not Found".
    I have the console output for a "Target Not Found" failure below, where line 100 is ".select("GRID1>server1", TriggerEvent.Mouse," from the following Java generated on recording with OpenScript:
    flexFT
    .list(
    15,
         "/web:window[@index='0' or @title='My Title']/web:document[@index='0']/flex:application[@automationIndex='index:-1' and @label='' and @className='main' and @automationName='main' and @automationClassName='FlexApplication' and @id='main']/flex:canvas[@automationIndex='index:1' and @label='' and @className='mx.containers.Canvas' and @automationName='mainCanvas' and @automationClassName='FlexCanvas' and @id='mainCanvas']/flex:dividedBox[@automationIndex='index:16' and @label='' and @className='view.MainMediator' and @automationName='mediator' and @automationClassName='FlexDividedBox' and @id='mediator']/flex:accordion[@label='' and @automationName='index:0' and @id='null' and @automationIndex='index:0' and @className='mx.containers.Accordion' and @automationClassName='FlexAccordion']/flex:canvas[@automationIndex='index:1' and @label='My%20View2' and @className='view.my.MyNavigator' and @automationName='My%20View2' and @automationClassName='FlexCanvas' and @id='null']/flex:canvas[@label='' and @automationName='index:1' and @id='null' and @automationIndex='index:1' and @className='mx.containers.Canvas' and @automationClassName='FlexCanvas']/flex:list[@automationIndex='index:2' and @className='view.MyGridTree' and @automationName='index:2' and @automationClassName='FlexList' and @id='null']")
    .select("GRID1>server1", TriggerEvent.Mouse,
         KeyModifier.None);
    think(1.0);
    Console Output:
    11:29:09,093 INFO [EntryPoint] Started with arguments: -port 7777 -jwg C:\OracleATS\OFT\test06_ff\test06_ff.jwg
    11:29:09,250 INFO [EntryPoint] Received StartScriptEvent
    11:29:09,250 INFO [EntryPoint] Running "test06_ff" ...
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.utilities.api.UtilitiesService"
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.browser.api.BrowserService"
    11:29:09,453 INFO [1] Initialized script service "oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService"
    11:29:09,484 INFO [1] Initialized script service "oracle.oats.scripting.modules.webdom.api.WebDomService"
    11:29:09,484 INFO [1] Initialized script service "oracle.oats.scripting.modules.flexFT.api.FlexFTService"
    11:29:09,484 INFO [1] Initializing VU 1 for script test06_ff
    11:29:21,546 INFO [1] Step: [1] Redirect (/Page1/)
    11:29:21,718 INFO [1] Step: [2] Login Page (/main.html)
    11:29:32,218 INFO [1] Step: [3] My Title (/main.html)
    11:30:11,453 ERROR [1] Error in section Run at line (script.java:100). Target not found
    oracle.oats.scripting.modules.flexFT.common.api.internal.exceptions.FlexFTException: Target not found
         at oracle.oats.scripting.modules.flexFT.common.api.internal.utilities.FlexUtil.checkResults(FlexUtil.java:293)
         at oracle.oats.scripting.modules.flexFT.api.elements.AbstractFlexFTElement.replayEvent(AbstractFlexFTElement.java:99)
         at oracle.oats.scripting.modules.flexFT.api.elements.ListBase.select(ListBase.java:170)
         at script.run(script.java:100)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:325)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:717)
         at java.lang.Thread.run(Thread.java:619)
    11:30:11,453 ERROR [1] Iteration 1 failed at line (script.java:100). Target not found
    oracle.oats.scripting.modules.flexFT.common.api.internal.exceptions.FlexFTException: Target not found
         at oracle.oats.scripting.modules.flexFT.common.api.internal.utilities.FlexUtil.checkResults(FlexUtil.java:293)
         at oracle.oats.scripting.modules.flexFT.api.elements.AbstractFlexFTElement.replayEvent(AbstractFlexFTElement.java:99)
         at oracle.oats.scripting.modules.flexFT.api.elements.ListBase.select(ListBase.java:170)
         at script.run(script.java:100)
         at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:325)
         at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:717)
         at java.lang.Thread.run(Thread.java:619)
    11:30:12,468 INFO [1] Finished VU 1 for script test06_ff
    Thanks,
    John

  • AudioElement causes an error in Flex 4

    Greetings,
    A few days ago Ryan and Brian helped me to patch the problem wtih importing video into Flex by using the 'loadForCompatibility' flag.
    This morning I ran into similar problem with audio: the SWF that uses simplest OSMF player plays fine in the Flash CS5 and in the standalone FlashPlayer. Once I import the SWF into Flex 4, even with the SWFLoader flag 'loadForCompatibility' set to 'true', I get this error:
    Here is the code for the simplest audio player class (by the way, for some unclear reasons getter/setter didn't work, so for the test case I had to set the variable as 'public' ):
    package
    import flash.display.Sprite;
    import org.osmf.media.MediaPlayer;
    import org.osmf.media.URLResource;
    import org.osmf.elements.AudioElement;
    public class LightAudioElement extends Sprite
    public var audioPlayer:MediaPlayer;
    public function LightAudioElement(aSource:String)
    var resource:URLResource = new URLResource(aSource);
    var audioElement:AudioElement = new AudioElement(resource);
    audioPlayer = new MediaPlayer();
    audioPlayer.media = audioElement;
    audioPlayer.autoRewind = true;
    And here is the code for the SWF:
    import LightAudioElement;
    import flash.events.MouseEvent;
    var snd:LightAudioElement = new LightAudioElement('assets/Test.mp3');
    snd.audioPlayer.autoPlay = false;
    //Standard Button component dragged on the stage for this quick test
    sndBtn.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(event:MouseEvent):void
    if(snd.audioPlayer.playing)
    snd.audioPlayer.stop();
    else
    snd.audioPlayer.play();
    Once again, it works fine in both Flash CS5 and standalone FlashPlayer, but produces an error in Flex 4. I'm on OS X 10.6.3, the Flex SDK 4.0
    Thanks in advance for any suggestions,
    FTQuest

    Hi,
    First, and foremost. As Brian Riggs - who is ultimate authority on the subject - has said:
    I'd advise against replacing Flex's OSMF.swc with the latest one.  The reason is that the Flex SDK integrates with OSMF APIs from a much earlier sprint, and in the latest OSMF SWC many of these APIs don't exist anymore (due to renaming).
    And that's what I take seriously.
    Yet, out of curiosity, and for the sake of exploration I took my chances and did replace the version of the OSMF that is shipped with the Flex 4.0 release with the latest - 0.95.
    So far, all the functionality that I need - single player, multiple players, compiled in Flash, compiled in Flex, playing in synch, or alternating - seems working fine, including access to various events.
    Let me repeat: this is NOT a suggestion; just mere sharing of experience, and it comes at a cost - you should use your versions of video player, i.e. built in that latest version of OSMF. The Spark VideoPlayer (or VideoDisplay) give you compile time error I mentioned before - TimeDimension.
    Just FYI,
    FTQuest

  • Design view not working after importing project from Flex Builder

    After importing a project from Flex Builder to Flash Builder I am no longer able to see anything in the design view. I am using the flex 4.5 sdk.
    Any idea how I can get this design view working? I heard it could have something to do with the metadata directory but am slightly lost here?...
    Adam

    Could you please provide more information as to what exactly are you importing. Also does Design View not lauch at all or does it give errors. Would it be possible for you to share the logs.
    Meanwhile you can try cleaning the workspace and importing again to see if that solves the issue.

  • Migration from Flex 3 to Flex 4

    I've migrated my project from flex 3 to flex 4 and all it's ok, the new project work fine.
    But I created my custom TitleWindow MX style and I created a swc library from Flash builder 4, all it's ok.
    When I use my custom TitleWindow in new project (compatible with mx+spark) it work fine when I add only mx component, when I add a <s:TextArea> for example, it throw this error in run-time: Skin for ForumTitleWindow1220.boxMessaggioInput.TextArea1227 cannot be found.
    where ForumTitleWindow1220 and boxMessaggioInput are my instance.
    in particolar the error is "throw(new Error(resourceManager.getString("components", "skinNotFound", [this])));"
    in SkinnableComponent to line 698.
    why?

    For Flex 4, in addition to developing new "Gumbo" components
    which have an improved skinning architecture and use TLF, the Flex
    team is also planning to make it possible to have a few TLF
    features such as bidirectional text in some or perhaps all of the
    Halo components from Flex 3. These components currently use a
    Player class known as TextField. A class called TLFTextField is
    being developed which uses TLF to implement the same APIs as
    TextField, and therefore can replace TextField in the Halo
    components.
    This work is underway but not yet complete. Only a few
    components are currently working with this approach and there is no
    way at the moment to turn on bidirectionality. We are also starting
    to develop a UI-mirroring feature to allow the entire user
    interface -- not just the text -- to become right-to-left.
    So what you need -- the ability to write Arabic and Hebrew
    applications using only legacy Halo components -- is planned for
    Flex 4.
    Gordon Smith
    Adobe Flex SDK Team

  • Building from flex builder vs ant task

    I have a flex application written using flex builder. When I
    build it and run it using flex builder, or create an air file from
    flex builder and run that, then my application works just fine.
    However, I would like people without copies of flexBuilder
    installed to be able to build my application, so I am using the
    flex ant task (flex-mxmlc) to build my application. As far as I can
    tell I have the same configuration, and the same libraries included
    in the ant task. However, when I run the air file generated by the
    ant task nothing happens. If you look in the task manager, you can
    see that the application is running, but the main window for the
    application never appears.
    I tried running the swf through a debug version of flash to
    get some log output, and I am getting a bunch of exceptions, the
    first of which is:
    VerifyError: Error #1014: Class flash.display::NativeWindow
    could not be found.
    at flash.display::MovieClip/nextFrame()
    at mx.managers::SystemManager/deferredNextFrame()
    at
    mx.managers::SystemManager/preloader_initProgressHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    It seems like it might not be finding the main flex library
    (flexlib.swc), is that where that class would be? In my ant task I
    have an include-libraries tag that points to that file.
    Anyone have any ideas?

    I experienced a similar problem (although the class that
    could not be found was different for me). Googling around I found
    someone who had a similar problem and claimed that using the
    flexlib.swc library was the culprit.
    The root of the problem is that the Flex SDK that comes
    bundled with the Flex Builder has libraries (under frameworks/libs)
    that are NOT included in plain free Flex SDK that you and I are
    presumably using on our build machines.
    When flexlib.swc is linked in, it causes certain classes to
    be required at runtime. Apparently when you compile these classes
    are linked in if available, but when they are not the compilation
    still succeeds. Only you get a VerifyError when you run the thing.
    What worked for me was to copy all the additional .swc files
    found in my Flex Builder SDK's frameworks/libs directory to the
    same directory on my build machine. Also you will need to copy the
    additional files under frameworks/locale/en_US.
    Rebuild and clear your browser's cache and it should then
    work.

  • Air 1.5 debug from flex 3

    With the update of flex to 3.2.0 is not possible to debug an
    application. When start a debug session the application start but
    the breakpoint don't works. Closed the application, flex notify the
    error to establishing a debug session. I'm working on Mac OSX
    10.5.5.
    This is the simple code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    private function init():void {
    trace('init!');
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    Starting the debug session the application start but the
    trace command has no output in console panel and if I put a
    breakpoint on row 6 the application don't stop!
    This is the result output at the end of the application:
    Process terminated without establishing connection to
    debugger.
    Command:
    "/Applications/Adobe Flex Builder 3/sdks/3.2.0/bin/adl"
    -runtime "/Applications/Adobe Flex Builder
    3/sdks/3.2.0/runtimes/air/mac" "/Users/sbaldizz/Documents/Flex
    Builder 3/bbb/bin-debug/bbb-app.xml"
    "/Users/sbaldizz/Documents/Flex Builder 3/bbb/bin-debug"
    Output from command:
    init!

    I'm also having this problem. Changed the NS to 1.5, set the
    htmlPlayer to 10.0.0, updated FB, ensured the SDK was at 3.2,
    installed the FP 10 debugger AX plugin as well as the mozilla
    plugin.
    Still can't debug. I am dead in the water, lost two days of
    work, and would have preferred to just use AIR 1.1 if I had of
    known, but the autoupdate screwed my program up.

Maybe you are looking for

  • Exchange 2013 CAS-MBX recipient validation rejects entire message if any of recipients are invalid

    Hi, How can I enable recipient validation work in this design: 2 Exchange 2013 servers with CAS and MAILBOX roles both, DAG and Hardware Load balancer for HTTP and SMTP traffic. From Exchange documentation: http://technet.microsoft.com/en-us/library/

  • Frustrated, trying to find an itunes that will work with my OS!!!!

    Does anyone know where I can get an itunes that is compatible with Tiger 10.4.2? I had itunes 7.?? working just fine and I upgraded to a point where it would not work anymore. I've tried finding older downloads, ie 6.0.5 and 7.7 but none of them work

  • Changing Beats Per Minute

    A client asked me if I could change the tempo of a song from 128 bpm to 126 bpm. Is there a way to easily and accurately change this?

  • Critical: DataTable and JSP in a subfolder

    Here is the nice one: 1. Create a new folder "test" in your web pages structure 2. Create a new JSP page "TestPage" in this folder 3. Place Data Table 4. Drop Person rowset from the sample Travel db 5. Bind the data table to the rowset. See how it is

  • Nokia 6020 wont switch on

    i have the nokia 6020, the other day i found my phone swiched off when i tired to turn it on, the lights on the phone turns on for 2-3 seconds then its goes off. The phone is not turning on, this happens every time i press the power button last time