[omniORB] BAD_TYPECODE: Java <--> Python
Duncan Grisby
duncan at grisby.org
Tue Feb 10 17:38:51 GMT 2009
On Friday 6 February, entonh at gmx.de wrote:
> Here is an extract from the java implementation:
>
> public Any getVariable(String Name) throws Exception
> {
> try
> {
> Object[] objectArray = Server.getVariable(Name);
> org.omg.CORBA.Any aAny = orb.create_any();
> HelperJava.insertObjectArray(aAny, objectArray);
> return aAny;
> }
> catch (Exception e)
> {
> throw new Exception(e.getMessage());
> }
> }
>
> The message after calling getVariable by the python client sounds like:
>
> Exception: BAD_TYPECODE ... COMPLETED YES
>
> The idl was created before the programming started.
OK. You didn't answer the other part about the output from
-ORBtraceExceptions 1 . What does that say?
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list