Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » java.lang.IllegalAccessError
java.lang.IllegalAccessError [message #445261] Sun, 31 October 2004 04:25 Go to next message
Eclipse UserFriend
Originally posted by: outzzang95.hotmail.com

during my work,
java.lang.IllegalAccessError has been occurred frequently not continuous.

public UserComp extends Composite {
public UserComp() {
...
Group group = new Group(this, SWT.NONE);
}
}

It also has been occured in this example...
How can i do?^^
Re: java.lang.IllegalAccessError [message #445266 is a reply to message #445261] Mon, 01 November 2004 06:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: liankun_mail.21cn.com

You can find your error is caused by following source code:
if (display.thread != Thread.currentThread ()) error
(SWT.ERROR_THREAD_INVALID_ACCESS);
,That's means you access the composite by invalid thread, you can use the
Display.asynExec(Runnable *) to resolve your problem.



"outzzang" <outzzang95@hotmail.com> д
Re: java.lang.IllegalAccessError [message #445267 is a reply to message #445261] Mon, 01 November 2004 06:08 Go to previous message
Eclipse UserFriend
Originally posted by: liankun_mail.21cn.com

You can find your error is caused by following source code:
if (display.thread != Thread.currentThread ()) error
(SWT.ERROR_THREAD_INVALID_ACCESS);
,That's means you access the composite by invalid thread, you can use the
Display.asynExec(Runnable *) to resolve your problem.



"outzzang" <outzzang95@hotmail.com> д
Previous Topic:Image Fill
Next Topic:how to enable keybord nav with celleditor
Goto Forum:
  


Current Time: Sun Nov 29 00:27:06 GMT 2020

Powered by FUDForum. Page generated in 0.01990 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top