[omniORB] Sequence of Sequence of any

Kevin Wooten kwooten@itracs.com
Tue, 17 Jul 2001 10:15:10 -0700


When using -ORBtraceLevel 10 I can see that the client seems to be
throwing a BAD_PARAM exception itself, the server makes no mention of
actually throwing any exception. Here is the line from the client trace
about the exception being thrown:

omniORB: throw BAD_PARAM from exception.cc:450 (NO,0x00000000)

Does this help? Should I still post an example?

Regards,
Kevin

-----Original Message-----
From: Duncan Grisby [mailto:dgrisby@uk.research.att.com]
Sent: Monday, July 16, 2001 8:52 AM
To: Kevin Wooten
Cc: omniorb-list@uk.research.att.com
Subject: Re: [omniORB] Sequence of Sequence of any=20


On Thursday 12 July, "Kevin Wooten" wrote:

> typdef sequence<any> any_seq;
> typedef sequence<any_seq> anygrid;
>=20
> IDL lets me create it. I can fill up the structure on the server just
> fine. I can even use it in the function that filled it up, as a test.
> Although when I try to return it to the client, omniORB passes an
> exception to the client instead. Does anybody know why?

It certainly should work. What exception do you get? Try running with
-ORBtraceLevel 10 -- that will say where the exception is thrown. If
that doesn't help track it down, please post a minimal example program
which exhibits the problem.

Cheers,

Duncan.

--=20
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --