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!


Gareth started with UVd in 2006 when he fulfilled a placement during his degree at Bournemouth University, being excitedly drawn to the fact that the 2 directors were called Kirsten and Sarah. Suffice to say when he arrived to find Kirsten a boy and Sarah had left, he was most disappointed. Nevertheless he has stayed with us since and is now addicted to installing and utilising new fangled 'things' and puts us all to shame with his enthusiasm…. only dampened when I have to sort out his computer viruses from said activity.

Search