Assertion failed when using show() of MemberChooser

When I use show() of MemberChooser, this message will occurs.
code :
MemberChooser dialog = new MemberChooser(dialogFields, true, true, project);
dialog.show();

message :
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:54)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:31)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:77)

Is there any body help me solving this problem?
thanks

1 comment

You probably show it inside write-action. But we should a message into the
assertion to make this clear.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Alex" <linyu.alex@msa.hinet.net> wrote in message
news:32219799.1066724851632.JavaMail.itn@is.intellij.net...

When I use show() of MemberChooser, this message will occurs.
code :
MemberChooser dialog = new MemberChooser(dialogFields, true, true,

project);

dialog.show();

>

message :
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:54)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:31)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:77)

>

Is there any body help me solving this problem?
thanks

>


0

Please sign in to leave a comment.