You probably have old jboss-2.4 client jars in your classpath or jre/lib/ext
There was an old bug in jnp where it would return null rather than throw
See "READ THIS FIRST" on how to debug.
You guessed right.
I works fine now.
Thank you very much for your prompt reply.
I've the same problem of Ibax.
I call a bean from jboss 3.2.5 to jboss 2.4.4 and naturally it doesn't work.
Now I update the client jar file in classpath (I've add to classpath new jar file and delete the old one). The application, go to error to :(
Perhaps I've to replace the old jar file?!!?!?
P.s. I've add client jar of jboss 3.2.5