0 Replies Latest reply on Dec 21, 2002 1:21 AM by shafique

    ExceptionInInitializerError on JBoss-3.0.4

    shafique

      I have encountered a problem with the recent JBOSS version.

      Exception: java.lang.ExceptionInInitializerError
      JBoss version: jboss-3.0.4_tomcat-4.1.12
      Jdk version: 1.3.1_02
      Server running : default mode

      Scenario:
      Client Codes invoking an EJB that caused the problem:
      UserProfileHome home =(UserProfileHome)
      PortableRemoteObject.narrow(objref,UserProfileHome.class);

      Resolved the error by replacing the above line with:
      UserProfileHome home = (UserProfileHome)objref;

      Thank you.