-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.0.1 Final
-
None
Creating a subcontext from a servlet failes with a ClassCastExeception.
java.lang.ClassCastException
at org.jboss.util.property.PropertyMap.remove(PropertyMap.java:198)
at org.jnp.interfaces.NamingContext.getEnv(NamingContext.java:1299)
at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:867)
at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:858)
at javax.naming.InitialContext.createSubcontext(InitialContext.java:413)
The debugger shows a CompoundName instance for the value jnp.parsedName instead of a String. I was unable to create a testcase because I don't know how to place the CompoundName instance this far.
Will examine the issue more closely.
- is related to
-
JBAS-1497 org.jboss.util.property.PropertyMap remove has invalid assumption of String values
- Closed