On Nov 7, 3:38 am, ap...@[EMAIL PROTECTED]
wrote:
> On 31 Oct, 15:02, Mark Wales <wale...@[EMAIL PROTECTED]
> 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)
> > 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
> > > all. Here is some logging from the app:
>
> > > 14:37:52,625 [MKVxjThread] ERROR MKVxj.AppTemplate - Application
> > > initialise caused exception, error: null, application will now
exit..
> > > java.lang.NullPointerException
> > > at
> > > 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- Hide quoted text -
>
> - 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


|