[omniORB] Putting a Sequence into an Any and marshalling it
Sai-Lai Lo
S.Lo@orl.co.uk
27 Jul 1998 10:08:47 +0100
Gert,
Could you send me the bit of code you wrote which resulted in an exception?
I have your IDL from the list already.
Thanks,
Sai-Lai
"Gert Steenssens" <gsteenss@eps.agfa.be> writes:
> I've traced through the omniORB code again, and what I can say is that the
> Exception gets thrown in tcParseEngine.cc during a call to the
> ParseEngine::parseUnion(MemBufferedStream& outBuf) method which starts at line
> 714.
>
> The actual piece of code which generates the Exception is at
> line 833 -> 843 and looks like this:
>
> if (finalTCpos > 0)
> {
> setTCKind(finalTCK); setTCPos(finalTCpos);
> parseTC(outBuf);
> }
> else if(def >= 0 && defTCpos > 0)
> {
> setTCKind(defTCK);
> setTCPos(defTCpos);
> parseTC(outBuf);
> }
> else throw CORBA::MARSHAL(0,CORBA::COMPLETED_NO);
>
>
> I'm not sure if this helps you guys in locating the problem, but feel free to
> ask more info/code if required...
>
> Thx, for your effort.
--
Dr. Sai-Lai Lo | Research Scientist
|
E-mail: S.Lo@orl.co.uk | Olivetti & Oracle Research Lab
| 24a Trumpington Street
Tel: +44 223 343000 | Cambridge CB2 1QA
Fax: +44 223 313542 | ENGLAND