Flash Builder fails to start

25 Oct

Flash Builder fails to start

After upgrading my Mac to Mountain Lion, I keep having problems with the machine not going to sleep as it should. Instead, some process (that I never started) hangs the machine at full load. I usually find my machine with the fans blowing hot air and in an unrecoverable crash state. Many of my friends have the same problems with Mountain Lion, but I've found that the problem disappears if I unplug my external screen before putting it to sleep? I dunno why, but this works.

Anyway - yesterday I for got to unplug the screen and upon rebooting I could no longer start Flash Builder. It took a while to Google the correct result so here's the quickfix and link. If Flash Builder 4.5, 4.6, 4.7 or any other version fails to restart, it's usually your workspace that have become corrupted. The fix is simple. Open a terminal window and navigate to your workspace directory. In this folder, there is a hidden directory called .metadata. This is what is corrupt. Solve the issue by changing the name like this:

mv .metadata .metadata.old

On next restart, Flash Builder (or rather Eclipse) will recreate this file. Unfortunately it won't restore your projects so you'll have to manually import these again. There's also a more complex option for the command-line savvy. 

25 October 2012 at 8:06 am

1 Responses to Flash Builder fails to start

  1. avatar photo
    Hans Magnus Nedreberg 19 November 2012 at 4:05 pm #

    I actually had to do the following workaround from http://forums.adobe.com/thread/1022320:

    Make sure you are connected to the internet.
    Launch a regular CS6 product other than Acrobat or Flash Builder (for example: Photoshop, After Effects, Premier Pro, InDesign, Flash Professional, Illustrator, Dreamweaver.)
    Click on Help->Deactivate .
    Deactivate the application. Quit application.
    Launch a regular CS6 product other than Acrobat or Flash Builder (for example: Photoshop, After Effects, Premier Pro, InDesign, Flash Professional, Illustrator, Dreamweaver.)
    Accept Eula.
    Register trial by signing in. Let the app launch.
    Quit and relaunch the app. Wait for UI to come.
    Click on License This Software button on the UI.
    Click on Sign in .
    Serial number screen will come
    Enter the serial number in the serial number screen and click Next.
    Close the app if its still running
    Relaunch the app while connected on the internet .

    Quite intense, but the .metadata renaming didn’t do it this time smile

  2.