2010.01.10...10:44 pm

Flex Builder java.lang.StackOverflowError uncaught exception in compiler

Jump to Comments

Just posting this here for someone who might be having the same problem in Flex Builder 3 (eclipse).   The problem shows up as an the following error in the eclipse log file “java.lang.StackOverflowError uncaught exception in compiler”.  You get to this after you have an error in the problems panel that says…. “An internal build error has occurred. Right-click for more information.” It also might show up as the following pop-up.

What I found was the problem was that I had a class that was extending another class explicitly  as in

package com.ohms.fp
{
   public class foo extends com.ohms.bp.bar
...
}

The issue I had was that even if this is the case I still needed to have the import….

package com.ohms.fp
    import com.ohms.bp.*;
{
   public class foo extends com.ohms.bp.bar
...
}

Once I fixed all these reference the error went away.

Leave a Reply