Caucho Forums

Caucho Forums (
-   Hessian (
-   -   ArrayIndexOutOfBoundsException when communication is interrupted (

flavio.donze 07-25-2012 10:33 AM

ArrayIndexOutOfBoundsException when communication is interrupted

I'm using Riena ( to establish client server communication. Riena uses Hessian as protocol, version

In certain cases when, for example when the client machine goes into sleep mode. I get the following exception after the client tries to communicate with the server:

I would like to notify the user that the communication has been interrupted and that he has to restart the client.
Is there a nicer exception in a newer version or should I compose a feature request. I can't catch ArrayIndexOutOfBoundsException because it could be thrown from elsewhere as well.

Thanks for any help!

java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.remove( ~[na:1.6.0_33]
at ~[na:na]
at$CallState. next( ~[na:na]
at ~[na:na]
at ( ~[na:na]
at ~[na:1.6.0_33]
at ~[na:na]
at ~[na:na]
at ~[na:na]
at com.caucho.hessian.client.HessianProxy.invoke(Hess ~[na:na]
at $Proxy120.findById(Unknown Source) ~[na:na]

All times are GMT. The time now is 01:12 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.