Error while migrating to Flex 4.5.1 (1067: Implicit coercion of a value...)

I am getting the following error while migrating my application from Flex 3.6 to Flex 4.5.1:
1067: Implicit coercion of a value of type __AS3__.vec:Vector.<Object> to an unrelated type Array.
The error is thrown on the following piece of code:
var list:ArrayCollection=new ArrayCollection(dgSoftwareTitles.selectedItems);
dgSoftwareTitles is defined as:
<s:DataGrid id="dgShareCategoryForTransfer"
x="34"
y="369"
requestedRowCount="5"
width="90%"
selectedIndex="-1"
selectionMode="multipleRows">
<s:columns>
<s:ArrayList>
<s:GridColumn headerText="SoftwareTitle"
dataField="idSoftware"
visible="false"/>
<s:GridColumn headerText="SoftwareName"
dataField="softwareName"
visible="false"/>
...more GridColumns
</s:columns>
</s:ArrayList>
</s:DataGrid>
Any ideas why this would trow the "1067: Implicit coercion of a value of type __AS3__.vec:Vector.<Object> to an unrelated type Array" error?
Thanks!
Lee

I think that dgSoftwareTitles.selectedItems is a type of Vector while
public function ArrayCollection(source:Array = null) expects an array as a source.

Similar Messages

  • Error:1067 - Implicit coercion of a value of type QName to an unrelated type QName

    hi,
    I'm new in flex and my english not good. I'll try to explain
    my problem :(
    I have an application mxml and a component mxml. I imported a
    wsdl from .net webservice.
    In main mxml I added:
    <mx:Application .....
    xmlns:webservices="generated.webservices.*"/>
    and
    <webservices:xService id="m_service"/>
    there is no problem for this. But when I added into component
    mxml like this:
    <mx:Canvas.....
    xmlns:webservices2="generated.webservices.*"/>
    and
    <webservices2:xService id="m_service2"/>
    I'm getting the following error:
    error line sample: (and 633 similar lines in
    generated.webservices)
    responseMessage.wrappedQName = new QName("
    http://tempuri.org/","GetMemberListResponse");
    error:
    1067: Implicit coercion of a value of type QName to an
    unrelated type QName
    When I removed the <webservices2:xService
    id="m_service2"/> line from component mxml, I'm not getting an
    error.
    Flex 3.0 - sdk 4.0
    Thanx for your helps

    thanx your answer,
    I changed (like this:[WebService(Namespace = "
    http://Info.WebService/MyInfoService"))
    but it doesn't work. I still have same problem.
    It's really strange problem. When I used in application mxml,
    it's working. But when I used in component mxml, I'm getting error.
    I tested the web servise in other test application mxml with
    following code: (it's working excellent)
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" xmlns:webservices="generated.webservices.*"
    creationComplete="test12()">
    <mx:Script>
    <![CDATA[
    import mx.rpc.AsyncToken;
    private function test12():void
    m_service12.addgetFuelList_header(GetAuthHeader());
    m_service12.getFuelList();
    ]]>
    </mx:Script>
    <mx:Script source="***/ServiceAuthHeaderGetter.as"/>
    <webservices:TankInfoService id="m_service12"/>
    <mx:DataGrid
    dataProvider="{m_service12.getFuelList_lastResult}">
    </mx:DataGrid>
    </mx:Application>
    And finally I closed "Enable strict type checking" from
    project properties and the errors are disappeared.
    But now I got new problems with webservice :)
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    I guess <webservices:TankInfoService id="m_service"/>
    is null.
    But why?
    in component mxml
    I added xmlns:webservices="generated.webservices.*" namespace
    and
    <webservices:TankInfoService id="m_service"/>
    my code is:
    m_service.addgetMemberList_header(GetAuthHeader());
    m_service.getMemberByUserPassword(this.txtUser.text,
    this.txtPassword.text);
    the error:
    TypeError: Error #1009: Cannot access a property or method
    of a null object reference.
    Any ideas???

  • Implicit coercion of a value of type String to an unError while Adding Dynamic Rows To Flex DataGrid

    Hi friends
    I  want to add interger for in next next rows while clicking tab  button,one i enter all the values in one row if i press tab means next  row will be editable.for making that i added the following code.i have  some error shows like this
        [Bindable]
                    private var tasks:ArrayCollection;
                    private static const ADD_TASK:int= "";
                    private function init():void
                        tasks = new ArrayCollection();
                        tasks.addItem(new Task(0.01,100000,0));
                        tasks.addItem({frmAmount:ADD_TASK});
                    private function checkEdit(e:DataGridEvent):void
                        // Do not allow editing of Add Task row except for
                        // "Click to Add" column
                        if(e.rowIndex == tasks.length - 1 && e.columnIndex != 0)
                            e.preventDefault();
            private function editEnd(e:DataGridEvent):void
                    // Adding a new task
                    if(e.rowIndex == tasks.length - 1)
                    var txtIn:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                    var dt:Object = e.itemRenderer.data;
                    // Add new task
                    if(parseInt(txtIn.text) != ADD_TASK)
                        tasks.addItemAt(new Task(parseInt(txtIn.text), 0, ""), e.rowIndex);----->Multiple markers at this line:
                                                                                                                             -1067: Implicit coercion of a value of type String to an unrelated type int.
                                                                                                                                -txtIn
                    // Destroy item editor
                    commPlanDetGrid.destroyItemEditor();
                        // Stop default behavior
                    e.preventDefault();
            ]]>
    Please help if any suggession
    Thanks in advance
    B.Venkatesan

    The error message indicates the problem fairly clearly.  _feed_list is defined as a ComboBox in your first line of code.  You are passing that as an argument in your populate(_feed_list) line of code.  However, the populate function is expecting an XMLList object to be passed, not a ComboBox.
    You probably really mean to be using...
              populate(feed_items);
    since that is the only XMLList to be found

  • Error while migrating users using CSSImportExportUtility

    Error while migrating users using CSSImportExportUtility
    I'm tring to export all user and group information from a Hyperion Shared Services 9.2.1 by using CSSExport.bat
    When there was only native directory in HSS, i can export these information successfully.
    But when I enabled NTLM external user authentication following error occurred:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: getOSVersion
    at com.hyperion.css.spi.impl.ntlm.NTLMProvider.getOSVersion(Native Metho
    d)
    at com.hyperion.css.spi.impl.ntlm.NTLMProvider.<clinit>(Unknown Source)
    at com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(Unknown
    Source)
    at com.hyperion.css.CSSAPIExtnImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at com.hyperion.css.exchange.NativeProviderManager.<init>(Unknown Source
    at com.hyperion.css.exchange.ImportExportManager.cssExport(Unknown Sourc
    e)
    at com.hyperion.css.exchange.CommandUtility.run(Unknown Source)
    at com.hyperion.css.exchange.CommandUtility.main(Unknown Source)
    I searched reference documents on the web, found this article: (http://download.oracle.com/docs/cd/E12825_01/epm.111/readme/mdm_111110_readme.html)
    Troubleshooting Tip: If HSS is configured for an NTLM provider, DRM services may not start due to error: "Exception Emdm_Exception with message 'Could not Initialize CSS. Error: 'getOSVersion'."
    You may receive the following error after clicking the "Enable CSS" button in DRM Console: “LoadLibrary("C:\Hyperion\Master Data Management\mdm_ntier_css_validator.dll") failed - The specified module could not be found.”
    To resolve both of these conditions, update the Windows System Path on the Data Relationship Management server with the applicable JRE and CSS pathing below.
    NOTE: Reboot the Data Relationship Management server machine after making any changes to the Windows Path.
    NOTE: Ensure that only one JRE version and one CSS version are referenced in the Windows Path.
    ? For HSS 9.3.1:
    %HYPERION_HOME%\common\JRE\Sun\1.5.0\bin;%HYPERION_HOME%\common\JRE\Sun\1.5.0\bin\client;%HYPERION_HOME%\common\CSS\9.3.1\bin;
    ? For HSS 9.3.0:
    %HYPERION_HOME%\common\JRE\Sun\1.5.0\bin;%HYPERION_HOME%\common\JRE\Sun\1.5.0\bin\client;%HYPERION_HOME%\common\CSS\9.3.0\bin;
    ? For HSS 9.2.0.3:
    %HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin;%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin\client;%HYPERION_HOME%\common\CSS\9.2.0.3\bin;
    ? For HSS 9.2.0:
    %HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin;%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin\client;%HYPERION_HOME%\common\CSS\9.2.0\bin;
    I found these is no directory "%HYPERION_HOME%\common\CSS\9.2.0\bin;" exists but "%HYPERION_HOME%\common\CSS\9.2.1\bin;"
    I configured PATH by setting to above, and tried CSSExport again, still failed.
    Than I disabled the NTLM is HSS, tried CSSExport again. It was successful.
    So I am convinced that the problem caused by NTLM or PATH environment variable or some files associated.
    Does anybody know the solution ?

    I recommend you upgrade at least to 10.1.0.5. 10.1.0.2 comes with the very first version of csalter.plb, which has not the current implementation. From and to which character set do you try to migrate?
    -- Sergiusz

  • Error while migrating reports from XI3.1 to BI4.0

    Hi,
               I have converted deski report into webi report using report conversion tool and i am trying to migrate the converted report from XI 3.1 to BI 4.0. I am getting 'Error:INF' while doing this. how to overcome this error while migration ?. any suggestions..
    Regards,
    Shanthakumar.

    Hi,
    could you please provice a little more information. Can you view the converted Reports in your XI 3.1 Environment? Are you trying to view the Reports as administrator in your BI4 Environment?
    Regards
    -Seb.

  • Error while migrating BLOB type data

    Hi ,
    I am migrating the data from oracle to oracle and both soruce and target tables have BLOB type field.
    I am getting error when I am executing the interface with these blob fields. But My interface is successfull if I am not maaping this blob files.
    Below is the error message.
    ODI-1217: Session BLOB (162501) fails with return code 942.
    ODI-1226: Step BLOB fails after 1 attempt(s).
    ODI-1240: Flow BLOB fails while performing a Loading operation. This flow loads target table IMAGES.
    ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection YAGLD.
    Caused By: java.sql.BatchUpdateException: ORA-00942: table or view does not exist
    Thanks,
    Patel.

    Duplicate of
    Error while migrating BLOB type data

  • Error while migrating business rules

    While trying to use the export/import option in EAS to migrate business rules, we have run into an error.
    The export itself is fine. When trying to import, it says this:(even though it lets me select the proper xml file for importing)
    Error while migrating business rules.
    Detail: The import file specified is not a valid business rules xml file. Import will be terminated.
    Detail:Exception occured. Please check your log file for details.
    I am pretty sure I used the inherent format specified for exporting the business rules.
    Both the old and new systems are version 11.1.2.
    The LCM method also failed for the business rules migration.
    Any suggetions?
    Thanks,
    Sujani

    When you export them make sure you don't have "For Calc Mgr" checked, if you do then the import with fail.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while migrating the discoverer repots

    HI
    we are getting the error while migrating the discoverer reports. Find the below script and the error.
    -connect <**********>
    -log log_file
    -grant_privilege
    -apps_user
    -eul eul_us
    -apps_responsibility DISCOVERER PROJECTS RESOURCE MANAGEMENT
    -business_area_access xxxxx Projects
    Command completed with errors - see log file for details.
    java EulCommandLine -connect <**********> -apps_user -eul eul_us -cmdfile commands_ads_resp -log log_file
    Started Fri Apr 24 06:37:45 EDT 2009 ...
    Role 'DISCOVERER PROJECTS RESOURCE MANAGEMENT' not found
    the above error says the role not found to the particular responsibility. Please let me know how to rectify the above error.
    Thanks,
    keka.

    Hi Keka
    I am assuming that responsibility does in fact exist in the database? If not, you will need to create it.
    Also, try putting double quotes around the responsibility name.
    Best wishes
    Michael

  • Syntax errors while migrating from non- unicode to Uni code

    What are the syntax errors while migrating from non unicode to Uni code

    Hi Sudheer,
    u can get the information related to errors while migrating from non- unicode to Uni code from the below...pls go through...
    Note 765475 - Unicode Conversion: Troubleshooting
    these are the notes related to the issues of migration form non unicode to ounicode.
    Related Notes
    986907 - SQL Server settings for R3load based system copy
    954001 - Error fix: ILLEGAL_SUBSTRING_MODIFICATION in SUMG
    936441 - Oracle settings for R3load based system copy
    928909 - Repair table data in SUMG in Unicode systems
    895804 - Problematic rows in table DMEE_TREE_NODE
    895560 - Support for languages only available in Unicode system
    885441 - Common Migration Errors
    842788 - DB Multiconnect: Unicode Migration
    837173 - RADCUCNT in Unicode Conversion: Collective Note
    756534 - Automatic Assignment of Languages with Character Statistics
    753334 - Unicode Conversion: Problem in Japanese device types
    726954 - Private Use Areas in Unicode Systems
    722193 - RFC legacy non-Unicode clients and Unicode servers
    718329 - R3load terminates the export during a Unicode conversion
    695196 - Error in the export for Unicode migration
    672835 - Textflags could cause problems during Unicode conversion
    627764 - Unicode migration: table pools inconsistent after conversion
    614550 - Troubleshooting BC-I18
    587896 - Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
    573044 - Unicode conversion for HR application
    480671 - The Text Language Flag of LANG Fields
    379940 - Unicode based mySAP availability
    79991 - Multi-Language and Unicode support of SAP applications
    73606 - Supported Languages and Code Pages
    42305 - RSCPINST (I18N configuration tool)
    regards,
    rudra..
    Assign points if helpful

  • JVM error while working on flex

    Hi,
    Getting following error while working on flex:
    JVM terminated. Exit code=1
    C:\Program Files\Adobe\Flex Builder 3\jre\bin\javaw.exe
    -Xms128m
    -Xmx512m
    -XX:MaxPermSize=256m
    -XX:PermSize=64m
    -Djava.net.preferIPv4Stack=true
    -jar C:\Program Files\Adobe\Flex Builder 3\startup.jar
    -os win32
    -ws win32
    -arch x86
    -launcher C:\Program Files\Adobe\Flex Builder 3\FlexBuilder.exe
    -name FlexBuilder
    -showsplash 600
    -exitdata 520_54
    -vm C:\Program Files\Adobe\Flex Builder 3\jre\bin\javaw.exe
    -vmargs
    -Xms128m
    -Xmx512m
    -XX:MaxPermSize=256m
    -XX:PermSize=64m
    -Djava.net.preferIPv4Stack=true
    -jar C:\Program Files\Adobe\Flex Builder 3\startup.jar
    Its terminated my flex builder without any notice.
    Need help to resolve
    Thanks

    Hi :
    I also used to get the same error , Use the below command it will solve ur issues.
    export ANT_OPTS="-Xmx900m -XX:MaxPermSize=900m"
    Thanks,
    Staish

  • ALC-UPG-221-002: Errors while migrating archive session Ids.

    I am doing an out of place upgrade from ES2 to ES4.  I have run the Turnkey ES4 upgrade, installed SP1, copied the GDS from the old location to the new location and run Configuration Manager.  When I get to the "Perform
    critical tasks before component deployment" screen and click the Start button I get this error:
    10:07] ALC-UPG-002-505: Disabling UserManager synchronization.
    [10:07] ALC-UPG-001-501: Executing [Application Manager] plugin ...
    [10:07] ALC-UPG-001-503: [Application Manager] plugin execution failed, error message from plugin is [ALC-UPG-221-002: Errors while migrating archive session Ids.].  See LCM logs for details.
    [10:07] ALC-UPG-002-506: Enabling UserManager synchronization.
    The LCM log has this:
    [2014-08-06 10:32:58,555], INFO, AWT-EventQueue-0, com.adobe.livecycle.upgrade.gui.UpgradePhaseDialog, ALC-UPG-002-505: Disabling UserManager synchronization.
    [2014-08-06 10:32:58,560], INFO, Thread-32, com.adobe.livecycle.lcm.feature.lcServer.LCServerConnector, LC Connection properties: {DSC_DEFAULT_SOAP_ENDPOINT=http://localhost:8080, DSC_TRANSPORT_PROTOCOL=SOAP, DSC_CREDENTIAL_PASSWORD=********, DSC_REQUEST_TIMEOUT=1200000, DSC_CREDENTIAL_USERNAME=administrator, }
    [2014-08-06 10:32:58,560], INFO, Thread-32, com.adobe.livecycle.lcm.feature.lcServer.LCServerConnector, Validating connection...
    [2014-08-06 10:32:59,961], SEVERE, Thread-32, com.adobe.livecycle.upgrade.control.PhaseRunner, Aborting.  Invocation of method [configurePreDeploy] failed for com.adobe.livecycle.upgrade.plugins.from9xto100.applicationmanager.Upgrade9xTo100Applicat ionManagerPlugin.  Caught com.adobe.livecycle.upgrade.UpgradeException, message: ALC-UPG-221-002: Errors while migrating archive session Ids.
    com.adobe.livecycle.upgrade.UpgradeException: ALC-UPG-221-002: Errors while migrating archive session Ids.
    at com.adobe.livecycle.upgrade.plugins.from9xto100.applicationmanager.Upgrade9xTo100Applicat ionManagerPlugin.configurePreDeploy(Upgrade9xTo100ApplicationManagerPlugin.java:110)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.adobe.livecycle.upgrade.control.PhaseRunner.run(PhaseRunner.java:244)
    at java.lang.Thread.run(Thread.java:724)
    [2014-08-06 10:33:01,763], INFO, AWT-EventQueue-0, com.adobe.livecycle.upgrade.gui.UpgradePhaseDialog, ALC-UPG-002-506: Enabling UserManager synchronization.
    Nothing tells what the errors are.

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • Problem while migrating to Flex 4

    Hi,
    I am moving my application to Flex 4 from Flex 3. I have few pages in my application where I have charts. Those are pages are not loading at all. All the other pages are working fine. Can someone help me in this respect.
    Thanks in advance,
    Nirmal Kumar Bhogadi.

    No I am not embedding any fonts. To test, I just declared <mx:ColumnChart/> in one of the pages and the page did not load at all. Is there anything that I need to add while migrating to Flex 4.

  • Loads of errors with classes: 1067 implicit coercion 118 illegal assignment

    Hi
    I have a main.fla and the two classes below VirtualGarage and VirtualCar. Main has VirtualGarage as its class which in turn works with VirtualCar. The code seems quite good but I get these errors. If anybody could help
    Cheers
    //VirtualGarage class
    package
    public class VirtualCar extends VirtualGarage
    var carSpeed:Number;
    var carColour:String;
    var carPrice:String;
    var car;
    public function VirtualCar(speed,colour,price)
    this.carSpeed = speed;
    this.carColour = colour;
    this.carPrice = price;
    //VirtualCar class
    package
    import VirtualCar;
    public class VirtualGarage
    private var newVirtualCar;
    public function VirtualGarage()
    newVirtualCar:VirtualCar = new VirtualCar(20,"red",30000);
    trace(newVirtualCar.speed;

    Hi - thank you very much.
    I know have the concept pretty well learnt. Although I find the statement class extends something to be ambiguous - it doesn't actually extend it - it inherits methods and properties from it. That's why I was so confused.
    However, I still have an error after modifying certain parts of code
    Main is now VirtualGarage.fla
                      VirtualGarage.as - class document
                      VirtualCar.as - another class
    Both .as docs reside in a folder called "garage" therefore there package name is garage.
    I get these errors 1067 implicit coercion... and 1188 illegal assignment to VirtualCar
    VirtualGarage.as
    package garage
    import flash.display.Sprite;
    public class VirtualGarage extends Sprite
    private var newVirtualCar:VirtualCar;
    public function VirtualGarage()
    newVirtualCar:VirtualCar = new VirtualCar("red"); //throws the error - 1067 implicit coercion... and 1188 illegal assignment to VirtualCar
    VirtualCar.as
    package garage
    public class VirtualCar //extends what? ie: a movieclip that calls it or the main class
    public var colour:String;
    public function VirtualCar(newColour)
    colour = newColour;

  • Error while Migrating the custom routines in Transformations

    Dear All,
    I am in the process of migrating BW 3.5 to BI 7.0.I migrated the Standard cubes and DSO's from BW3.5 to BI 7.0 flow successfully.
    But while migrating the transformations which are having the custom routines,I am facing the below errors.
    The data object "COMM_STRUCTURE" does not have a component called BIC/ZGROSSPRI".But the routine contains BIC/ZGROSSPRI.
    I tried to change the BW 3.5 terminology to BI 7.0 terminology.(Like COMM_STRUCTURE replaced by SOURCE_FIELDS).But unable to solve.There are nearly 20 custome routines written in all transformations.
    Can any one guide me who faced the same tyepe of problem?
    Thanks & Regards,
    Dinakar

    HI,
    We need to include Source and Target see the below article.
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    How to Correct Routines in Transformations
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/g-i/how%20to%20correct%20routines%20in%20transformations.pdf
    Thanks
    Reddy

  • Locale Error while migrating from One Server to another Server in Essbase

    Hi Gurus,
    Actually we are trying to migrate the Essbase Native users/groups from Windows 2003 Server to 2008.In windows 2003 the Version is 11.1.1 and in 2008 its 11.1.2.While Migrating i faced he below error.I was using the Migration Wizard to migrate.
    Start of Application Migration.
    [D4W0218G.americas.hpqcorp.net:1423.Fiji]     MigrateApplication     February 15, 2013 10:30:04 AM SGT     Failed
    Error: Source and target servers should be of same locale for migration. [Source Locale: English_UnitedStates.MS1252@Binary, Target Locale: English_UnitedStates.Latin1@Binary]
    End of Application Migration.
    I even tried to change the target local to source local name in Environment Variables -->ESSLANG=English_UnitedStates.MS1252@Binary but of no use.
    Can anyone please suggest me how to rectify this error.
    Regards,
    Naveen

    Hi,
    Review the section beginning at page 663 on unicode applications from the Essbase Database Admin Guide. On windows this is the ESSLANG environment variable on unix there is a file that you must modify.
    See http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag.pdf
    I do suggest you read the whole section I referenced above. You would not be changing the source server. It is whatever format it is. You need to change in windows 2008.
    Mark if this helps you.
    Regards,
    Kishore Rout

Maybe you are looking for