]
Brian Stansberry reopened JBAS-4616:
------------------------------------
This change got dropped during the transition to the external naming project.
NamingContext lookupLink() does not acquire stub to server Naming
service
-------------------------------------------------------------------------
Key: JBAS-4616
URL:
http://jira.jboss.com/jira/browse/JBAS-4616
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Naming
Affects Versions: JBossAS-4.2.1.GA, JBossAS-4.2.0.GA, JBossAS-5.0.0.Beta2,
JBossAS-4.0.5.GA
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-5.0.0.CR1
org.jnp.interfaces.NamingContext.lookupLink(Name) does not invoke the checkRef() method
before invoking on the stub to the server-side Naming object. The checkRef() method is
what actually contacts the JNDI server to download the stub.. Result of this is an NPE
will be thrown if an earlier call hasn't downloaded the stub before lookupLink() is
called.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: