Perhaps I also ought to add that if I get a vanilla ORB, i.e.
ORB.init() I see no exceptions. But when calling ORB.init(args, prop)
where args is null and prop contains the properties (including domain
dirs etc) it fails.
Thanks,
Mark Wales
> Perhaps I also ought to add that if I get a vanilla ORB, i.e.
> ORB.init() I see no exceptions. But when calling ORB.init(args, prop)
> where args is null and prop contains the properties (including domain
> dirs etc) it fails.
> > I get an NPE when I try to create my ORB - I'm pretty sure its going
> > to be down to some config error but the exception isn't helpful at
[quoted text clipped - 6 lines]
> > com.iona.corba.atli_protocol.ip.PerORBState.get_tcp_settings(Unknown
> > Source)
> > I'm using Orbix 6.1 on Linux.
>
> > Has anyone seen this before? Or have any ideas of where/how I could
> > find out more about why the exception is occurring?
I've not seen it before but a thought occurs (you may have tried this
already). How about passing an empty vector instead of null? Hopefully
that would make the problem go away.
-Andrew Marlow
dsmoniker - 08 Nov 2007 04:17 GMT
On Nov 7, 3:38 am, ap...@student.open.ac.uk wrote:
> > Perhaps I also ought to add that if I get a vanilla ORB, i.e.
> > ORB.init() I see no exceptions. But when calling ORB.init(args, prop)
[quoted text clipped - 22 lines]
>
> - Show quoted text -
It sounds like a configuration problem. Can you make sure you have
sourced your Orbix 6.1 domain environment script (this would have been
created by the itconfigure utility when you first created your
domain). If you run 'set | grep IT' you should see some IT_
environment variables.
Hope this helps,
/Dave
Yakov Gerlovin - 09 Nov 2007 12:27 GMT
> But when calling ORB.init(args, prop)
> where args is null and prop contains the properties (including domain
> dirs etc) it fails.
Have you tried passing null for prop parameter?
Please post the properties that cause NPE.