spark客户端新创建账号报错
小弟刚刚接触openfire+spark
在eclipse搭建好环境后,spark客户端创建一个新账户时报如下异常,请各位大哥帮忙看看,小弟先谢谢各位。
org.jvnet.lafwidget.UiThreadingViolationException: Component state change must be done on Event Dispatch Thread
at org.jvnet.lafwidget.LafWidgetUtilities.testComponentStateChangeThreadingViolation(LafWidgetUtilities.java:593)
at org.jvnet.lafwidget.animation.FadeStateListener$1.stateChanged(FadeStateListener.java:232)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:333)
at javax.swing.DefaultButtonModel.setRollover(DefaultButtonModel.java:266)
at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2062)
at org.jivesoftware.AccountCreationWizard$3.construct(AccountCreationWizard.java:234)
at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-5" org.jvnet.lafwidget.UiThreadingViolationException: Component state change must be done on Event Dispatch Thread
at org.jvnet.lafwidget.LafWidgetUtilities.testComponentStateChangeThreadingViolation(LafWidgetUtilities.java:593)
at org.jvnet.lafwidget.animation.FadeStateListener$1.stateChanged(FadeStateListener.java:232)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:333)
at javax.swing.DefaultButtonModel.setRollover(DefaultButtonModel.java:266)
at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2062)
at org.jivesoftware.AccountCreationWizard$3.construct(AccountCreationWizard.java:234)
at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)
at java.lang.Thread.run(Thread.java:619)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也愁死了 ,无论下载 jar,还是源码运行 都连接不上tigase ,楼主解决了吗
很菜的问题,请大家伙帮忙看看,已经困扰我几天了,谢谢各位大哥!