[omniORB] INV_OBJREF instead of OBJECT_NOT_EXIST
Duncan Grisby
dgrisby@uk.research.att.com
Tue, 13 Nov 2001 09:56:48 +0000
On Monday 12 November, "Matthew N. White" wrote:
[...]
> }catch(const CORBA::Exception& e){
> const CORBA::SystemException * se;
> if((se = CORBA::OBJECT_NOT_EXIST::_downcast(&e)) != 0){
Any particular reason you are catching by the Exception base class,
rather than explicitly catching OBJECT_NOT_EXIST? It's not relevant
to your problem, but it's a bit odd to do it that way.
> The problem is that sometimes an INV_OBJREF is thrown, and I don't
> expect this, only a OBJECT_NOT_EXIST exception. I didn't have this
> problem with omniORB 3.0.3 and omniNotify 1.1beta. In Henning and
Please run your program with -ORBtraceLevel 10. That will show where
the INV_OBJREF was thrown from, which should help narrow it down.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --