Hello,
I have the following class as part of a package named gridmanager:

public class Test {
  public void test() throws Exception{
    Service s=new Service();
  }
}

In my webservice I import the package gridmanager and have the following code:

Test t=new Test();
t.test();

when I call the web service I get a NullPointerException,
with the following stack trace:
org.apache.axis.client.Service.getEngineConfiguration(Service.java:812)
org.apache.axis.client.Service.getAxisClient(Service.java:103)
org.apache.axis.client.Service.(Service.java:112)
gridmanager.Test.test(Test.java:8)
...

line number 8 in Test.java corresponds to the line:
Service s=new Service();
But if I try to create the Service object directy inside
the web service the exception does not occur.
I'm using axis 1.3 with tomcat 5.5.12 and java 1.4.2_03-b02.
Have you any idea of what is wrong?

thank you
Ivano Talamo

Reply via email to