Re: 8.0.0-RC1: WebSocket Exception

2013-09-01 Thread Mark Thomas
On 31/08/2013 02:40, Igor Urisman wrote: That's correct. I call close() inside onOpen(). You correctly call onClose() on the endpoint as well, so my code is happy. But a thread of yours crashes milliseconds later. I have no problem changing my code to call close() after onOpen() returns, of

Re: 8.0.0-RC1: WebSocket Exception

2013-09-01 Thread Igor Urisman
Right on. Thank you both, Mark and Niki. -Igor. On Sun, Sep 1, 2013 at 3:00 AM, Mark Thomas ma...@apache.org wrote: On 31/08/2013 02:40, Igor Urisman wrote: That's correct. I call close() inside onOpen(). You correctly call onClose() on the endpoint as well, so my code is happy. But a

Re: 8.0.0-RC1: WebSocket Exception

2013-08-30 Thread Niki Dokovski
On Sat, Aug 31, 2013 at 12:33 AM, Igor Urisman igor.uris...@gmail.comwrote: Dear all, Getting the following exception with none of my code on the stack: SEVERE: Error reading request, ignored java.lang.IllegalStateException: The WebSocket session has been closed and no method (apart from

Re: 8.0.0-RC1: WebSocket Exception

2013-08-30 Thread Igor Urisman
That's correct. I call close() inside onOpen(). You correctly call onClose() on the endpoint as well, so my code is happy. But a thread of yours crashes milliseconds later. I have no problem changing my code to call close() after onOpen() returns, of course. But if you insist on this