[jacorb-developer] ArrayIndexOutOfBounds with CDRInputStream

Nick Cross jacorb at goots.org
Tue Feb 5 16:29:27 CET 2013


This doesn't seem right but as to whether its an incorrect stream from 
omniORB or JacORB is misinterpreting its difficult to say. Have you 
tried debugging it with wireshark? Do you have a testcase to reproduce 
the problem? Have you tried interoperating using the same codesets with 
another ORB e.g. TAO or the Oracle Java ORB ?

Regards

Nick



On 05/02/13 15:00, Wilson Karen - karwil wrote:
> Has anyone run into an issue with getting an ArrayIndexOutOfBounds from CDRInputStream?  Here is the stack trace:
>
> 08:37:20,079 DEBUG [jacorb.giop.conn] read GIOP message of size 7235 from ClientGIOPConnection to 192.168.61.1:14226 (698b7565)
> 08:37:20,105 ERROR [com.company.beans.RC2ServiceAdapterBean] error in service: java.lang.ArrayIndexOutOfBoundsException: 15411
>         at org.jacorb.orb.CDRInputStream.readByte(CDRInputStream.java:1501) [:3.2  (Build December 7 2012 13:31:5)]
>         at org.jacorb.orb.giop.CodeSet$TwoByteCodeSet.read_wchar(CodeSet.java:818) [:3.2  (Build December 7 2012 13:31:5)]
>         at org.jacorb.orb.giop.CodeSet.readGiop12WString(CodeSet.java:598) [:3.2  (Build December 7 2012 13:31:5)]
>         at org.jacorb.orb.giop.CodeSet$TwoByteCodeSet.read_wstring(CodeSet.java:827) [:3.2  (Build December 7 2012 13:31:5)]
>         at org.jacorb.orb.CDRInputStream.read_wstring(CDRInputStream.java:1593) [:3.2  (Build December 7 2012 13:31:5)]
>
> We are using omniORB and have tried updating jacorb to 3.2 and are still experiencing the issue.
>
> Any assistance would be greatly appreciated!
> ***************************************************************************
> The information contained in this communication is confidential, is
> intended only for the use of the recipient named above, and may be legally
> privileged.
>
> If the reader of this message is not the intended recipient, you are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.
>
> If you have received this communication in error, please resend this
> communication to the sender and delete the original message or any copy
> of it from your computer system.
>
> Thank You.
> ****************************************************************************
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>



More information about the jacorb-developer mailing list