Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Corba > Re: NullPointer...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 514 of 543
Post > Topic >>

Re: NullPointerException during ORB_init

by apm35@[EMAIL PROTECTED] Nov 7, 2007 at 12:38 AM

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
 




 5 Posts in Topic:
NullPointerException during ORB_init
Mark Wales <wales.m@[E  2007-10-31 07:58:03 
Re: NullPointerException during ORB_init
Mark Wales <wales.m@[E  2007-10-31 08:02:55 
Re: NullPointerException during ORB_init
apm35@[EMAIL PROTECTED]   2007-11-07 00:38:29 
Re: NullPointerException during ORB_init
dsmoniker <dave@[EMAIL  2007-11-07 20:17:09 
Re: NullPointerException during ORB_init
Yakov Gerlovin <yakov.  2007-11-09 12:27:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 22:51:41 CDT 2008.