AUTOSMARTPORT-F-DEV_CALC_FAILED: XDP device type calculation failed: interface

Hello,
The company I work for has some Cisco hardware in the plant and, as our team has no expertise on configuring Cisco switches I hope you can help me and my team to get this problem solved. I will make a brief comment on what is going wrong here:
I own two SG300-28 and they are connected using LAG over 2 interfaces (GI27 and GI28) but this is not the problem, I think, just the scenario. So I have two sides:
CSC <--- LAG ---> TOO
At CSC I have no problem and the switch is running fine for 38 days (we had a hard reboot back there).
On the other hand, at TOO, we are facing a soft reboot problem and we are not able to fix it. The only message we got, just before the reboot is:
2147476226          2013-Dec-09 06:20:05          Emergency           %AUTOSMARTPORT-F-DEV_CALC_FAILED: XDP device type calculation failed: interface gi21 - capability 2 ***** FATAL ERROR *****  Reporting Task: NCDP. Software  Version: 1.3.5.58 (date  10-Oct-2013 time  17:15:41) 0x16adbc 0x166f28 0x6df2b0 0x48fad8 0x4903e8 0x490608 0x6e8490 0x6e8528 0x6e8d90 0x82eb24 0x831 7b8 0x837a88 0x1223f0 ***** END OF FATAL ERROR *****
After reboot:
2147483510          2013-Dec-09 06:26:29          Warning           %CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi21.
And the switch reboots. This is causing us a lot of problems. As an emergency exit (and it's not fully working) we disabled AutoSmartPort (which is a functionality we will never use in the network layout so we don't need it).
Is there anything you can tell me to do? I am attaching running config for TOO. Befero someone ask we already tried to change the hardware (we own a spare SG300) and the same problem is there.

It's on another post, sorry for this duplicate post:
https://supportforums.cisco.com/message/4112232#4112232

Similar Messages

  • AUTOSMARTPORT-F-DEV_CALC_FAILED

    Hello,
    The company I work for has some Cisco hardware in the plant and, as our team has no expertise on configuring Cisco switches I hope you can help me and my team to get this problem solved. I will make a brief comment on what is going wrong here:
    I own two SG300-28 and they are connected using LAG over 2 interfaces (GI27 and GI28) but this is not the problem, I think, just the scenario. So I have two sides:
    CSC <--- LAG ---> TOO
    At CSC I have no problem and the switch is running fine for 38 days (we had a hard reboot back there).
    On the other hand, at TOO, we are facing a soft reboot problem and we are not able to fix it. The only message we got, just before the reboot is:
    2147476226          2013-Dec-09 06:20:05          Emergency           %AUTOSMARTPORT-F-DEV_CALC_FAILED: XDP device type calculation failed: interface gi21 - capability 2 ***** FATAL ERROR *****  Reporting Task: NCDP. Software  Version: 1.3.5.58 (date  10-Oct-2013 time  17:15:41) 0x16adbc 0x166f28 0x6df2b0 0x48fad8 0x4903e8 0x490608 0x6e8490 0x6e8528 0x6e8d90 0x82eb24 0x831 7b8 0x837a88 0x1223f0 ***** END OF FATAL ERROR *****
    After reboot:
    2147483510          2013-Dec-09 06:26:29          Warning           %CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi21.
    And the switch reboots. This is causing us a lot of problems. As an emergency exit (and it's not fully working) we disabled AutoSmartPort (which is a functionality we will never use in the network layout so we don't need it).
    Is there anything you can tell me to do? I am attaching running config for TOO. Befero someone ask we already tried to change the hardware (we own a spare SG300) and the same problem is there.
    Best regards,
    Nataniel Klug

    It's on another post, sorry for this duplicate post:
    https://supportforums.cisco.com/message/4112232#4112232

  • Retro entires in HR Forms are not printed when using device type ZHPP3005

    Hi All,
    We are doing a HCM implementation. We are using HP P3005n printer and ZHPP3005 device type to print our HR forms. We are using ZCalibri font.These are smartforms. Everything was printing perfectly.
    Then there were retro calculations made to these forms.Strangely, the forms doesn't display these retro entries in the print preview using ZHPP3005 device type. Only the retro entries throughout the form are not printing. All other entries get printed.
    When we use device type HPLJIIID, we get these retro entries printed in our form however the format of the form gets changed.
    Now, we want to use device type ZHPP3005 and get these retro entries printed. How would we achieve this? Is this a device type issue? Or, anything needs to be done in the smartform? Why is this issue?
    Please help. Quick response will be appreciated. We are nearing our Go Live date and needs this resolved immediately.
    Thanks in Advance.

    Hi,
    Check the assigned page format to your custom device type. Try to assign all the page format which are available for
    HP*** which you gives you desired result.
    Regards,
    Vamshi.

  • "ORA-19554: error allocating device, device type: SBT_TAPE, device name: "

    Hi expert.
    why I can not delete obsolete?
    I have this error:
    "ORA-19554: error allocating device, device type: SBT_TAPE, device name: "
    but I haven't any tape. How I can remove this from my rman config?
    many thanks, as usual.
    cheers,
    Lain
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oraclesvi/TMP/backup_db_archive/cf_%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/oraclesvi/TMP/backup_db_archive/ora_df%t_s%s_s%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/product/10.2.0/SvilTMP/dbs/snapcf_DBTMP.f'; # default
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          1      28-MAY-10          /oraclesvi/TMP/flash_recovery_area/DBTMP/archivelog/2010_05_28/o1_mf_1_22_60086j50_.arc
    Archive Log          2      29-MAY-10          /oraclesvi/TMP/flash_recovery_area/DBTMP/archivelog/2010_05_29/o1_mf_1_23_6014bh9j_.arc
    Archive Log          3      30-MAY-10          /oraclesvi/TMP/flash_recovery_area/DBTMP/archivelog/2010_05_30/o1_mf_1_24_603o6gls_.arc
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 06/14/2010 14:43:17
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Additional information: 2

    Try
    CONFIGURE DEVICE TYPE 'SBT_TAPE' clear;
    Werner

  • ORA-19554: error allocating device, device type: SBT_TAPE

    Running HP DataProtector 6.0. Attempting to configure an Oracle 9i database for backup. Receive the following errors.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of allocate command on DP_TEST channel at 07/08/2008 13:37:51
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Recovery Manager complete.
    After extensive troubleshooting HP Support reports the following.
    "Please contact Oracle and have them explain why RMAN refuses to load our library regardless of if the library is copied into the specific path or called from the softlink."
    We tried to run the following without success.
    RMAN> run {
    allocate channel 'sch1' type 'sbt_tape' parms'ENV=(SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so)';
    Thanks in advance for any help you can give,
    Mark

    Verify if the SHLIB_PATH environment variable includes the $ORACLE_HOME/lib path and verify the symbolic link between the libobk.so to the HP DP shared library file.
    ~ Madrid
    http://hrivera99.blogspot.com

  • ORA-19554: error allocating device, device type: TAPE, device name: ORA-270

    Hi everyone, hit errors below when doing rman duplicate database, anyone can assist?
    database mounted
    released channel: ORA_AUX_DISK_1
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=87 device type=DISK
    released channel: ORA_AUX_DISK_1
    restarting auxiliary database without server parameter file
    Errors restarting database
    RMAN-00600: internal error, arguments [6007] [] [] [] []
    RMAN-03009: failure of allocate command on ORA_AUX_TAPE_1 channel at 03/14/2013 15:51:21
    RMAN-10035: exception raised in RPC:
    ORA-19624: operation failed, retry possible
    ORA-19554: error allocating device, device type: TAPE, device name:
    ORA-27001: unsupported device type
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 235
    RMAN-10031: RPC Error: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.DEVICEALLOCATE
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/14/2013 15:51:21
    RMAN-05501: aborting duplication of target database
    RMAN-03009: failure of allocate command on ORA_AUX_TAPE_1 channel at 03/14/2013 15:51:21
    ORA-19554: error allocating device, device type: TAPE, device name:
    ORA-27001: unsupported device type

    Hi.
    Tried but kenot...
    This command will not work if if I execute in duplicate database?
    I am now trying duplicate the database from a server to remote server.
    using command below
    DUPLICATE DATABASE TO NEW_DB_NAME
    PFILE = PFILE_LOCATION
    BACKUP LOCATION '/DUMP';
    NOFILENAMECHECK;

  • ORA-27369:job of type EXECUTABLE failed with exit code + rman???

    Hi all,
    I was trying to execute job from 10G (10.2.01) Enterprise Manager Database Control, and got error below
    ORA-27369:job of type EXECUTABLE failed with exit code: Network is down STANDARD_ERROR="/home/oracle/scripts/backup/backupset_full:rman: command not found"
    Here is the file contents of backupset_full
    #!usr/bin/bash
    rman <<EOF
    connect catalog rman/rman@catrcv
    connect target sys/sys@test
    run{
    EXECUTE SCRIPT global_backup_full;
    quit
    EOF
    Here is the file content of global_backup_full script
    CREATE SCRIPT global_backup_full
    shutdown immediate;
    startup mount;
    allocate channel d1 device type DISK;
    backup as compressed backupset database;
    release channel d1;
    NOTE: I am running on bash shell environment.
    THANK YOU VERY MUCH in advance.
    Rich,

    You need to set ORACLE_HOME inside backupset_full script and possibly change rman to $ORACLE_HOME/bin/rman
    #!usr/bin/bash
    export ORACLE_HOME=<your_oracle_home _directory>
    $ORACLE_HOME/bin/rman <<EOF
    connect catalog rman/rman@catrcv
    connect target sys/sys@test
    run{
    EXECUTE SCRIPT global_backup_full;
    quit
    EOF
    Here is the file content of global_backup_full script
    CREATE SCRIPT global_backup_full
    shutdown immediate;
    startup mount;
    allocate channel d1 device type DISK;
    backup as compressed backupset database;
    release channel d1;
    }

  • Sap Device Type for Canon IR3035N

    Hi there,
             I am printing remittance advice notes on a canon ir3035n printer. The output looks fine in the spool file but when you print the output some of the text is printing with a large amount of spacing between the words. The sap device type that is being used is SAPGOF. I am guessing that this maybe the cause of this and was wondering has anyone else used the Canon IR3035n and experienced similar problems? I was going to attempt to use a different device type but am unsure of which device type to use.
    Is there a specific device type available for use with this printer? Failing that, does anybody know of a generic Canon device type which I can select from the list of devices types available from transaction SPAD?
    Any help would be appreciated.

    Hi
    Pls refer to OSS note
    Note 1069132 - CANON: List of supported printers/device types
    It may give some idea.
    I hope IR3035N - IR stands for Image Runner.
    In the Note search for 3035, you may get some idea
    Pls take opinion from SAP / Basis before implementing the note
    Regards
    Madhan D

  • RMAN-06466: error parsing configuration string (CONFIGURE DEVICE TYPE DISK

    Hi All
    Windows 2003 and 10.2.0.4
    I get the following message when executing show all; connected to rman
    (I have used grid control 11g for the first configuration of rman. Not sure if it has an impact.)
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of show command at 09/22/2011 16:04:11
    RMAN-12010: automatic channel allocation initialization failed
    RMAN-06466: error parsing configuration string (CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 1;)
    RMAN-01005: syntax error: found "backup": expecting one of: "clear, parallelism"
    RMAN-01007: at line 1 column 28 file: Configuration Row
    RMAN>
    Reading the manual Database Backup and Recovery Basics
    I should be able to configure it like this
    RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "backup": expecting one of: ";"
    RMAN-01007: at line 1 column 42 file: standard input
    Anyone that can help me with this ?
    Appreciate your feedback.
    Thanks
    Magnus

    What happens if you type "CONFIGURE DEVICE TYPE DISK CLEAR;" ?

  • CONFIGURE CHANNEL DEVICE TYPE DISK  doesn't function

    Dear all,
    I have a problem with a backup.
    Facts:
    OS: SunOS hod 5.10 Generic_142901-03 i86pc i386 i86pc
    Oracle 11.2.0.1 with RAC
    So, Although i put in rman parameters section the CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rman/backups/%U'; the backup was done but in FRA that is located in
    BS Key  Type LV   Size       Device Type  Elapsed Time  Completion Time
    36 Incr 0 210.82G DISK 10:32:57 24-JAN-13
    BP Key: 36 Status: AVAILABLE Compressed: YES Tag: TAG20130123T210005
    *Piece Name: +DATA/db_name/backupset/2013_01_23/nnndn0_tag20130123t210005_0.442.805496407*
    List of Datafiles in backup set 36...
    ANd my question is:
    How, although i configure that the backups would be in /rman/backups/%U this was located in +DATA (fRA) ??
    what im doing wrong ??
    Thanks for your help.

    thanks for your answer: here is my rman script. We invoked the script like this: rman_db_script.sh SID 0
    #!/bin/ksh
    function email_dba
    if [ -s $email_file ]
    then
    subj="$prog: FAILED on $sid@$box at `date`"
    while read dba_id
    do
    mailx -s "$subj" $dba_id < $email_file
    echo "mailx -s "$subj" $dba_id "
    done < /oracle/app/oracle/dba/util/motifylist.txt
    fi
    # set and check
    function set_and_check
    ps -ef | grep ora_pmon_$sid | grep -v grep > /dev/null
    rc=$?
    if [ $rc != 0 ]
    then
    echo "$prog: database $ORACLE_SID is not online" >> $log_file
    echo "$prog: database $ORACLE_SID is not online" >> $email_file
    # email_dba
    exit 1
    fi
    rtime=`date '+%Y%m%d_%H%M'`
    ORACLE_BASE=/opt/app/oracle
    ORACLE_HOME=/opt/app/oracle/product/11.2.0/dbhome_1
    export ORACLE_HOME
    PATH=$ORACLE_HOME/bin:$PATH
    export PATH
    logdir=/opt/oracle/logs
    log_file=$logdir/$prog.$sid.level${bk_level}.log.$rtime
    email_file="$logdir/$prog.email.$sid"
    cat /dev/null > $email_file
    box=`hostname`
    orauser=oracle
    bk_dir=/rman/backups/$sid
    echo "===== `date '+%Y%m%d %H:%M:%S'` $prog: Started =====" > $log_file
    backup_type="INCREMENTAL LEVEL $bk_level"
    # find $logdir -name $prog.*.log.* -type f -mtime +10 -exec /bin/rm -f {} \;
    # find $bk_dir -name ctl.* -type f -mtime +10 -exec /bin/rm -f {} \;
    echo "ORACLE_SID=$ORACLE_SID" >> $log_file
    echo "ORACLE_USER=$orauser" >> $log_file
    echo "ORACLE_HOME=$ORACLE_HOME" >> $log_file
    echo "BACKUP TYPE=$backup_type" >> $log_file
    return
    # backup database and archive logs to disk
    function backup_dbs_to_disk
    echo "===== Backup $sid to FRA Started At `date` =====" >> $log_file
    $ORACLE_HOME/bin/rman nocatalog << rman_cmd >> $log_file 2>&1
    connect target
         # se haran en el directorio sgte no en el FRA
         CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rman/backups/%U';
    #CONFIGURE CONTROLFILE AUTOBACKUP ON;
    run
    ALLOCATE CHANNEL ch1 TYPE disk ;
    BACKUP $backup_type
    filesperset 10
    DATABASE;
    sql 'alter system archive log current';
    BACKUP filesperset 10 ARCHIVELOG ALL DELETE ALL INPUT;
    sql "alter database backup controlfile to trace as ''$bk_dir/ctl.trc.$rtime''";
    sql "alter database backup controlfile to ''$bk_dir/ctl.$rtime'' reuse";
    RELEASE CHANNEL ch1;
    #CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    rman_cmd
    rc=$?
    if [ $rc != 0 ]
    then
    echo "Backup $sid to Disk Failed At `date`" >> $log_file
    echo "Backup $sid to Disk Failed At `date`" >> $email_file
    email_dba
    exit 1
    else
    echo "===== Backup $sid to Disk Completed At `date` =====" >> $log_file
    fi
    return
    # delete obsolete backups
    function del_obsolete_bk
    echo "===== Delete Obsolete Backups Started At `date` =====" >> $log_file
    $ORACLE_HOME/bin/rman nocatalog << rman_cmd >> $log_file 2>&1
    connect target
    ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE DISK;
    Report obsolete;
    delete force noprompt obsolete;
    rman_cmd
    rc=$?
    if [ $rc != 0 ]
    then
    echo "Delete Obsolete Backups Failed At `date`" >> $log_file
    echo "Delete Obsolete Backups Failed At `date`" >> $email_file
    email_dba
    exit 1
    else
    echo "===== Delete Obsolete Backups Completed At `date` =====" >> $log_file
    fi
    return
    # main program
    if [ $# -ne 2 ]
    then
    clear
    echo "\nIncorrect argument, ORACLE_SID Backup_Level needed\n"
    echo "\nUsage: $0 ORACLE_SID BACKUP_LEVEL(0/1)\n"
    return 1
    fi
    sid=$1
    bk_level=$2
    diff_cum=$3
    # prog=`basename $0`
    prog=rman_backup_dbs.sh
    export debug='N'
    if [[ $debug = 'Y' ]];then set -x;fi
    unset ORACLE_SID
    unset ORACLE_HOME
    unset SQLPATH
    ORACLE_SID=$sid
    export ORACLE_SID
    set_and_check
    backup_dbs_to_disk
    del_obsolete_bk
    echo "===== `date '+%Y%m%d %H:%M:%S'` $prog: Completed =====" >> $log_file
    subj="$sid@$box backup completed successfully at `date`"
    # while read dba_id
    # do
    # mailx -s "$subj" $dba_id < $log_file
    # done < /oracle/app/oracle/dba/util/backup/scripts/email_dba.list
    return 0
    # end program
    #############################################################################

  • Unable to allocate channel device type sbt

    Hi,
    This is my first post on this forum so please advice me if I do something stupid.
    This oracle instance is version: 11.2.0.1
    Running on RHEL 5.6
    So, my problem is that I can't allocate sbt channel/device to crosscheck archivelogs.
    We are using Symantec's Backup Exec to manage your backups, and by looking it's log's (attached below) this should work. What I'am missing?
    Command I'm trying to run:
    RMAN> allocate channel for maintenance device type stb;
    ORA-27211: Failed to load Media Management Library
    I have check't the libobk.so is link'd from $ORACLE_HOME/lib/libobk.so -> VRTSralus/bin/libobk.so.
    BE's log:
    RUN {
    ALLOCATE CHANNEL ch0
    TYPE 'SBT_TAPE';
    SEND '**************';
    BACKUP
    INCREMENTAL LEVEL=0
    FORMAT 'BE_U'
    DATABASE FORCE PLUS ARCHIVELOG FORCE NOT BACKED UP DELETE INPUT;
    BACKUP CURRENT CONTROLFILE
    FORMAT 'BE_U';
    RELEASE CHANNEL ch0;
    connected to target database: PROD
    using target database control file instead of recovery catalog
    allocated channel: ch0
    channel ch0: SID=3987 device type=SBT_TAPE
    channel ch0: Symantec/BackupExec/1.1.0
    sent command to channel: ch0
    Thanks for your help
    Kalle
    P.S. Moved from General questions to RMAN

    im not familiar with Symantec's Backup Exec, but i think you are missing the SEND part in your manual allocation (which is present in the backup log)
    You can specify media management parameters in RMAN backup and restore jobs by the following means:
        Environment variables, which are specified with the ENV parameter of the PARMS option on the CONFIGURE or ALLOCATE CHANNEL commands
        The RMAN SEND command

  • Error #1034 Type Coercion fail with registerClassAlias and nested Vectors

    I'm attempting to use flash.net.registerClassAlias and ByteArray.writeObject in order to serialize/deserialize data with static type information.  It works as you'd expect in the general case but I've run into problems with some nested Vectors that I don't understand.  Hopefully someone can point out if I'm just missing something.
    For what I understand, we must register both the scalar types and a one-deep specification of a Vector for that scalar type in order to use nested Vectors.  For example:
                flash.net.registerClassAlias("TestStructureInner", TestStructureInner);
                flash.net.registerClassAlias("VectorTestInner", Vector.<TestStructureInner> as Class);
    This should allow us to read/write objects of type TestStructureInner, Vector.<TestStructureInner>, and Vector.<Vector.<TestStructureInner>> into ByteArrays.  And in general it seems to work.
    Attached though is a simplified test case that fails, however.  The first time we deserialize the data it works.  The subsequent time, however, we encounter the following runtime error #1034.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fcb9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fbc9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fdd1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fce1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fbf1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fec1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fad9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fa61 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304f9e9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304f971 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    Re-registering the class aliases again via flash.net.registerClassAlias works in this test case but isn't 100% for our actual application (I'm reticent to even mention it but it seems relevant).  Is there a step I'm missing here?  Any light shed would be appreciated.
    // mxmlc -debug Test0.as
    package
        import Base64; // http://code.google.com/p/jpauclair-blog/source/browse/trunk/Experiment/Base64/src/Base64.a s
        import flash.net.registerClassAlias;
        import flash.events.Event;
        import flash.utils.ByteArray;
        import flash.display.Sprite;
        import flash.display.Stage;
        import flash.system.System;
        public class Test0 extends Sprite
            static private const OPERATION_SERIALIZE:uint = 0;
            static private const OPERATION_DESERIALIZE_AND_FAIL:uint = 1;
            static private const OPERATION_DESERIALIZE_AND_SUCCEED:uint = 2;
            static private var staticStage:Stage;
            private var bar:Vector.<TestStructure>;
    * common functions
            static private function registerClassAliases():void
                flash.net.registerClassAlias("TestStructureInner", TestStructureInner);
                flash.net.registerClassAlias("VectorTestInner", Vector.<TestStructureInner> as Class);
                flash.net.registerClassAlias("TestStructure", TestStructure);
            static public function staticDeserialize():Object
                var byteArray:ByteArray = Base64.decode("EBUAG1Rlc3RTdHJ1Y3R1cmUKEwAHZm9vEAEAH1ZlY3RvclRlc3RJbm5lcgoBEAEABAoBEAEABA oBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABA==");
                byteArray.position = 0;
                return byteArray.readObject();
            public function Test0():void
                registerClassAliases();
                // Switching operation between the constants demonstrates failure/success in a couple of different ways.
                // SERIALIZE is just used to prepare the base64 string for subsequent tests.
                var operation:int = OPERATION_SERIALIZE_AND_FAIL;
                if (operation == OPERATION_SERIALIZE)
                    trace("Serializing");
                    // outputs base64 string for subsequent tests
                    serialize();
                else if (operation == OPERATION_DESERIALIZE_AND_FAIL)
                    trace("Fail case");
                    // perform successful one deserialization, then one failing one.
                    deserializeOnceThenFail();
                else if (operation == OPERATION_DESERIALIZE_AND_SUCCEED)
                    trace("Success via re-registration");
                    // perform successful one deserialization, then another successful one.
                    deserializeOnceThenSucceed();
    * serialize
            // outputs base64 string we use for subsequent tests.
            private function serialize():void
                var baz:Vector.<TestStructure> = new Vector.<TestStructure>;
                for (var i:int=0; i<10; ++i)
                    baz.push(new TestStructure);
                var byteArray:ByteArray = new ByteArray;
                byteArray.writeObject(baz);
                trace(Base64.encode(byteArray));
    * deserializeOnceThenFail
            // perform successful one deserialization, then one failing one.
            public function deserializeOnceThenFail():void
                // save stage
                staticStage = stage;
                // the first deserialize will proceed without error.
                staticDeserialize();
                trace("Successful deserialize");
                // add an event listener in order to invoke error on subsequent frame
                stage.addEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenFail);
            // remove event listener and invoke again.
            static private function doEnterFrameOnceThenFail(e:Event):void
                staticStage.removeEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenFail);
                staticDeserialize();
                trace("unsuccessful deserialize2");
    * deserializeOnceThenSucceed
    * Here, we re-call flash.net.registerClassAlias on all our class types when running.
            // perform successful one deserialization, then one failing one.
            public function deserializeOnceThenSucceed():void
                // save stage
                staticStage = stage;
                // the first deserialize will proceed without error.
                staticDeserialize();
                trace("Successful deserialize");
                // add an event listener in order to invoke error on subsequent frame
                stage.addEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenSucceed);
            // remove event listener and invoke again.
            static private function doEnterFrameOnceThenSucceed(e:Event):void
                staticStage.removeEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenSucceed);
                registerClassAliases();
                staticDeserialize();
                trace("successful deserialize2");
    internal class TestStructureInner
              public var value:int;
    internal class TestStructure
              public var foo:Vector.<Vector.<TestStructureInner>> = new Vector.<Vector.<TestStructureInner>>;

    The error would imply that ImageAssetEvent does not inherit
    DisplayEvent. Either modify the inheritance chain or listen for a
    basic Event object (flash.events.Event) and cast inside the
    function.

  • ABAP list report wont print on Z device type with Z format

    Our developer have created a report which outputs data in ABAP list format and the standard format would not fit. We have since created a custom format and copied a device type in to custom device type. So we now have a custom format and custom device type. However when we print, it spools correctly and shows as green but the report wont print. The only thing that gets printed is
    "Sort criteria         AscdgDescndSubtotalGRAND  TOTAL  :               X                X     PROJ" "
    The abap list format is Z_100_500. Basically the report has 450 columns and hence we created this format.
    I am not sure what this means. I have been advised by SAP to follow instruction on note 17895 - Adapting print list formats for customers however i cant fully comprehend point 5 of the note and I believe this is why it wont print. Has anyone adapted ABAP list using this note. Can you please let me know how i should go about printer initialisation mentioned in the noted.
    We have checked everything however dont seem to get around the issue. Any ideas will be appreciated

    No comments

  • Error message: "The share operation Apple Devices 1080p has failed"

    Hey,
    I have a MacBook Air, OS X version 10.9.3, running Mavericks, with 1.7 GHz and 8 GB memory. I'm running FCPX 10.0.8.
    I've had no problems rendering and exporting all sorts of movies and short clips over the last few months, however every time I try to export my last clip, this message shows up after the clip is 10% done exporting: "The share operation Apple Devices 1080p has failed   QuickTime Error: - 50"
    I've already clicked on "prevent app nap" under Get Info for FCPX.
    Does anyone have any idea what's going on, or can offer a solution to this?
    Thanks so much!
    Terra

    Since you have already checked the Prevent App Nap box I assume you have seen this thread: https://discussions.apple.com/message/21920134#21920134
    Seems likely to me that either one of the files in your timeline is giving you trouble or a render in your timeline is giving you trouble. I sometimes randomly run in to export errors with transitions or titles. Sometimes removing the effect/title from the timeline, deleting the render files or copying and pasting the timeline in to a new project can fix it.

  • Help HP LaserJet 600 Device type

    Hello everyone,
    I've had a problem finding the device type for the following printers:
    -          HP LaserJet Enterprise 600 M601n
    -          HP LaserJet Enterprise 600 M603dn
    I've checked in HP web page, I've checked Note 8928 and still havent found the device types. Can anybody help me?
    Thanks,
    Beatriz

    Hello,
    Check the following link:
    http://h71028.www7.hp.com/enterprise/downloads/HPPrinterSAP-DT2011.pdf
    http://h71028.www7.hp.com/enterprise/cache/37011-0-0-225-121.html
    You can use Device type ZHPLJCM1, and also you can try device type SAPWIN.
    Regards,
    David

Maybe you are looking for

  • How to connect Slingbox to AEBS wirelessly?

    I recently switched from a Netgear wireless router to the AEBS. We have a mixed network with both PC's and Mac's. The only issue I currently have with the AE is that I can't use the Slingbox. The Slingbox is not in the same room with the AE - I had c

  • Exchange rate difference in MIGO and MIRO

    Dear Experts, Our local currency is INR. We have created PO and MIGO on 31.03.2015 with exchange rate 62.5908 without tick on fixed exchange rate in PO. OB08  is  also same on 31.03.2015. But at the time of MIRO system showing error massage for confi

  • Can a PDF of each web submission be sent to me when submitted

    We'd like an exact PDF of the form they filled out on the web sent to us so we can save it with their records as proof of orginal data submitted to us.  Possible?

  • Batch Tables Details Required

    Hi Team, Can you please provide me the table names where i can see the quantity against the batches in the goods movement? I checked with MCHB but i couldn't get the details for all the goods movement. This particular table is updating only when the

  • Syncing ITunes with My documents music folder....?

    Was just wondering if its possible to sync ITune with the music folder on my computer as it gets annoying having to add new music manually, especially as Windows media player does this automatically without causing duplicates...