[omniORB] Re: "Any" problem
David Riddoch
djr@uk.research.att.com
Mon, 19 Apr 1999 14:47:28 +0100 (GMT)
Hi Marcel,
Thanks for the example code - I've managed to track down the problem. I'm
afraid its a bug in omniORB (all my fault). I've posted a report and patch
at:
http://www.uk.research.att.com/omniORB/bugs/53.html
Let me know whether or not this solves your problem ...
Cheers,
David
On Thu, 15 Apr 1999, Marcel Gebhard wrote:
>=20
> hello omni team,
>=20
> i noticed the following potential bug :
>=20
> i have a struct defined in IDL like listed bellow
>=20
> module Adt_Mmi_Data_Types
> {
>=20
> struct Vector_T {
> long X;
> long Y;
> long Z;
> };
>=20
> struct Pr_Plot_Rt {
> short Sensor_Id;
> short Scan_Rate;
> long Time;
> Vector_T Position;
> long Radial_Velocity;
> short Flags;
> };
>=20
> struct Mmi_Header_Rt {
> long Length;
> long Message_Id;
> long Source_Id;
> long Free;
> };
>=20
> struct PR_Plot_Message_Rt {
> Mmi_Header_Rt Header;
> short Nr_of_Plots;
> sequence<Pr_Plot_Rt> Plots;
> };
> };
>=20
>=20
> if i write this struct in an CORBA::Any variable and sent it to an CORBA =
object as an in=20
> parameter this error occurs.
>=20
> Invoking operation.
> Caught omniORB2 fatalException. This indicates a bug is caught within omn=
iORB2.
> Please send a bug report.
> The exception was thrown in file: ../giopClient.cc
> line: 184
> The error message is: GIOP_C::ReceiveReply() reported wrong request messa=
ge size.
>=20
>=20
>=20
> __ =20
> _________ / /\_________________________________
> / / \ Marcel Gebhard
> /_/ /\ \ PP Systemhaus GmbH=20
> __\ \ \/ / =20
> / /\\ \ / Address : Magirusstra=DFe 4
> / / \\ \ \ 89129 Langenau
> /_/ /\ \\ \ \ Phone : +49 7345 9669-27
> \ \ \/ / \_\/ Fax : +49 7345 9669-20 =
=20
> \ \ / mailto: MG@PP-Ulm.de
> \ \ \ http://www.pp-ulm.de
> ______\ \ \____________________________________
> \_\/
>=20