I have a server with a definition like this:
From a Ruby, if I establish a connection to the IndicatorBase and attempt to pass an Ice::ObjectPrx as the argument, I get this error:Code:interface IndicatorBase { void setForwardingProxy(Object* proxy); };
($ic is my Ice::Communicator instance)Code:>> t1.setForwardingProxy( $ic.stringToProxy("Foo") ) NameError: uninitialized constant Ice::ObjectPrx::ICE_TYPE from (eval):657:in `invoke' from (eval):657:in `setForwardingProxy' from (irb):12
Note that it works fine if I pass a derived type:
I downgraded to 3.2.0 to see it might be a regression, but I get the same thing in both 3.2.0 and 3.2.1 IceRuby.Code:>> t1.setForwardingProxy( $cs ) => nil >> $cs.class => Gina::DerivedClassPrx
Thanks!

Reply With Quote