-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
None
-
1.2.1
-
sparc
-
solaris_2.6
Here's the customer report.
--------------
I have a problem with the "DSML Context". The description of this
problem follows:
This problem is very difficult to explain !
I'll give you an example, it's easier :
I create a "DSML Context" from an environment :
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.dsml.DsmlCtxFactory");
env.put("com.sun.jndi.dsml.ignoreContentType", "true");
env.put(Context.PROVIDER_URL,"file:///c:/Base2.xml");
my context :
DirContext ctx = new InitialDirContext(env);
After, I get the schema definition :
DirContext schema = ctx.getSchema("");
It works, I can manipulate this "schema" context.
and I close this context : schema.close();
After, I start again getting the schema :
DirContext schema2 = ctx.getSchema("");
and I do : System.out.println("Schema : " + schema2.toString());
There is an exception : NullPointeurException !!
is it normal ??
--------------
I have a problem with the "DSML Context". The description of this
problem follows:
This problem is very difficult to explain !
I'll give you an example, it's easier :
I create a "DSML Context" from an environment :
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.dsml.DsmlCtxFactory");
env.put("com.sun.jndi.dsml.ignoreContentType", "true");
env.put(Context.PROVIDER_URL,"file:///c:/Base2.xml");
my context :
DirContext ctx = new InitialDirContext(env);
After, I get the schema definition :
DirContext schema = ctx.getSchema("");
It works, I can manipulate this "schema" context.
and I close this context : schema.close();
After, I start again getting the schema :
DirContext schema2 = ctx.getSchema("");
and I do : System.out.println("Schema : " + schema2.toString());
There is an exception : NullPointeurException !!
is it normal ??