![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
UDIG 1.2.2, UDIG 1.3.x |
|
Assignee:
|
Frank Gasdorf
|
|
Components:
|
application, framework |
|
Created:
|
05/Sep/12 8:05 AM
|
|
Description:
|
org.eclipse.swt.SWTException: Invalid thread access
The Bundle-ClassLoader (which isn't the same) creates an instance of ProjectUIPlugin. Doing so, an instance of FeatureEditorExtensionProcessor (and FeaturePanelProcessor in 1.3.x) is created which accesses PreferenceStore.
Eclipse PreferenceStore internal calls Display.getDefault() which creates a new Display in the current Thread ![]()
Its a common pattern to initialize UI Stuff lazy or make use of UIJobs to get it synced with the UI Thread (if the Workbench is created).
In general, if working with Display its recommend to user
PlatformUI.getWorkbench().getDisplay()
once the Workbench has been created.
|
|
Project:
|
uDIG
|
|
Priority:
|
Critical
|
|
Reporter:
|
Frank Gasdorf
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel