[omniORB] Is this a Bug in OmniORB??

Ivanov, Roumen Roumen.Ivanov@drkw.com
Wed Aug 7 12:54:01 2002


Hi,
return
   Object::_nil();
instead.

On the other side check the returned value using 
   CORBA::is_nil(retval)

HTH,
Roumen

-----Original Message-----
From: S. Sahayaraj [mailto:ssahayaraj@quark.co.in]
Sent: Wednesday, August 07, 2002 12:46
To: omniorb-list@realvnc.com
Subject: [omniORB] Is this a Bug in OmniORB??


All,

I'm getting the exception if I returned the "NULL" value instead of actual
value from the function. 
 For example,
	The function signature would be like this :  
		Object getValue(int objectID), 

	but the actual implementation looks like as follows :
		Object getValue(int objectID)
		{
		 	return NULL; // It creates the problem while
marshalling.
		}	

	It gives the system exception while marshalling the returned "NULL"
value. Is anybody have any idea?.

--Sahay.		
 

_______________________________________________
omniORB-list mailing list
omniORB-list@realvnc.com
http://www.realvnc.com/mailman/listinfo/omniorb-list


If you have received this e-mail in error or wish to read our e-mail disclaimer 
statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ 
or contact the sender