0 Replies Latest reply on Aug 15, 2006 8:44 AM by pesalomo

    "Could not deference object" when using jdk1.6 and Stateful

    pesalomo

      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