The Back Button

Adobe Flash Platform Commentaries and General Tech Rambling
  • Home
  • About
  • Contact Me
  • San Francisco Flash User Group

Crazy AS3 Runtime Error

Posted on November 20, 2007 under ActionScript, Brief, Code, MXNA, Random

In all the months I’ve been authoring ActionScript 3, I’ve never seen a runtime error as cool as this:http://thebackbutton.com/misc/best_stack_dump_ever.txt(note: some package/class names have been masked)I managed to get this error when I called a temperately disabled function, renderPlotsHandler(e:Event):void. And when I say disabled, I simply mean that I added a ‘return;’ to the first line of the function.So, I have no idea how I managed to get this error if the function did nothing?!Crazy :)

3 Comments so far

  1. ÐâŖк6 on November 20th, 2007

    So crazy the little bug.

  2. Peter Hall on November 21st, 2007

    You’ve hit a verify error. This happens when a compiler creates bytecode that cannot be verified at runtime. So it’s a bug with the compiler or with the verifier. In your case, it could be that the compiler is getting confused by the unreachable code in your function.

    I’m sure Adobe would find it helpful if you could send them the code that caused the error, or submit it to the bug tracker - http://bugs.adobe.com/flex/.

  3. Gust on March 2nd, 2008

    Ahaha I randomly read this post and a few minutes later encountered this errorspam a lot with break/continue.
    Curse you.

Posting your comment.

  • Recent Posts

    • AS4 Wish: Shorthand Eventing with Flows
    • Pixlr: An online PhotoShop
    • Thermo Fireworks
    • Congrats on shipping FP10 ‘dobe
    • Flash 9 Player on PLAYSTATION3
    • My Adobe MAX 2008 Schedule
    • Flash on the Cloud: Lightning
    • Current TV Flash Contest ($2500)
    • FlashForward Retrospective
    • 64 bit Linux / FreeBSD Flash Player exists
  • Author

    Profile
    Alex Bustin
    Senior Engineer of Flash Development at Sony Corporation of America, San Francisco.

    San Flashcisco Manager
    Adobe User Group Manager

    Blog Stats
    There are 65 Posts and 226 Comments so far.

  • Search

  • Networks

    Add to Technorati Favorites

    Alex's Linked In Profile

  • Archives

    • November 2008 (1)
    • October 2008 (5)
    • August 2008 (7)
    • July 2008 (1)
    • June 2008 (1)
    • May 2008 (6)
    • April 2008 (2)
    • March 2008 (4)
    • February 2008 (6)
    • January 2008 (6)
    • December 2007 (1)
    • November 2007 (9)
    • October 2007 (14)
    • September 2007 (2)
  • Tags

    • ActionScript (18)
    • Adobe (4)
    • Adobe MAX (1)
    • AIR (8)
    • Apple (4)
    • Brief (10)
    • Code (10)
    • Flash (26)
    • Flash 10 Tips (5)
    • Flex (9)
    • MXNA (64)
    • Opinion (4)
    • Papervision3D (4)
    • Personal (7)
    • Random (10)
    • San Flashcisco (16)
    • Tips (2)
  • Pages

    • About
    • Contact Me
    • San Francisco Flash User Group

Copyright © 2009 The Back Button
WordPress Theme | based on Light Theme | Thanks to Web Hosting by Micfo.