]
Carlo de Wolf commented on JBAS-4461:
-------------------------------------
null is a valid argument for obj.
(
new InitialContext().rebind("x", null) throws
NullPointerException
------------------------------------------------------------------
Key: JBAS-4461
URL:
http://jira.jboss.com/jira/browse/JBAS-4461
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Naming
Affects Versions: JBossAS-5.0.0.Beta2
Reporter: Carlo de Wolf
Assigned To: Scott M Stark
Priority: Critical
String name = "DeepEnvEntryTest";
getInitialContext().rebind(name, null);
java.lang.NullPointerException
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:505)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:480)
at javax.naming.InitialContext.rebind(InitialContext.java:367)
at
org.jboss.ejb3.test.ejbthreeXXX.unit.DeepEnvEntryTestCase.test0(DeepEnvEntryTestCase.java:51)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: