Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 84150 Details for
Bug 209830
NullPointerException thrown
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch trhowing SWTException
throwInvalidThreadAccess (text/plain), 1012 bytes, created by
Manuel Selva
on 2007-11-30 04:59:16 EST
(
hide
)
Description:
Patch trhowing SWTException
Filename:
MIME Type:
Creator:
Manuel Selva
Created:
2007-11-30 04:59:16 EST
Size:
1012 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/DeferredUpdateManager.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/DeferredUpdateManager.java,v >retrieving revision 1.23 >diff -u -r1.23 DeferredUpdateManager.java >--- src/org/eclipse/draw2d/DeferredUpdateManager.java 8 Feb 2007 15:06:10 -0000 1.23 >+++ src/org/eclipse/draw2d/DeferredUpdateManager.java 30 Nov 2007 09:55:52 -0000 >@@ -16,6 +16,8 @@ > import java.util.List; > import java.util.Map; > >+import org.eclipse.swt.SWT; >+import org.eclipse.swt.SWTException; > import org.eclipse.swt.graphics.GC; > import org.eclipse.swt.widgets.Display; > >@@ -236,6 +238,10 @@ > * @since 3.2 > */ > protected void sendUpdateRequest() { >+ Display dis = Display.getCurrent(); >+ if (dis == null) { >+ throw new SWTException(SWT.ERROR_THREAD_INVALID_ACCESS); >+ } > Display.getCurrent().asyncExec(new UpdateRequest()); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ahunter.eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 209830
: 84150