dev@glassfish.java.net

Re: Problem in running appserv-tests/devtests/webservices/annotations/warservice

From: Deepa Singh <Deepa.Singh_at_Sun.COM>
Date: Tue, 20 Sep 2005 22:08:27 -0700

Hi Changshin
Tests under devtests are developer unit tests , and might not be update
to do.You will need to check with component owner to verify it. I am
the contact person for maintaining tests run as part of nightly build.
Do let me know me know if you are having difficulty in running those
tests. They are under appserv-test/sqetests
Changshin Lee wrote:

> Hi,
>
> I successfully deployed the endpoint in the case, but met the
> following error message in run-client:
>
> run-client:
> [unjar] Expanding: D:\java\workspace\glassfish\appserv-tests\lib
> \reporter.ja
> r into D:\java\workspace\glassfish\appserv-tests\build\module\classes
> \client
> [exec] java.lang.NullPointerException
> [exec] at client.Client.doTest(Client.java:27)
> [exec] at client.Client.main(Client.java:21)
> [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0
> (Native Method)
> [exec] at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAcces
> sorImpl.java:39)
> [exec] Value of key is:war-with-endpointimpl-only
> [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMet
> hodAccessorImpl.java:25)
> [exec] at java.lang.reflect.Method.invoke(Method.java:585)
> [exec] at
> com.sun.enterprise.util.Utility.invokeApplicationMain(Utility
> .java:249)
> [exec] at com.sun.enterprise.appclient.Main.<init>
> (Main.java:661)
> [exec] at com.sun.enterprise.appclient.Main.main(Main.java: 170)
>
> The line is
>
> Hello port = service.getHello();
>
> so, it's obviously due to service's null value, which should be
> populated from @WebServiceRef annotation.
>
> Thanks for your help and comment in advance,
>
> Ias
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>