-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
5.0
-
sparc
-
solaris_1
*******************************************************************************
###@###.### 2003-03-14
build : /java/re/rip_int_generic/1.0/promoted/fcs/b02/binaries
Problem description:
This is a regression in ripint generic.
orb.resolve_initial_references("NameService") causes the IORInterceptors to be invoked. This does not happen with J2SE and ripint.
With some endtoend tests which creates POA with custom Policy the following statement returns null during orb.resolve_initial_reference("NameService") which eventually leads to a NPE.
policy = info.get_effective_policy(CheckPolicy.POLICY1);
java.lang.NullPointerException
at endToend.pi.perorb.share.server.IORInterceptorA.establish_components(IORInterceptorA.java:28)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.objectAdapterCreated(InterceptorInvoker.java:118)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.objectAdapterCreated(PIHandlerImpl.java:277)
at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:81)
at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:92)
at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:59)
at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1509)
at com.sun.corba.ee.impl.orbutil.ORBUtility.connectAndGetIOR(ORBUtility.java:731)
at com.sun.corba.ee.impl.orb.ORBImpl.getServantIOR(ORBImpl.java:850)
at com.sun.corba.ee.impl.protocol.ClientRequestDispatcherImpl.addServiceContexts(ClientRequestDispatcherImpl.java:630)
at com.sun.corba.ee.impl.protocol.ClientRequestDispatcherImpl.beginRequest(ClientRequestDispatcherImpl.java:237)
at com.sun.corba.ee.impl.protocol.ClientDelegateImpl.request(ClientDelegateImpl.java:124)
at com.sun.corba.ee.impl.resolver.BootstrapResolverImpl.invoke(BootstrapResolverImpl.java:78)
at com.sun.corba.ee.impl.resolver.BootstrapResolverImpl.resolve(BootstrapResolverImpl.java:112)
at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22)
at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22)
at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22)
at com.sun.corba.ee.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.java:1176)
at endToend.pi.perorb.inheritance.TransientServer.bindObject(TransientServer.java:163)
at endToend.pi.perorb.inheritance.TransientServer.run(TransientServer.java:75)
at endToend.pi.perorb.inheritance.TransientServer.main(TransientServer.java:41)
test :
attached with bug
*******************************************************************************
###@###.### 2003-03-14
build : /java/re/rip_int_generic/1.0/promoted/fcs/b02/binaries
Problem description:
This is a regression in ripint generic.
orb.resolve_initial_references("NameService") causes the IORInterceptors to be invoked. This does not happen with J2SE and ripint.
With some endtoend tests which creates POA with custom Policy the following statement returns null during orb.resolve_initial_reference("NameService") which eventually leads to a NPE.
policy = info.get_effective_policy(CheckPolicy.POLICY1);
java.lang.NullPointerException
at endToend.pi.perorb.share.server.IORInterceptorA.establish_components(IORInterceptorA.java:28)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.objectAdapterCreated(InterceptorInvoker.java:118)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.objectAdapterCreated(PIHandlerImpl.java:277)
at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:81)
at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:92)
at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:59)
at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1509)
at com.sun.corba.ee.impl.orbutil.ORBUtility.connectAndGetIOR(ORBUtility.java:731)
at com.sun.corba.ee.impl.orb.ORBImpl.getServantIOR(ORBImpl.java:850)
at com.sun.corba.ee.impl.protocol.ClientRequestDispatcherImpl.addServiceContexts(ClientRequestDispatcherImpl.java:630)
at com.sun.corba.ee.impl.protocol.ClientRequestDispatcherImpl.beginRequest(ClientRequestDispatcherImpl.java:237)
at com.sun.corba.ee.impl.protocol.ClientDelegateImpl.request(ClientDelegateImpl.java:124)
at com.sun.corba.ee.impl.resolver.BootstrapResolverImpl.invoke(BootstrapResolverImpl.java:78)
at com.sun.corba.ee.impl.resolver.BootstrapResolverImpl.resolve(BootstrapResolverImpl.java:112)
at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22)
at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22)
at com.sun.corba.ee.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:22)
at com.sun.corba.ee.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.java:1176)
at endToend.pi.perorb.inheritance.TransientServer.bindObject(TransientServer.java:163)
at endToend.pi.perorb.inheritance.TransientServer.run(TransientServer.java:75)
at endToend.pi.perorb.inheritance.TransientServer.main(TransientServer.java:41)
test :
attached with bug
*******************************************************************************