Article View: comp.object.corba
Article #60poa.getPolicy() giving null pointer exception
From: Ashwani Kalra
Date: Fri, 21 Sep 2001 10:08
Date: Fri, 21 Sep 2001 10:08
20 lines
1642 bytes
1642 bytes
Hi,
I am getting null pointer exception at the following line
poa._get_policy(ID_ASSIGNMENT_POLICY_ID.value).policy_type();
java.lang.NullPointerException
at com.inprise.vbroker.qos.PolicyHelper.<init>(PolicyHelper.java:32)
at com.inprise.vbroker.orb.DelegateImpl.policyHelper(DelegateImpl.java:1231)
at com.inprise.vbroker.orb.DelegateImpl.get_policy(DelegateImpl.java:1155)
at org.omg.CORBA.portable.ObjectImpl._get_policy(ObjectImpl.java:188)
at Server.main(Server.java:16)
What I am trying is to print the various policy values with my customised POA.
Can anybody tell why I am getting this error.
My platform is win200,Visbroker for java(4.5)
TIA
Ashwani
Technical Details
Message-ID:
<e33c2814.0109210208.63481b6c@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f753e,7ca378594f491055,start X-Google-Attributes: gidf753e,public X-Google-Thread: 109156,7ca378594f491055,start X-Google-Attributes: gid109156,public X-Google-ArrivalTime: 2001-09-21 03:08:16 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: ashwani_kalra@yahoo.com (Ashwani Kalra) Newsgroups: comp.object.corba,borland.public.visibroker Subject: poa.getPolicy() giving null pointer exception Date: 21 Sep 2001 03:08:15 -0700 Organization: http://groups.google.com/ Lines: 20 Message-ID: <e33c2814.0109210208.63481b6c@posting.google.com> NNTP-Posting-Host: 203.122.29.68 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1001066895 13200 127.0.0.1 (21 Sep 2001 10:08:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Sep 2001 10:08:15 GMT