Problem during some matchs.

I am getting a random disconect error during some matchs, the error is something like (Java UI Error). Then I have to close the software and reconect but the error persists. Help? 

High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=40&t=13707