🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.object.corba
1 messages
1 total messages Started by Ashwani Kalra Fri, 21 Sep 2001 10:08
poa.getPolicy() giving null pointer exception
#60
Author: Ashwani Kalra
Date: Fri, 21 Sep 2001 10:08
20 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads