Reputation: 5609
I have an application which runs OK at most sites. But one site, which is hosting the application on a Citrix Box appears to have a deadlock problem. I ran a profiler on the session and received a surprise. The statement causing the deadlock appears to be a statement which closes a JOptionPane dialogue box. Please see the enclosed display.
So I have three questions:
Thank you in advance for your help.
Elliott
Upvotes: 3
Views: 500
Reputation: 21995
Swing is not thread-safe. Perhaps your app is calling Swing GUI methods from outside of the Event Dispatch Thread.
If you can reduce this to a minimal sample that still reproduces the problem, you will either 1) find the cause yourself in the process, or otherwise 2) end up with a much greater chance of getting help from someone else.
Upvotes: 5
Reputation: 168825
Upvotes: 4