Flex Builder java.lang.StackOverflowError uncaught exception in compiler

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.

Advertisement

1 Comment

Filed under Adobe, Flex

One Response to Flex Builder java.lang.StackOverflowError uncaught exception in compiler

  1. Craig Mc

    I ran the updates to remove that problem in Flex Builder 3, and sadly now using Flex 4 (flash builder)

    I am at random getting java.lang.StackOverFlowError when ever I switch view states. Its exceptionally anoying.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s