0 Replies Latest reply on Mar 21, 2002 9:37 PM by Alex Rublin

    org.jboss.proxy.ClientContainer

    Alex Rublin Newbie

      Please help:
      simple client code:
      --
      Context ctx = getInitialContext();
      ManagementHome dmh = (ManagementHome)ctx.lookup("Management");
      Management dm = dmh.create();
      --
      causing exception (please see below) after create called
      What can be a reason???
      //
      [java] java.lang.NullPointerException
      [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:9
      6)
      [java] at $Proxy0.create(Unknown Source)
      [java] at DemoClient.main(Unknown Source)
      [java] at java.lang.reflect.Method.invoke(Native Method)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava
      .java:124)
      [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:305)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:127)

      [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:88)
      [java] at org.apache.tools.ant.Task.perform(Task.java:217)
      [java] at org.apache.tools.ant.Target.execute(Target.java:184)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:202)
      [java] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:560)

      [java] at org.apache.tools.ant.Main.runBuild(Main.java:454)
      [java] at org.apache.tools.ant.Main.start(Main.java:153)
      [java] at org.apache.tools.ant.Main.main(Main.java:176)