Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319437

Summary: [build] execute build model updates in UI thread
Product: z_Archived Reporter: Shawn Minto <shawn.minto>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.7   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Shawn Minto CLA 2010-07-09 17:41:12 EDT
-- Error Details --
Date: Fri Jul 09 14:38:14 PDT 2010
Message: Problems occurred when invoking code from plug-in: "org.eclipse.mylyn.builds.ui".
Severity: Error
Product: Eclipse SDK 3.6.0.v201006080911 (org.eclipse.sdk.ide)
Plugin: org.eclipse.mylyn.builds.ui
Session Data:
eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.sdk.ide -keyring C:\Eclipse\bootstrap.keyring
Command-line arguments:  -product org.eclipse.sdk.ide -data C:\workspaces\MYLYN-3.1-DEV-workspace/../3.1-bootstrap-mylyn-old -dev file:C:/workspaces/MYLYN-3.1-DEV-workspace/.metadata/.plugins/org.eclipse.pde.core/BOOTSTRAP/dev.properties -os win32 -ws win32 -arch x86 -keyring C:\Eclipse\bootstrap.keyring


Exception Stack Trace:
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4083)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.widgets.Display.error(Display.java:1249)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:755)
at org.eclipse.swt.widgets.Display.getSystemColor(Display.java:2305)
at org.eclipse.jface.action.StatusLine.updateMessageLabel(StatusLine.java:668)
at org.eclipse.jface.action.StatusLine.setMessage(StatusLine.java:546)
at org.eclipse.jface.action.StatusLine.setMessage(StatusLine.java:532)
at org.eclipse.jface.action.StatusLineManager.setMessage(StatusLineManager.java:271)
at org.eclipse.jface.action.SubStatusLineManager.setMessage(SubStatusLineManager.java:115)
at org.eclipse.mylyn.internal.builds.ui.view.BuildsView.updateDecoration(BuildsView.java:271)
at org.eclipse.mylyn.internal.builds.ui.view.BuildsView$1.notifyChanged(BuildsView.java:111)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:380)
at org.eclipse.mylyn.internal.builds.ui.view.RefreshAction$1.done(RefreshAction.java:40)
at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:646)
at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71)
Comment 1 Steffen Pingel CLA 2010-07-11 01:45:15 EDT
Fixed in head. Notifications should now be triggered on the UI thread.