1 2 Previous Next 20 Replies Latest reply on Nov 26, 2008 3:38 AM by Daniel Bevenius

    ClassNotFoundException again

    Pekka Rantanen Newbie

      Hi,

      sortof an old problem but a bit different.

      Again, an RCP client and JbossESB. Now, we don't use any JMS, only ESB. An exception is thrown at initialisation of ServiceInvoker

      java.lang.NullPointerException
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:65)
      at org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:69)
      at org.jboss.soa.esb.services.registry.RegistryFactory.getRegistry(RegistryFactory.java:56)
      at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:220)
      at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:428)
      at org.jboss.soa.esb.client.ServiceInvoker.(ServiceInvoker.java:155)
      at org.jboss.soa.esb.client.ServiceInvoker.(ServiceInvoker.java:136)
      at org.jboss.soa.esb.client.ServiceInvoker.(ServiceInvoker.java:178)
      at com.auguris.haruspex.test.MessageUtil$MessageThread.run(MessageUtil.java:248)
      at java.lang.Thread.run(Unknown Source)
      15:15:11,765 ERROR [MessageUtil] Invocation exception. null

      The code at "MessageUtil.java:248" is ServiceInvoker invoker = new ServiceInvoker( category, service ); where category and service are Strings and are not empty.

      The class is in the jbossesb-rosetta.jar which is in the class path. Any suggestions? :)

        1 2 Previous Next