[jboss-user] [EJB 3.0] - "Could not deference object" when using jdk1.6 and Stateful

pesalomo do-not-reply at jboss.com
Tue Aug 15 08:44:12 EDT 2006


Hi,

I've noticed that if you try to lookup a Stateful session bean - e.g. the ShoppingCart from the JBoss EJB3 tutorial - using jdk1.6 - then you get the following exception..

Exception in thread "main" javax.naming.NamingException: Could not dereference object [Root exception is java.lang.reflect.UndeclaredThrowableException]

In fact this is the error you get when running the "run" target in the tutorial on 1.6.. 

Using jdk1.5 it works fine.

Anyone seen this. Is the error in JBoss or JDK1.6? Anyone reported this issue to Sun?

Best regards,

Peter Salomonsen

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965246#3965246

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965246



More information about the jboss-user mailing list