After importing Flex 3 projects into FlashBuilder 4 and working succesfully for a while - 30 minutes or so - FB4 gets into a bad state where it does not recover. It starts to hang for minutes at a time, and is generally unresponsive. If I restart FB4, it comes up with the error "Could not create the view: Could not initialize class com.adobe.flexbuilder.util.logging.GlobalLog", leaving FB4 in an unusable state.
I've seen the problem described at http://uicomponent.com/blog/?p=292 . I tried the solution also described at that url, but it didn't work for me. I also tried uninstalling then reinstalling FB4, but I end up with the same problem. How do I recover from this?
Here is a section in my FB4 log showing an exception...
---------------------------------------------------------------------------------
!ENTRY org.eclipse.ui 4 0 2010-10-19 14:47:18.677
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: Could not initialize class com.adobe.flexbuilder.util.logging.GlobalLog)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.adobe.flexbuilder.util.logging.GlobalLog
at com.adobe.flexbuilder.project.actionscript.ActionScriptCore.getProject(ActionScriptCore.j ava:443)
at com.adobe.flexbuilder.project.FlexProjectManager.getActionScriptOrFlexProject(FlexProject Manager.java:642)
at com.adobe.flexbuilder.project.ui.decorators.ActionScriptApplicationBasicDecorator.getActi onScriptProject(ActionScriptApplicationBasicDecorator.java:123)
at com.adobe.flexbuilder.project.ui.decorators.ActionScriptApplicationBasicDecorator.getProj ectDecoratedImage(ActionScriptApplicationBasicDecorator.java:172)
at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor.getProjectDecoratedTitleImage (CodeAndDesignEditor.java:1288)
at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor$5.run(CodeAndDesignEditor.jav a:1265)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 22 more