ArrayIndexOutOfBoundsException after connection was interrupted [message #899004] |
Mon, 30 July 2012 06:39 |
Flavio Donze Messages: 211 Registered: July 2009 Location: Switzerland |
Senior Member |
|
|
Hello
I'm using Riena to establish client server communication.
In certain cases, 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!
Flavio
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.remove(ArrayList.java:390) ~[na:1.6.0_33]
at com.caucho.hessian.io.HessianDebugState.popStack(HessianDebugState.java:103) ~[na:na]
at com.caucho.hessian.io.HessianDebugState$CallState.next(HessianDebugState.java:1540) ~[na:na]
at com.caucho.hessian.io.HessianDebugState.next(HessianDebugState.java:93) ~[na:na]
at com.caucho.hessian.io.HessianDebugInputStream.read(HessianDebugInputStream.java:106) ~[na:na]
at java.io.InputStream.read(InputStream.java:160) ~[na:1.6.0_33]
at com.caucho.hessian.io.Hessian2Input.readBuffer(Hessian2Input.java:2644) ~[na:na]
at com.caucho.hessian.io.Hessian2Input.read(Hessian2Input.java:2624) ~[na:na]
at com.caucho.hessian.io.Hessian2Input.startReply(Hessian2Input.java:386) ~[na:na]
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:218) ~[na:na]
at $Proxy120.findById(Unknown Source) ~[na:na]
....
Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03552 seconds