1 Reply Latest reply on Aug 14, 2002 10:25 AM by leela

    java.lang.ExceptionInInitializerError

    leela Newbie

      Hi.
      Iam using jboss-3.0.1RC1 and jdk1.3.1
      iam trying to make some calls on a Session bean from a simple java client.
      all of sudden i started getting an Error as below..

      -- Initializing bean access.
      before Initial Context
      after initial Context
      context is not null
      ctx.lookup()
      Exception in thread "main" java.lang.ExceptionInInitializerError
      at sun.rmi.runtime.Log$LoggerLogFactory.createLog(Log.java:155)
      at sun.rmi.runtime.Log.getLog(Log.java:121)
      at sun.rmi.server.LoaderHandler.(LoaderHandler.java:60)
      at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:629)
      at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
      at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
      a:200)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:150
      3)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      616)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:169)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:995)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:441)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:434)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at com.basystems.netman.cmmgr.BasEntityTestClient.(BasEntityTestCl
      ient.java:57)
      at com.basystems.netman.cmmgr.BasEntityTestClient.main(BasEntityTestClie
      nt.java:224)
      Caused by: java.lang.IllegalArgumentException: Null charset name
      at java.nio.charset.Charset.lookup(Charset.java:376)
      at java.nio.charset.Charset.isSupported(Charset.java:405)
      at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:67)

      at java.io.OutputStreamWriter.(OutputStreamWriter.java:93)
      at java.util.logging.StreamHandler.setOutputStream(StreamHandler.java:11
      6)
      at java.util.logging.StreamHandler.(StreamHandler.java:92)
      at sun.rmi.runtime.Log$InternalStreamHandler.(Log.java:261)
      at sun.rmi.runtime.Log$1.run(Log.java:169)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.runtime.Log$LoggerLog.(Log.java:165)
      ... 19 more


      Does any one has seen this.
      Response is appreciated

      Thanks.
      leela