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 2 of 5 Topic 514 of 538
Post > Topic >>

Re: NullPointerException during ORB_init

by Mark Wales <wales.m@[EMAIL PROTECTED] > Oct 31, 2007 at 08:02 AM

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

On Oct 31, 2:58 pm, Mark Wales <wale...@[EMAIL PROTECTED]
> wrote:
> I've spent ages searching on Google and several newsgroups for an
> answer but sadly with no success.
>
> 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)
>         at
> com.iona.corba.atli_protocol.ip.PerORBState.load_configuration(Unknown
> Source)
>         at com.iona.corba.atli_protocol.ip.PerORBState.<init>(Unknown
> Source)
>         at com.iona.corba.iiop.IIOPPerORBState.<init>(Unknown Source)
>         at com.iona.corba.iiop.IIOPPlugIn.ORB_init(Unknown Source)
>         at com.iona.corba.art.artimpl.ORBDelegate.init_plugin(Unknown
> Source)
>         at
> com.iona.corba.art.artimpl.ORBDelegate.set_parameters(Unknown Source)
>         at com.iona.corba.art.artimpl.ORBImpl.set_parameters(Unknown
> Source)
>         at org.omg.CORBA.ORB.init(ORB.java:337)
>
> 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?
>
> Thanks all,
>
> Mark Wales
 




 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 Sat Jul 5 15:01:39 CDT 2008.