java.lang.IllegalAccessError [message #445261] |
Sun, 31 October 2004 04:25 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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> д
|
|
|
Powered by
FUDForum. Page generated in 0.03364 seconds