[jacorb-bugs] [Bug 941] New: Enable to rewrite on a RequestOutputStream with big size

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Fri Feb 1 16:36:37 CET 2013


http://www.jacorb.org/cgi-bin/bugzilla/show_bug.cgi?id=941

           Summary: Enable to rewrite on a RequestOutputStream with big size
           Product: JacORB
           Version: 3.2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: ORB
        AssignedTo: jacorb-bugs at lists.spline.inf.fu-berlin.de
        ReportedBy: ze_corsaire at yahoo.fr


When we try to rewrite a big array octet on a RequestOutputStream using
write_octet_array method we have an exception later on writing this
RequestOutputStream on a connection.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
 at java.lang.System.arraycopy(Native Method)
 at java.io.BufferedOutputStream.write(Unknown Source)
 at org.jacorb.orb.etf.StreamConnectionBase.write
StreamConnectionBase.java:190)
at org.jacorb.orb.giop.GIOPConnection.write(GIOPConnection.java:949)
at org.jacorb.orb.CDROutputStream.write(CDROutputStream.java:450)
at
org.jacorb.orb.giop.ServiceContextTransportingOutputStream.write_to(ServiceContextTransportingOutputStream.java:143)
at
org.jacorb.orb.giop.RequestOutputStream.write_to(RequestOutputStream.java:309)
at org.jacorb.orb.giop.GIOPConnection.sendMessage(GIOPConnection.java:1060)

Problem is that, on method write_octet_array Jacorb always adds a new
DefferedWriteFrame whithout looking for writing current index.


-- 
Configure bugmail: http://www.jacorb.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the jacorb-bugs mailing list