I'm starting to use the streaming capabilities in remoting. I think I hit a bug in StreamHandler. Here's the stack trace I am seeing:
| 22:08:56,632 ERROR [SocketServerInvokerThread-127.0.0.1-11] (org.jboss.remoting. | stream.StreamHandler) - Error reading with offset from client stream. | java.lang.ArrayIndexOutOfBoundsException | at java.lang.System.arraycopy(Native Method) | at org.jboss.remoting.stream.StreamHandler.read(StreamHandler.java:491) | at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) | at java.io.BufferedInputStream.read(BufferedInputStream.java:313) | at java.io.FilterInputStream.read(FilterInputStream.java:90) | ... | Looking at like 491: System.arraycopy(retBytes, 0, b, off, retByte); I find that in my instance, retByte is -1 (stepping thru it in the debugger). As per javadoc, an index OOB exception is thrown by arraycopy() if length is negative as the case is here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951816#3951816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951816 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
