Flex, ActionScript and Related Stuffs

Enjoy!!!!

An internal build error has occurred. Right-click for more information

Posted by flexrays on July 3, 2008

Error: An internal build error has occurred. Right-click for more information

I struggled finding the solution for this error. But you couldn’t guess!!  the solution is very simple

Search for a switch statement without any cases. For example:

switch(value)
{
//No cases

}

Remove that and recompile the application.
Boom!!!! The error disappears. It is as simple as that. I hope this is useful to you all.

7 Responses to “An internal build error has occurred. Right-click for more information”

  1. Dan said

    Thanx a lot!!!

  2. nsdevaraj said

    it happened for me even on some other occasions, that’s also bcos of Flex builder plugin bug. once you restart flex, that disappears on other cases.

  3. Mark said

    Wow, did you save my BUTT!! This was absolutely the problem and I would have wasted at least half a day to track it down, if not NEVER figuring it out! THANK YOU, THANK YOU, THANK YOU!!!!

  4. Demian Holmberg said

    While I have seen this happen, somethings, it seems that Flex Builder just pucks! If you add even a single space and re-save the file the error will often go away. At least it has in my experience.

  5. Dima said

    Thank you!!!!!!!!

  6. David Pinoshe said

    this also happened to me but the problem was that the bin-debug folder was in fact sitting on a mapped drive on another computer to which i wasn’t authenticated (due to a restart). Trying to write to that file location and failing, flex spat an internal build error…

  7. Amarghosh said

    Thanks a lot man.

    by the way, its a bug right?

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>