Flex Builder 3 – Internal Build Error bug
I’ve been struggling with a Flex Builder 3 bug for the last two days where an Error is dispalyed which rotates between:
An internal build error has occurred. Right-click for more information.
&
Classes must not be nested
..neither of which specify a file or line at which the error occurs. Very helpful.
This is not a new bug by any account and from my research seemed to be particularly prominent in Flex Builder 2. This article which lists a few of the reasons which this may happen is very useful and I’ve just noticed that in the comments there is the solution I was looking for. I however didn’t get that far through the comments and have had to painstakingly comment out my code, line by line until the error dissapeared. To add to the fun, it was a possibility that leaving comments within conditionals could have been the cause of the problem as well. Eventually I discovered that the cause of my bug was an empty switch statement:
switch(pageId){
}
…..why I dont’ know.
Anyway I thought I’d add to the documentation about this as it is a very annoying time consuming bug. I hope this will be resolved in Flash Builder!

Leave a Reply