Strange Error - 5005: Unknown error optimizing byte code.

Hello flashcoders,
I am facing strange problem since long time. This error code
even doesn't exist in the list of error codes.
This is the exact error I am getting while I compile the FLA
from flash CS3.
Location : , Line 1
Description : 5005: Unknown error optimizing byte code.
Source :
I don't know exact reason about its generation, But here are
the some possible reasons / hints:
Case 1) Overloading:
1.1) Size of .fla is 10.5 MB and its document class contains
more than 60 classes to import and has more than 100 variables.
1.2) Even if I put In document class - only variable
initialization and class importing are there. Nothing in its
constructor + no other functions are defined. Still error is there.
1.3) If we import all classes and has all variables then it
gives this compile error. But if we remove some particular numbers
of variable, it's start working. In this we can remove any type of
variables.
1.4) After reducing variables, application starts working
till that it won't.
Case 2)
2.1) Size of .fla is 1.75 MB and its document class is same
as above one.
2.2) All assumptions are same as above.
2.3) Now this class contains all functions and have
initialization of all variables + classes.
2.4) In this If we remove 3-5 variables, it will start
functioning else it won't.
Its a huge application so I am even confused that what is the
cause of error and this error stopped our working for a week now.
Bit more information about the project that may help the team to
identify the reason.
1. Project development started with flash public alpha 3.
When we started using Flash CS3, we had some design problem if we
do open the FLA in CS3, so we completely redesigned the Movieclips
etc., in Flash
CS3 IDE.
2. Project contains approx 250 classes.
3. In main application, it imports 67 classes. (it works if I
keep 63 classes in document class).
4. In the case 3 above, if that works with 63 classes and If
I do add 3 frames in existing movieclip, it stops working.
5. In the case 3 above, if that works with 63 classes and If
I do add / declare few more variables, it stops working.
It would be humble appreciation if someone can come up with
some light in the dark tunnel.
Best Regards,
Ashvin Savani - "arckid"
Founder & CTO - Avinashi.com
Adobe Community Expert
We Never Give Up!

I've posted an article on this problem -
http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/
- and here are a few ideas on how to handle it (check out the
comments):
- try turning off the optimizer
- delete ASO files
- also it seems that changing the java vm heap memory size
could help (find he environment variables in the Windows computer
properties and search the JAVA_TOOL_OPTIONS variable)

Similar Messages

  • I'm getting "Publish Error - An unknown error occurred" in iWeb

    ....and it's killing me! My podcast has been MIA for over a week now. The link to my webpage is gone. I can't find any help here. When I try to publish my episodes, this is what I get: Publish Error - An unknown error occurred...
    I can't seem to find any advice anywhere on what to do about it. I've searched forums and tried reloading, refreshing, etc. Please help.
    Thanks!
    Bill

    Well, actually it is solved... I guess. My son wrote a page on a blog model, without no blog on it; I first removed all buttons that could call an RSS feed or podcasts from all the pages, the issue remained.
    The page in question displayed another error message in Safari, telling something was missing, and it was impossible to navigate the site via the menu banner; so I Cmnd-A the page, copied the whole stuff onto a brand new blank page, no success neither.
    Eventually, I rewrote the page from scratch, and it solved the issue. Perhaps somewhere on the former page a hidden button or a piece of code which put the mess... I dunnow. But it seems to be OK now.

  • Hi ....... SCardTransmit Error :(0000007A) Unknown Error

    Hi
    I am using ACOS CCID SDK , SMART CARD READER ACR 38 Reader, Acos3 Card .I created a user file(DD 11) with Write Command
    80 D2 00 00 07 08 01 00 00 DD 11 00
    it is succesful status
    After that i selected that file
    80 A4 00 00 02 DD 11
    Succesful Status
    After sucessful status i write data into that record as 01 02 03 04 05 06 07 08
    80 D2 00 00 08 01 02 03 04 05 06 07 08
    while in reading the data with the Read Command
    i am getting this SCardTransmit Error :(0000007A) Unknown Error
    Can one suggest me how to rectify error
    and just i am working with PCSC Tool
    I want to write code Which Methods are Required to Implement Simple Application in Java Card in ACOS3 sdk
    Cheers,
    Thanks for Concern
    Naveen.C

    I'm not sure what's going on here so I've forwarded this along to our DRM team.  Please be aware thought that Citrix is an unsupported platform.
    I'll let you know what I hear back.
    Thanks,
    Chris

  • TNS-12224: TNS:no listener - 32-bit Windows Error: 61: Unknown error

    Hi,
    I have a fresh install of 11.5.10.2 in windwos 2003 and I'm facing the following error in both nodes (1st node database, admin, cms (mcorafinbdcl)----- 2nd node forms and web (mcfinappcl) in 8.0.6 listener:
    Error when I start the lisneter manually or I do a status:
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=mcorafinbdcl)(Port=1626))
    TNS-12224: TNS:no listener
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    I have recreated the listener removing the srvice and doing a lsnrctl80 start APPS_D11i but still not working!
    Please help! Thanks

    Hi!
    The issue I'm facing it is vaery strange and partially fixed:
    1-) If you start the listener via script adalnctl.cmd or via command line "lsnrctl80 start APPS_D11i" it fails always.
    2-)If you start the apps listener via services, start --> Administrative tools --> Services. It works
    I'm connecting via terminal services, I have read somewhere that this could be an issue!
    As well and related with this issue, when I run autoconfig (in terminal services using remote desktop connection) it hangs in step:
    adsvalsn.cmd --> this command creates the apps listener
    And the autoconfig finish with error:
    adsvalsn.cmd INSTE8_APPLY -1
    Due this adpatch is giving me an error
    Thanks

  • I get error message "unknown error" When trying to log on to itunes via pc, help please!

    I get error message "unknown error" When trying to log on to itunes via pc, help please!

    Hello, trolle56.
    Thank you for the question.  You may find these articles helpful in troubleshooting the error received with the iTunes Store. 
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    Jason H. 

  • When updating my ipod Nano, I get the error message Unknown Error 9006. Any help is appreciated.

    When updating my iPod Nano, I get the error message: Unknown Error 9006.  Any help is appreciated. 

    See this
    http://support.apple.com/kb/TS3694#9006

  • Error An unknown error has occurred when adding email to Apple ID

    I am trying to merge two Apple ID's into one. On one I changed the primary email address to an unused email address so I can take the former primary email address and add that email adress to the second Apple ID. When I try to add the email address that used to be the primary email address of the first Apple ID to the second Apple ID (either as a change to the main email address or add a secondary email address) I get the error "An unknown error has occurred." When I go back into the first Apple ID it will add that original email address as a primary or secondary account without any issues. But I get the same error if I try and add that original email address to any other Apple ID (I even tried adding it to a third Apple ID). It would appear that an email address used as an Apple ID cannot be used with any other Apple ID account. Is that correct?

    Apple’s having trouble with the Mac App Store and iTunes App Store right now. Try again later.
    (123845)

  • ITunes error message -- Unknown error occurred (-42110)

    When I launch iTunes, I get the following error message -- Unknown error occurred (-42110). Not sure it affects iTunes operation. What can I do to make this go away? I have tried uninstalling/reinstalling iTunes.

    Try the following user tip:
    iTunes for Windows 11.0.2.25 and 11.0.2.26: "Unknown error -42110" messages when launching iTunes

  • I am not able to update newer version on my iphone. Getting error An unknown error occurred (-9808)., I am not able to update newer version on my iphone. Getting error An unknown error occurred (-9808).

    I am not able to update newer version on my iphone. Getting error An unknown error occurred (-9808). PLease provide solution for this. I have tried connection setting all in existing discussions. Still facing issues with update iOS.

    Hi there,
    I would recommend taking a look at the troubleshooting found in the article below.
    iTunes Store: "An unknown error occurred (-9808)"
    http://support.apple.com/kb/ts2753
    -Griff W.

  • Publish Error - An unknown error occurred.

    I have had an iWeb site published to Mobile Me (previously .Mac) for some time now. I have been doing updates recently, have added posts to a blog that was previously just a place holder, a new My Albums page with one album and made changes to my Welcome page. Over the last few days I have been getting this error when trying to publish the site "Publish Error - An unknown error occurred." and the blog entries, new My Albums page, new album and Welcome page will not publish to Mobile Me or local folder. These pages all remain red after attempting to publish them.
    I would really appreciate it if someone could help me through this problem. I have a new baby at home and I am really trying to get some photos etc online for my family to enjoy.

    I tried the suggestions on this support page with no luck.
    http://support.apple.com/kb/TS2588
    I am able to publish other parts of my site that are old. For example I moved one of my other sites on my iDisk and then republished it successfully. Note I have not modified the content of that site in some time.

  • 32-bit windows error: 65: unknown error

    dear DBAs I am getting following error
    32-bit windows error: 65: unknown error
    when I check the status of listeners using lsnrctl utility, can any one help me solve it, I am trying to configure shared server,
    the operating system is windows server 2003 and oracle version is 9.2
    regards
    asif

    try starting lister at cmd prompt instead of through services..
    set ORACLE_HOME and PATH and LD_LIBRARY_PATH and ORACLE_SID in your windows env
    and at command prompt
    run
    lsnrctl status
    lsnrctl start
    and analyse the output ..
    Also post it here for people to have a more detailed look
    Hopefully you will get a solution in the command prompt messages itself
    thanks
    Sunil

  • TNS-00511: No listener- 64-bit Windows Error: 61: Unknown error

    SO - windows 2008 server R2 standard
    I've install oracle 10g r2 - 10.2.0.4 ( with some problem - i have modified oraparam.ini to install - 6.1 )
    Now when i try to start listener but i have some problems :
    LSNRCTL> start
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    and
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.11)(PORT=1521
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    64-bit Windows Error: 61: Unknown error
    LSNRCTL>
    i can connect
    sqlplus / as sysdba
    i can't conn user/user@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.11)(PORT=1521))
    i don't have the service OracleOraDb10g_home1TNSListener

    Windows 2008 R2 version is not yet certified for Oracle products by Oracle.
    You need reconsider your decision of using this operating system or switch to a certified combination.

  • HT1491 When I try to download a song from iTunes or try to buy an App, or even purchase an extra set of lives on Candy Crush (!), I get an error message - 'Unknown Error'. Anybody have any ideas?

    When I try to download a song from iTunes or try to buy an App, or even purchase an extra set of lives on Candy Crush (!), I get an error message - 'Unknown Error'. Anybody have any ideas?

    Try this and see if it helps. Refresh your iTunes account. Sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to purchase again.

  • Airport Express and iTunes give error: 'An unknown error (-15006) occurred while connecting to the AirPlay device'

    Hi guys & girls,
    Yesterday I bought an Airport Express 802.11n (1st generation); solely for the purpose of listening to my music without connecting any cables to my speakers.
    I've done the set-up (i.e. linked the AE to my existing network without any Ethernet) and connected the AE to my speakers, and the light turns green. However, when I try to make a connection in iTunes to the base station, I get the following error: 'An unknown error (-15006) occurred while connecting to the AirPlay device “Base Station 5bf269”.'
    I'm quite a noob with computers and the technical aspects, however, I normally get around by googling and trying out some things. I've tried the following things already:
    - Downloaded Airport Utility 5.6 to change the IPv6 to Host (Configuration is set on automatic)
    - Firmware update for the Airport Express to 7.6.1
    My iTunes version is 10.6.3, am using MacBook Pro Mac OS X 10.7.4. I really have no clue what could be wrong and how to fix this. I'm only sitting 2 meters away from the AE so it cannot be about the range. Can someone help me please?
    Thanks!!

    No more need for an answer... the problem has been solved!

  • 64-bit Windows Error: 61: Unknown error

    Hi all,
    I have install 10.2.0.4 64 bit on windows 2008 64 bit. But i am running in to problem with listener:
    Please help:
    my listener.ora fiel:
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = servername)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ETEST)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1\)
    (SID_NAME = ETEST)
    Tnsnames.ora:
    ETEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = servername)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ETEST)
    error
    1)
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=server1.NTS.rethi.com)(P
    ORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    64-bit Windows Error: 61: Unknown error
    2)
    and for tnsping from my computer:
    TNS12535 TNS: operation timeout.

    hi,
    yes.
    I get
    TNS-12560: TNS: protocol adaper error
    TNS-00530: Protocol adapter error.
    and in status it gives:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=server1.NTS.rethi.com)(P
    ORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    64-bit Windows Error: 61: Unknown error
    Thanks

Maybe you are looking for