Project: Eclipse_Platform_UI
Bug 55798 Activities UI synch needed
Reported: 2004-03-23 18:00:49 | Status: closed fixed

org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:2625) at org.eclipse.swt.SWT.error(SWT.java:2555) at org.eclipse.swt.widgets.Widget.error(Widget.java:377) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:307) at org.eclipse.swt.widgets.Menu.getItems(Menu.java:702) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:564) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:525) at org.eclipse.ui.internal.activities.ws.WorkbenchActivitySupport$1.activityManager Changed(WorkbenchActivitySupport.java:56) at org.eclipse.ui.internal.activities.AbstractActivityManager.fireActivityManagerCh anged(AbstractActivityManager.java:46) at org.eclipse.ui.internal.activities.MutableActivityManager.setEnabledActivityIds (MutableActivityManager.java:513) at org.eclipse.ui.internal.activities.ws.WorkbenchActivitySupport.setEnabledActivit yIds(WorkbenchActivitySupport.java:78) at org.eclipse.ui.internal.ide.IDEWorkbenchActivityHelper$3.resourceChanged (IDEWorkbenchActivityHelper.java:163) at org.eclipse.core.internal.events.NotificationManager$2.run (NotificationManager.java:255) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:638) at org.eclipse.core.runtime.Platform.run(Platform.java:497) at org.eclipse.core.internal.events.NotificationManager.notify (NotificationManager.java:248) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges (NotificationManager.java:142) at org.eclipse.core.internal.resources.Workspace.broadcastChanges (Workspace.java:154) at org.eclipse.core.internal.resources.Workspace.endOperation (Workspace.java:856) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1576) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1586) at com.ibm.wtp.common.operation.WTPOperation.run(WTPOperation.java:172) at com.ibm.wtp.j2ee.headless.tests.j2ee.operations.OperationTestCase.runAndVerify (OperationTestCase.java:61) at com.ibm.wtp.j2ee.headless.tests.j2ee.operations.OperationTestCase.runAndVerify (OperationTestCase.java:47) at com.ibm.wtp.j2ee.headless.tests.ejb.operations.CreateEJBTest.setup11Project (CreateEJBTest.java:46) at com.ibm.wtp.j2ee.headless.tests.ejb.operations.CreateBMPBeanTest.create11EntityM odel(CreateBMPBeanTest.java:37) at com.ibm.wtp.j2ee.headless.tests.ejb.operations.CreateBMPBeanTest.testSimple11Ent ity(CreateBMPBeanTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.swingui.TestRunner$16.run(TestRunner.java:623)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/ws/WorkbenchActivitySupport.java